Jason is a native Floridian who started building for the web as a teen in the mid-'90s. He's been a Rubyist for about as long as anybody, founding the Tampa Ruby Brigade in 2006 and taking great pride in being an active leader in the local tech community. After stints in academia, startups, and as a consulting freelancer, he has found great joy in mentoring and sharing the knowledge gained over his career. He's also a game development enthusiast with a love for 3D modeling and animation. Jason is a father, a skeptic, entirely too opinionated, and prefers a word count with a power of two. When the world gets heavy you can find him either building LEGO® as catharsis or harnessing his power animal-- the panda bear.
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
sudo sqlite3 /Library/Application\ Support/com.apple.TCC/tcc.db "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','/usr/bin/osascript',1,1,1,NULL)" |
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 airplane.h | |
function main() { | |
int i = 0; | |
return 0; | |
}; | |
// bah! |
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' | |
ruby '2.2.2' | |
gem 'rails', :github => 'rails/rails' | |
gem 'arel', :github => 'rails/arel' |
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
resources :books | |
# is short hand for: | |
get 'books' => 'books#index' #as => 'books' | |
post 'books' => 'books#create' #as => 'books' | |
get 'books/new' => 'books#new', :as => 'new_book' | |
get 'books/:id/edit' => 'books#edit', :as => 'edit_book' | |
get 'books/:id' => 'books#show', :as => 'book' | |
patch 'books/:id' => 'books#update' #as => 'book' |
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 'net/http' | |
require 'json' | |
require 'cgi' | |
class Card | |
SUITS = [ | |
"Diamonds", | |
"Hearts", |
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
Sorted by sell value, low to high. Not always | |
accurate, but this seems to be the general pattern. | |
Item classes on the same line generally have | |
the same value. | |
2H Weapons | |
1H Weapons | |
Ranged | |
Plate Chest/Legs | |
Sheild |
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
git symbolic-ref HEAD refs/heads/newbranch | |
rm .git/index | |
git clean -fdx | |
<do work> | |
git add your files | |
git commit -m 'Initial commit' |
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 "rubygems" | |
require "gruff" | |
graph = Gruff::Line.new | |
graph.title = "Drop the damn mount already..." | |
graph.data("%", (1..800).map { |y| (1 - (0.99 ** y)) * 100 }) | |
graph.labels = {0 => "1", 50 => "50", 100 => "100", 250 => "250", 500 => "500", 750 => "750+"} |