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
cat ~/.ssh/id_rsa.pub | ssh user@host 'cat >> ~/.ssh/authorized_keys' |
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
wc -l `find . -iname "*.php"` |
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
nav.main-menu | |
a.nav-articles href="/" Articles | |
a.nav-portfolio href="/portfolio" Portfolio | |
a.nav-projects href="/projects" Projects | |
a.nav-speaking href="/speaking" Speaking | |
a.nav-about href="/about" About | |
a.nav-contact href="/contact" Contact |
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 | |
# Simply point your virtualhost to the GIT_WORK_TREE below, with "/build" appended. (ex: /path/to/webroot/example.com/build) | |
# This is how I manage all of my sites. I highly recommend this setup. | |
GIT_WORK_TREE=/path/to/webroot/example.com # Set this to your webroot path (sans build) | |
export GIT_WORK_TREE | |
git checkout -f | |
# Enter Directory |
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
sudo yum install git-core curl make bzip2 gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel libxslt-devel sqlite sqlite-devel openssl openssl-devel |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | |
"RealTimeIsUniversal"=dword:00000001 |
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 | |
#----------------------------------------------------------------------- | |
# Add User Script | |
#----------------------------------------------------------------------- | |
# Create directory | |
mkdir -p /var/www/$1 | |
# Add account | |
useradd -s/bin/sh -b/var/www -gwww-users $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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Play/Pause on Print</name> | |
<identifier>private.play_pause_on_printscreen</identifier> | |
<autogen>__KeyToKey__ KeyCode::F13, ConsumerKeyCode::MUSIC_PLAY</autogen> | |
</item> | |
<item> | |
<name>Enqueue play/pause Everywhere!</name> |
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
ALEX(8) World Wide Web Person Manual ALEX(8) | |
NAME | |
Alex Blackie -- web developer at MetaLab | |
USAGE | |
twitter(1) - @alexblackie | |
email(1) - alex@alexblackie.com | |
gpg(1) - http://pgp.mit.edu/pks/lookup?op=get&search=0xF6AA8E960D9F7F9F | |
ssh(1) - http://key.alexblackie.com/ |
OlderNewer