Skip to content

Instantly share code, notes, and snippets.

View mattbailey's full-sized avatar
🦆
quack

Matt Bailey mattbailey

🦆
quack
View GitHub Profile
Fetching http://github.com/seyhunak/twitter-bootstrap-rails.git
Git error: command `git clone 'http://github.com/seyhunak/twitter-bootstrap-rails.git' "/var/data/arkham/releases/20121031195725/vendor/bundle/ruby/1.9.1/cache/bundler/git/twitter-bootstrap-rails-8f29c1fbdcb3b4ce0a576f6b5ec783bc3a7826da" --bare --no-hardlinks` in directory /var/data/arkham/releases/20121031195725 has failed.
STDERR: /usr/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout/unix.rb:115: warning: conflicting chdir during another chdir block
fatal: http://github.com/seyhunak/twitter-bootstrap-rails.git/info/refs not valid: is this a git repository?
@mattbailey
mattbailey / netscan.sh
Created November 8, 2012 19:25
netscan.sh
ips=$(nmap -sP 192.168.1.0/24 2>/dev/null | grep 'scan report' | awk '{print $NF}' |sed 's/(//;s/)//')
for ip in $ips
do
mac=$(arp $ip | cut -f 4 -d' ')
ptr=$(dig -x $ip| grep PTR |tail -n 1|awk '{ print $NF}')
if [ $ptr == 'PTR' ]
then
ptr="none"
fi
#!/usr/bin/perl
#use strict;
$flood = 0;
use Irssi;
use DBI;
use warnings;
use vars qw($flood $VERSION %IRSSI);
use WebService::EveOnline;
#!/usr/bin/env ruby
require 'rubygems'
require 'RMagick'
$flood = 0
def weechat_init
Weechat.register("ymf", "ribo", "1.0", "GPL3", "YAO MING FACE", "", "")
Weechat.hook_print "", "", ".ymf", 1, "ymf", ""
#!/usr/bin/perl
#use strict;
$flood = 0;
use Irssi;
use Image::Magick;
use warnings;
use vars qw($flood $VERSION %IRSSI);
#!/usr/bin/env ruby
require 'rubygems'
require 'redis'
require 'RMagick'
require 'sqlite3'
require 'time'
require 'eaal'
ENV['REDIS_HOST'] = 'localhost' unless ENV['REDIS_HOST']
✥✦✧★✩✪✦✫✬✭
✁✂✄☎ ✆✁✂✝ ✞✮✂✯✆☎✮ ✰✱☎✱☎ ✲✂✳✁✆ ✝☎☎✲ ✆✴ ✵☎ ✝✴✲☎ ✶✂✯✷ ✴✸ ✹✄✱✯✶✺ ✻✯✷ ✞✴✴✮✄✺ ✹✴✯✝✆✮✱☎✷ ✆☎✹✁✯✴✄✴✳✺✼ ✽ ✻✝✝✱✮☎ ✺✴✱ ✆✁✻✆
✂✆ ✂✝ ✰✱✂✆☎ ✻✷✾✻✯✹☎✷ ✴✯ ✲✺ ☎✯✷ ✻✯✷ ✂✝ ✆✁☎ ✴✯✄✺ ✿✻✺ ✽ ✹✴✱✄✷ ✸✂✯✷ ✴✸ ✹✴✲✂✯✳ ✆✴ ✺✴✱❀ ❁✁☎ ✷✴✹✱✲☎✯✆✝ ✺✴✱❂✄✄ ✵☎ ✮☎✻✷✂✯✳ ✆✴✷✻✺ ✁✻✾☎ ✵☎☎✯ ✂✯ ✆✮✻✯✝✂✆ ✸✴✮ ✯☎✻✮✄✺ ✻ ✺☎✻✮ ✻✯✷ ✁✻✾☎ ✻✮✮✂✾☎✷ ❃✽ ✁✴✞☎❄ ✂✯ ✻✯ ✴✮✷☎✮ ✿✁✂✹✁
✆✁☎ ✝✞✴✴✄ ✞✮✴✹☎✝✝ ✹✻✯ ✳✂✾☎ ✆✴ ✺✴✱ ✰✱✂✹✶✄✺ ✻✯✷ ✿✂✆✁ ✝✴✲☎ ✹✄✻✮✂✆✺❀ ❅✄☎✻✝☎ ✸✴✮✳✂✾☎ ✻✯✺ ✷✂✝✆✴✮✆✂✴✯ ✂✯ ✆✁☎ ✆☎❆✆✼ ✂✆ ✂✝ ✰✱✂✆☎ ✞☎✮✂✄✴✱✝
✆✴ ✹✴✲✲✱✯✂✹✻✆☎ ✆✁✂✝ ✿✻✺❀
❇✴✿ ✽ ✿✻✯✆ ✆✴ ✲✻✶☎ ✂✆ ✞☎✮✸☎✹✆✄✺ ✹✄☎✻✮
✆✁✻✆ ✆✁☎✝☎ ✞✻✞☎✮✝ ✻✯✷ ✻✄✄ ✲✺ ✴✆✁☎✮ ✿✴✮✶✝
✂✯ ✄✂✸☎ ✵☎✄✴✯✳ ✆✴ ✆✁☎ ✳☎✯☎✮✻✄ ✞✱✵✄✂✹❀ ✽✯
✸✻✹✆✼ ✽ ✻✄✝✴ ✿✴✱✄✷ ✄✂✶☎ ✆✴ ✆✱✮✯ ✲✺✝☎✄✸ ✴✾☎✮
✆✴ ✻✄✄ ✴✸ ✺✴✱ ✻✝ ✿☎✄✄❀ ❁✁✂✝ ✿✻✝ ✻✹✆✱✻✄✄✺ ✷✴✯☎ ✝☎✾☎✮✻✄ ✺☎✻✮✝ ✻✳✴✼ ✵✱✆ ✂✯ ✻✯
m1.medium:
PING_INLINE: 18518.52 requests per second
PING_BULK: 18903.59 requests per second
SET: 18903.59 requests per second
GET: 19193.86 requests per second
INCR: 19685.04 requests per second
LPUSH: 19193.86 requests per second
LPOP: 19880.71 requests per second
SADD: 19193.86 requests per second
SPOP: 19230.77 requests per second
#set -g default-terminal "xterm-256color"
set -g default-terminal "screen-256color"
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
#set -g default-terminal "xterm-256color"
set -g default-terminal "screen-256color"
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(~/config/tmux-powerline/powerline.sh left)"