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
--- 8.8.8.8 ping statistics --- | |
1601 packets transmitted, 809 packets received, 49.5% packet loss | |
round-trip min/avg/max/stddev = -17960.609/5519.345/56449.221/7589.958 ms | |
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
[ben@laptop:nmap-rspec2]% rspec -f d -c nmap-rspec.rb | |
the scan of the IP ranges | |
Starting Nmap 6.46 ( http://nmap.org ) at 2014-07-06 23:21 EDT | |
Nmap scan report for 141.101.117.49 | |
Host is up (0.26s latency). | |
PORT STATE SERVICE | |
20/tcp filtered ftp-data | |
21/tcp filtered ftp | |
22/tcp filtered ssh |
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
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 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
#!/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 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
Secret sauce: | |
curl https://gist.github.com/barn/5682279/raw/728c2c752e78bc2ed724fd0e66c5c451212e7f9c/gistfile1.txt | sh |
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
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 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
[kali:chef]% ack --bar | |
?IIIIIII7II?????+ | |
~III777II777I?+==++==+: | |
???I7I???I7II++=====++=== | |
??+??????????+===~~=+++??==+ | |
??+??II??????+==~=~~=+++++==++ | |
I+?????????+?+====~=~==+==++?==? | |
?????II?????+++++=======?===~~~~== | |
,?????II????????++++====~===::~~~~:~ | |
I?I??II?+++??+?+++==~~~~:~:~:,:,,:::~ |
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 ruby | |
require 'ap' | |
class Updates | |
attr_reader :parsed, :raw | |
def initialize( ) | |
unless Updates.has_output? |
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 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 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
#!/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 |