$ rm -rf .git
$ git init
$ git add .
$ git commit -m "Initial commit"
$ git remote add origin <github-uri>
$ git push -u --force origin master
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
| # Network | |
| wifi: | |
| ssid: !secret wifi_ssid | |
| password: !secret wifi_password | |
| domain: !secret wifi_domain | |
| fast_connect: true | |
| power_save_mode: none # <-- helps reduce latency | |
| id: wifi_id | |
| ap: | |
| password: !secret wifi_ap_password |
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 | |
| # regenerate list of prime numbers to replace pre-generated list | |
| # marginally increases security of key exchange protocols | |
| # this will take hours or possibly days | |
| ssh-keygen -M generate -O bits=8192 moduli-8192-regenerated.candidates | |
| # verify regenerated list of primes are valid and not inherently weak | |
| ssh-keygen -M screen -f moduli-8192-regenerated.candidates moduli-8192 | |
| # replace the original /etc/ssh/moduli file | |
| cp moduli-8192 /etc/ssh/moduli | |
| rm moduli-8192 |
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
| // .stglobalignore | |
| // Syncthing Ignore Patterns - https://docs.syncthing.net/users/ignoring.html#patterns: | |
| // Useful .stignore Patterns - https://goo.gl/DVHI1h | |
| // Usage: Add the line below to all .stignore files for each Syncthing node | |
| // #include .stglobalignore | |
| // Incomplete Downloads | |
| // Firefox downloads | |
| *.part |
Install xz with homebrew:
brew install xz
Insert the SD and get the device name for the SD with df:
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
/dev/disk1 487867392 157859992 329495400 33% 2352643 4292614636 0% /
devfs 373 373 0 100% 647 0 100% /dev
map -hosts 0 0 0 100% 0 0 100% /net
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
| spoof |
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
| ack | |
| atk | |
| autoconf | |
| automake | |
| bash | |
| berkeley-db | |
| boost | |
| cairo | |
| cmake | |
| cppunit |
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
| 1password | |
| android-file-transfer | |
| appcleaner | |
| applepi-baker | |
| arduino | |
| atom | |
| bankid | |
| beaconscanner | |
| blender | |
| brave |
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/env python3 | |
| # -*- coding: utf-8 -*- | |
| # pylint: disable=line-too-long | |
| def function_template(first_argument, second_argument=None, *args, **kwargs): | |
| """Summary description of function. | |
| Extended description of function. | |
| Args: |
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
| import sys | |
| def question_yes_no(question, default="yes"): | |
| """Asks yes/no question using input() function and returns the answer | |
| Args: | |
| str: "question" text presented to user | |
| str: "default" the presumed answer if the user just hits <Enter> | |
| Returns: |
NewerOlder