This file contains hidden or 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
# gcc et al | |
yum update | |
yum groupinstall "Development Tools" | |
yum install gcc-c++ patch readline readline-devel zlib zlib-devel | |
yum install libyaml-devel libffi-devel openssl-devel make | |
yum install bzip2 autoconf automake libtool bison iconv-devel | |
# rvm, rails | |
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - | |
curl -L get.rvm.io | bash -s stable |
This file contains hidden or 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
# shell aliases | |
alias ll='ls -laG' | |
alias so='. ~/.bashrc' | |
alias grep="grep --color" | |
# prompt | |
PS1='\[\e[0;32m\]\u@\h\[\e[0m\] \[\e[0;33m\]\W \$\[\e[0m\] ' | |
# source keybpard bindings | |
bind -f ~/.inputrc |
This file contains hidden or 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
# ctrl arrow bindings | |
"\e[1;5C": forward-word | |
"\e[1;5D": backward-word | |
"\e[5C": forward-word | |
"\e[5D": backward-word | |
"\e\e[C": forward-word | |
"\e\e[D": backward-word |
This file contains hidden or 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
[ui] | |
username = cdgz <[email protected]> | |
[extensions] | |
color = | |
mq = | |
rebase = | |
histedit = | |
email = | |
patchbomb = |
This file contains hidden or 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
:syntax on | |
:set hlsearch |
This file contains hidden or 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
#!/usr/bin/env python | |
""" | |
Simple Indexer | |
================================= | |
Author: Jon Hurlock, October 2011 | |
This script basically crawls a domain (not just a page) and | |
then extracts all links <a href=""></a>, and finds all links | |
on that domain it also is able extract different file types |