- Change
www-data
home dir to something like/var/lib/www-data
- Generate ssh key pair and place in
/var/lib/www-data/.ssh/id_rsa
- Add ssh key to GH account
- Configure git username and email
- Set permissions on blog dir to allow
www-data
to write - Set git remote url to use ssh protocol
This file contains 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
Warning: You passed `--cc=llvm_clang`. | |
You will encounter build failures with some formulae. | |
Please create pull requests instead of asking for help on Homebrew's GitHub, | |
Twitter or any other official channels. You are responsible for resolving | |
any issues you experience while you are running this | |
unsupported configuration. | |
==> Downloading https://github.com/magnumripper/JohnTheRipper/commit/a537bbca37c1c2452ffcfccea6d2366447ec05c2.patch?full_index=1 | |
Already downloaded: /Users/jamison/Library/Caches/Homebrew/downloads/fc0fb54eb1fa3fbdeee5e66657a359b92fb70ef353363d810b02f25e0dfe4bb8--a537bbca37c1c2452ffcfccea6d2366447ec05c2.patch | |
==> Downloading https://github.com/magnumripper/JohnTheRipper/commit/4844c79bf43dbdbb6ae3717001173355b3de5517.patch?full_index=1 |
This file contains 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
{ | |
"name": "Slate Test Pool", | |
"description": "Testing really cool things", | |
"ticker": "SL8", | |
"homepage": "https://slatepool.io" | |
} |
This file contains 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
{ | |
"name": "Slate Pool", | |
"description": "Stake different", | |
"ticker": "SLATE", | |
"homepage": "https://slatepool.io" | |
} | |
This file contains 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 | |
while :; do | |
echo "Proxy run" | |
ssh -NT -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -i $SSH_KEY -R 1234:localhost:22 USER@REMOTE | |
echo "End loop backoff (30s)" | |
sleep 30 | |
done |
This file contains 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 | |
function findInArray() { | |
local n=$# | |
local value=${!n} | |
for ((i=1;i < $#;i++)) { | |
if [[ ${!i} == ${value} ]]; then # was == ${value}:* | |
echo "${!i}" | |
return 0 | |
fi |
This file contains 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
# ... | |
# This is for what I would consider a standard setup, where TTY's 1 -- 6 are | |
# "linux" terminals and TTY's 7+ are reserved for X windows. You should adjust | |
# it to your setup, accordingly. | |
# | |
# ::: Important ::: You must have both fbterm and screen installed and on your | |
# path for this to work. | |
case $(tty) in /dev/tty[0-6]*) |
This file contains 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
// Disable bold. | |
term_.prefs_.set('enable-bold', false) | |
// Solarized Dark | |
term_.prefs_.set('background-color', "#002b36"); | |
term_.prefs_.set('foreground-color', "#839496"); | |
term_.prefs_.set('cursor-color', "rgba(147, 161, 161, 0.5)"); | |
// Solarized Light | |
//term_.prefs_.set('background-color', "#fdf6e3"); |
This file contains 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
.terminal { | |
background-color: #300A24 !important; | |
border: #300A24 solid 5px; | |
} |
This file contains 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
" set noautofocus | |
let searchalias g = "google" | |
let blacklists = ["https://mail.google.com/*","*://mail.google.com/*","@https://mail.google.com/mail/*","https://koding.com/*"] | |
let mapleader = "," |
NewerOlder