Skip to content

Instantly share code, notes, and snippets.

View autoferrit's full-sized avatar

Shawn McElroy autoferrit

View GitHub Profile
@autoferrit
autoferrit / tmux-cheatsheet.markdown
Created November 15, 2017 17:42 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@autoferrit
autoferrit / myweechat.md
Created June 2, 2017 23:11 — forked from pascalpoitras/config.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf

#|/bin/bash
#
# use:
# $ ./archify image.jpg [blurring] [logowidth]
# blurring is an integer from 0 (no) to 8 (thick greasy lens)
# logowidth is in pixels
#
bg=$1
blur=${2:-0}
logowidth=${3:-350}
@autoferrit
autoferrit / style_guide.md
Created August 23, 2012 05:17 — forked from dominictarr/style_guide.md
style guide

High level style in javascript.

Opinions are like assholes, every one has got one.

This one is mine.

Punctuation: who cares?

Punctuation is a bikeshed. Put your semicolons, whitespace, and commas where you like them.

@autoferrit
autoferrit / password.py
Created March 14, 2012 18:32 — forked from nigelbabu/password.py
Generate random password
#!/usr/bin/python
import string
from random import choice
print ''.join([choice(string.letters + string.digits + string.punctuation) for i
in range(15)])
@autoferrit
autoferrit / php password generator
Created March 13, 2012 20:16 — forked from bendo01/php password generator
php password generator
<?php
substr( str_shuffle( 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$' ) , 0 , 10 );
?>
@autoferrit
autoferrit / programmer_prayer.txt
Created April 21, 2011 06:49 — forked from jperras/programmer_prayer.txt
The programmer's prayer.
Our root,
who art in Unix,
hallowed be thy shell.
Thy kernel come.
Thy commands be run
@localhost as they are in iNet.
Give us this day our daily updates,
And forgive us for our four-oh-threes,
as we forgive those who 403 against us.
And lead us not into segfaults,