I hereby claim:
- I am dannymcc on github.
- I am dmcc (https://keybase.io/dmcc) on keybase.
- I have a public key ASCaikJT8WxLbn8dslsCM8oQeuKNx52qdB7JxGyqMHCWkQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ "$1" == "new" ]; then | |
FILENAME=$(date +"%d.%m.%Y") | |
vim $FILENAME && | |
mcrypt -u $FILENAME | |
else | |
if [ $# -eq 1 ]; then | |
PTEXT=$(cat $1 | mcrypt -d) && | |
echo $PTEXT | vim -R - | |
else |
servers = ( | |
{ | |
address = "irc.mikezauner.com"; | |
chatnet = "zl4u"; | |
port = "6697"; | |
autoconnect = "yes"; | |
use_ssl = "yes"; | |
}, | |
{ | |
address = "irc.freenode.net"; |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
I hereby claim:
To claim this, I am signing this object:
These are notes for myself on the crouton setup for my chromebook
Hold Power+ESC+Refresh, then let go of the power, when the OS verification warning screen appears enter Ctrl-D
Follow the instructions here to download the latest version of https://goo.gl/fd3zc.
========================================== ========================================== | |
TMUX COMMAND WINDOW (TAB) | |
========================================== ========================================== | |
List tmux ls List ^a w | |
New -s <session> Create ^a c | |
Attach att -t <session> Rename ^a , <name> | |
Rename rename-session -t <old> <new> Last ^a l (lower-L) | |
Kill kill-session -t <session> Close ^a & |
#!/bin/bash | |
# -------------------------------------------------------------------------------------------- | |
# Installs Ruby 2.4 using rbenv/ruby-build on the Raspberry Pi (Raspbian) | |
# | |
# Run from the web: | |
# bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) | |
# -------------------------------------------------------------------------------------------- | |
# Welcome message |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: GPGTools - https://gpgtools.org | |
mQENBFOI3nkBCACc+5potLpy55GgSggBMYCTHFYww/wQnbRUilIe5wv7SXZ+RBrv | |
eXv+JIuUpa5w/rr5CZP2rF1fLE57djfkveEguwemMrEKbLRB+I4w6CpkzyntrBIK | |
YNXUYlY9H1B7XwnhL0JUxS/K7ocUPQ+16STRxGxWzl/uKwrWs8+DRcKNOmGMd82Z | |
1gK89pKghCTXtFijZvWeC+BP/UIlPtioQO0qH7fy0LnByW01z2HKHV5DF/ujeWTA | |
uYUDRnR/Ma/uNaNGozNF8NZxPNz9B4vhevNUuMbNSwc1bBxgrGs4xXDxzXOQeXuH | |
34z6uhZkKlsUaRaVQehdWvZIot9nPrjkJmsXABEBAAG0I0Rhbm55IE1jQ2xlbGxh | |
bmQgPGRhbkBkYW5ueXdlYi5uZXQ+iQE9BBMBCgAnBQJTiN55AhsDBQkHhh+ABQsJ |
echo " | |
clear | |
echo "$(tput setaf 1) | |
_____ _ _ _ _ _____ _ _ _____ _ _ _ | |
| | |_| | |___ ___ ___ ___| |_ | _ |___|_|_____ ___| | | | |___ ___ ___|_| |_ ___| | | |
| | | | | _| _| -_|_ -| _| | | | | | .'| | | | . |_ -| . | | _| .'| | | |
|__|__|_|_|_|___|_| |___|___|_| |__|__|_|_|_|_|_|_|__,|_| |__|__|___|___| _|_|_| |__,|_| | |
|_| " | |
let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)" |