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
I'm firewall'ed, but I obviously open port 22 for remote login! | |
I found out getpwnam() is a PERL script | |
Never knew you could run scripts at login prompt... OpenSSHd hole? :S | |
WTF !?!? | |
SCARY! | |
############ | |
8/3/09 10:47:55 PM com.apple.SecurityServer[22] getpwnam() failed for user kevin, creating invalid credential | |
8/3/09 10:47:55 PM com.apple.SecurityServer[22] getpwnam() failed for user kevin, creating invalid credential |
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
/* `HTML5 Reset | |
----------------------------------------------------------------------------------------------------*/ | |
a, | |
abbr, | |
address, | |
article, | |
aside, | |
audio, | |
b, |
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
# | |
# Timeout: The number of seconds before receives and sends time out. | |
# | |
Timeout 180 | |
# | |
# KeepAlive: Whether or not to allow persistent connections (more than | |
# one request per connection). Set to "Off" to deactivate. | |
# | |
KeepAlive On |
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
= Ruby Packaging Standard | |
The aim of this document is to specify a common structure of how a | |
Ruby package distributed as source (that is, but not limited to, | |
development directories, version-controlled repositories, .tar.gz, | |
Gems, ...) should conform to. | |
(See RFC 2119 for use of MUST, SHOULD, SHALL.) | |
== Library files |
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
# Application Generator Template | |
# Modifies a Rails app to use Mongoid, Devise, jQuery, Haml | |
# Usage: rails new app_name -m http://gist.github.com/raw/452364/gistfile1.txt | |
# More info: http://github.com/fortuity/rails3-mongoid-devise/ | |
# If you are customizing this template, you can use any methods provided by Thor::Actions | |
# http://rdoc.info/rdoc/wycats/thor/blob/f939a3e8a854616784cac1dcff04ef4f3ee5f7ff/Thor/Actions.html | |
# and Rails::Generators::Actions | |
# http://github.com/rails/rails/blob/master/railties/lib/rails/generators/actions.rb |
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
// Goes through the links in my navigation and compares their own 'href' with the current URL | |
// Really handy and I'm sure I'll reuse hence posting it here. ;) | |
// Thank you to Paul Irish (#jquery @ freenode.net) for the indexOf recommendation! ;) | |
$('nav ul li a').each(function() { | |
if (location.pathname.indexOf($(this).attr('href')) > -1 ) { | |
$(this).addClass('active'); | |
} | |
}); |
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
levifig@aragorn ~ % brew install mysql | |
==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.12.tar.gz | |
File already downloaded in /Users/levifig/Library/Caches/Homebrew | |
==> Downloading patches | |
==> Patching | |
patching file scripts/mysqld_safe.sh | |
Hunk #1 succeeded at 555 (offset 172 lines). | |
patching file scripts/mysql_config.sh | |
Hunk #1 succeeded at 137 (offset 5 lines). | |
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.12 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/my |
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
levifig@aragorn ~/Workspace/SYSTEM/SRC/mysql-5.5.14 % make | |
Scanning dependencies of target INFO_BIN | |
[ 0%] Built target INFO_BIN | |
Scanning dependencies of target INFO_SRC | |
[ 0%] Built target INFO_SRC | |
Scanning dependencies of target abi_check | |
[ 0%] Built target abi_check | |
[ 1%] Generating common.h | |
[ 1%] Generating help.c | |
[ 1%] Generating help.h |
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
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential | |
apt-get -y install git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
# Add rbenv to the path: |
OlderNewer