This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| python -m venv . --without-pip --system-site-packages | |
| source ./bin/activate | |
| curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
| python get-pip.py | |
| rm get-pip.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use File::Path qw(make_path); | |
| use File::Copy qw(move); | |
| # Script version number | |
| my $VERSION = "1.1.16-2024.08.12.00.00"; | |
| # Initialize default minimum group size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: esp-sniffer | |
| friendly_name: esp-sniffer | |
| includes: std_includes.h | |
| esp32: | |
| board: esp32-s3-devkitc-1 | |
| framework: | |
| type: arduino |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: esp32-c3 | |
| friendly_name: esp32-c3 | |
| esp32: | |
| board: esp32-c3-devkitm-1 | |
| framework: | |
| type: arduino | |
| # Enable logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**************************************************************************** | |
| * | |
| * $RCSfile: grifcat.c,v $ | |
| * | |
| * grifcat - Griffin Powermate cat | |
| * Original Author: Caskey Dickson <caskey@technocage.com> 2005-07-09 | |
| * Copyright 2005 TechnoCage, Inc. All Rights Reserved | |
| * $Id: grifcat.c,v 1.5 2005/08/31 20:04:48 caskey Exp $ | |
| * | |
| * This program is free software; you can redistribute it and/or |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| FILENAME="`hostname -s`-`cut -d' ' -f1 /etc/version`-`date +%Y%m%d`.db" | |
| #echo $FILENAME | |
| cp /data/freenas-v1.db /mnt/data/truenas/$FILENAME | |
| echo "Backup $FILENAME created" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # the auth token that Truenas generates is just too damn short | |
| sed -ie 's/auth.generate_token",\[300/auth.generate_token",\[129600/g' /usr/share/truenas/webui/*js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add to git: | |
| # git config --global core.excludesfile ~/.gitignore | |
| # VIM: Temperory files | |
| *~ | |
| # VIM: Swap-files | |
| [._]*.s[a-w][a-z] | |
| [._]s[a-w][a-z] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: esp-camera | |
| esp32: | |
| board: esp32cam | |
| framework: | |
| type: arduino | |
| # Enable logging | |
| logger: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script produces a CA with a restraint that it can only create certificates under a specific domain. | |
| # The last 5 lines install the CA where mkcert will make use of it as the root CA ( OSX specific at the moment ) | |
| gTLD="${gTLD:-localhost}" | |
| declare -x HOST_COMMON_NAME | |
| #export exampleIP=192.0.2.2 | |
| force=false | |
NewerOlder