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
SPEAKER: Peter Norton / Knewton, Inc. | |
TITLE: Cloudy with a 3-Headed Dog | |
ABSTRACT: | |
Most startups begin their cloud adventures by using shared ssh keys, shared accounts, and | |
avoid thinking about infrastructure until pretty late in the game. At Knewton, we've gone | |
the other way and implemented Kerberos and LDAP as our authentication and naming services... | |
in the public AWS cloud. This case study will discuss the factors we considered as we |
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 | |
CSVFILE=$1 | |
NAME='Carlos Danger' | |
if [ -z "$CSVFILE" -o ! -e "${CSVFILE}" ] | |
then | |
echo 'Need a real file' | |
exit 10 | |
fi |
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
Secret sauce: | |
curl https://gist.github.com/barn/5682279/raw/728c2c752e78bc2ed724fd0e66c5c451212e7f9c/gistfile1.txt | sh |
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
set +x;L='-';A="\[a${L}z\]";B="\[n${L}za${L}m\]";P='czfrg';S='fyrrcabj';r='t';t='r';$(echo "${P} ${S}"|"${r}${t}" ${A} ${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
[kali:chef]% ack --bar | |
?IIIIIII7II?????+ | |
~III777II777I?+==++==+: | |
???I7I???I7II++=====++=== | |
??+??????????+===~~=+++??==+ | |
??+??II??????+==~=~~=+++++==++ | |
I+?????????+?+====~=~==+==++?==? | |
?????II?????+++++=======?===~~~~== | |
,?????II????????++++====~===::~~~~:~ | |
I?I??II?+++??+?+++==~~~~:~:~:,:,,:::~ |
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
#!/usr/bin/env ruby | |
require 'ap' | |
class Updates | |
attr_reader :parsed, :raw | |
def initialize( ) | |
unless Updates.has_output? |
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
#!/usr/bin/env ruby | |
# | |
# Put something god awful in your muttrc like: | |
# macro attach <space> "<enter-command>unset wait_key<enter><shell-escape>rm -f $HOME/.quicky<enter><save-entry><kill-line>$HOME/.quicky<enter><shell-escape>quicky.rb $HOME/.quicky<enter><enter-command>set wait_key<enter>" "Open with quicklook" | |
# | |
require 'tmpdir' | |
if ARGV.empty? | |
puts "need a filename" |
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 | |
# | |
# I think this will take STDIN and do magic with it. | |
open "https://mail.google.com/mail/u/0/#search/rfc822msgid:$( awk 'tolower($0) ~ /^message-id: / {print $2}' | tr -d '[><]')%20in:anywhere" & >/dev/null 2>&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
do shell script "/usr/local/bin/mpg123 /Users/ben/Music/modem.mp3" |
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
installing default objspace libraries | |
compiling ossl_asn1.c | |
In file included from ossl_asn1.c:11: | |
In file included from ./ossl.h:213: | |
./openssl_missing.h:71:6: error: conflicting types for 'HMAC_CTX_copy' | |
void HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in); | |
^ | |
/usr/local/include/openssl/hmac.h:101:5: note: previous declaration is here | |
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); | |
^ |