Wednesday, June 27, 2012

Sublime 2 command line starter

Textmate simply needed you to type "mate file1" to open file1 in the textmate gui.

Sublime 2 doest have that. well thats stupid. so I made my own:

alias sublime='open -a "/Applications/Sublime Text"'

now just type "sublime file1" and it will start the file in the gui, just like textmate.

Updating metasploit in brew

Straight from brew when you first install metasploit:

Metasploit can be updated in-place by doing:
  cd `brew --prefix metasploit`/libexec/
  svn up

Monday, June 4, 2012

My tech/infosec subreddits

Bookmark this page for good times:

Awk from pattern to End Of File

awk '/regex/,EOF' file1