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
source 'https://rubygems.org' | |
gem 'rails', '4.2.0.rc3' # rails 4.2 rc3 | |
gem 'pg' # postgresql database adapter | |
gem 'sass-rails', '5.0.0.beta1' # prettier css | |
gem 'uglifier', '>= 1.3.0' # CSS minifier | |
gem 'coffee-rails', '~> 4.0.0' # pretty JS | |
gem 'jquery-rails' # much simpler DOM querying | |
gem 'turbolinks' # faster page loading | |
gem 'jbuilder', '~> 1.2' # JSON API powerhouse |
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
darwin | |
/usr/local/Library | |
total 0 | |
drwxr-xr-x 3 luke admin 102 11 Sep 08:41 activemq | |
drwxr-xr-x 3 luke admin 102 3 Jan 21:02 android-sdk | |
drwxr-xr-x 3 luke admin 102 6 Nov 19:22 ant | |
drwxr-xr-x 3 luke admin 102 12 Sep 22:14 apollo | |
drwxr-xr-x 3 luke admin 102 2 Aug 12:43 autoconf | |
drwxr-xr-x 3 luke admin 102 25 Sep 19:00 automake | |
drwxr-xr-x 7 luke admin 238 15 Dec 09:17 cassandra |
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 | |
# so we need to take branch.txt and existing.txt, parse the messages into a hash | |
master = {} | |
mastertext = File.read "/Users/luke/fuckup/master.txt" | |
mastertext.split("\n").each do |line| | |
sha, *message = line.split(" ") | |
message = Array(message).join(" ") |
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
require "nokogiri" | |
require "net/http" | |
require "twilio-ruby" | |
twilio = Twilio::REST::Client.new ENV['TWILIO_SID'], ENV['TWILIO_AUTH'] | |
text_luke = -> (message) do | |
twilio.account.sms.messages.create( | |
from: ENV['TWILIO_PHONE'], | |
to: ENV['LUKE'], | |
body: message |
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 sh | |
cd /home/luke/supersonic | |
NOW=`ruby -e"puts Time.now.to_i"` | |
/usr/bin/tmux send-keys -t supersonic:1 "save-all" C-m | |
/usr/bin/tmux send-keys -t supersonic:1 "save-off" C-m | |
cp -R /home/luke/supersonic/supersonic /home/luke/supersonic/supersonic_backup |
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
apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion |
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
body { | |
-webkit-font-smoothing: antialiased; | |
font-size: 15px; | |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
line-height: 24px; | |
margin: 0; | |
padding: 0; | |
} | |
*:active, *:focus { outline-width: 0px; } |
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
thin: | |
thin start --port 5075 --address 127.0.0.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
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]) { | |
printf("Hello, pdoak!\n"); | |
return 0; | |
} |
NewerOlder