Skip to content

Instantly share code, notes, and snippets.

View gist:a3f37b1cc3744657101c
[ ] router:main ................................................ multiverse/main/router
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] router:main ................................................ multiverse/router
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [✓] router:main ................................................ multiverse/router
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [✓] router:main ................................................ multiverse/router
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [✓] router:main ................................................ multiverse/router
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] -bucket-cache:main ......................................... multiverse/main/-bucket-cache
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] -bucket-cache:main ......................................... undefined
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] -bucket-cache:main ......................................... multiverse/-bucket-cache
vendor-5ca4ffb34d25585cca2282
View solarized.md

iTerm2

http://www.iterm2.com/#/section/downloads

Get the iTerm color settings

https://raw.github.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors

Apply them in iTerm through iTerm -> preferences -> profiles -> -> colors -> load presets -> import. You can create a different profile, other than Default if you wish to do so.

View dokku-notes.md

Notes

Installing:

  • DigitalOcean NYC3 Dokku 0.2.3 on 14.04 with Docker 1.2.0) - create droplet with public key, get an IP address
  • Set up DNS for jbinto.ca: A records for jbinto.ca and *.jbinto.ca
  • DNS won't propogate immediately, so edit /etc/hosts for now
  • Go to http://jbinto.ca, check "Use virtual hosts", verify public key and hostname, finish setup

Deploying

@jbinto
jbinto / upgrading-ruby.md
Last active Aug 29, 2015
Upgrading Ruby
View upgrading-ruby.md

Upgrading Ruby

"If something is painful, do it more often."

  • 2.1.5: Nov 13 2014

OS X

I am using chruby and ruby-install.

@jbinto
jbinto / index.html
Created Nov 2, 2014
[add your bin description] // source http://jsbin.com/begojepigu
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
select {
display: block;
View gist:9295e835d6b4ed45d5ab
[blocked] The page at 'https://railsapps.github.io/' was loaded over HTTPS, but ran insecure content from 'http://railsapps.github.io/css/landing.css': this content should also be loaded over HTTPS.
railsapps.github.io/:1
The page at 'https://railsapps.github.io/' was loaded over HTTPS, but displayed insecure content from 'http://railsapps.github.io/images/landing/rickquantz.png': this content should also be loaded over HTTPS.
railsapps.github.io/:1
The page at 'https://railsapps.github.io/' was loaded over HTTPS, but displayed insecure content from 'http://railsapps.github.io/images/landing/josephmay.png': this content should also be loaded over HTTPS.
railsapps.github.io/:1
The page at 'https://railsapps.github.io/' was loaded over HTTPS, but displayed insecure content from 'http://railsapps.github.io/images/landing/justin.png': this content should also be loaded over HTTPS.
railsapps.github.io/:1
The page at 'https://railsapps.github.io/' was loaded over HTTPS, but displayed insecure content from 'http
@jbinto
jbinto / bikeway_segment.rb
Last active Aug 29, 2015
FeatureWalker - algorithm to walk through bikeway data. Replaced by single PostGIS query.
View bikeway_segment.rb
require 'gis_tools'
# == Schema Information
#
# Table name: bikeway_segments
#
# id :integer not null, primary key
# city_rid :integer
# city_geo_id :integer
# city_linear_feature_name_id :integer
# city_object_id :integer
View keybase.md

Keybase proof

I hereby claim:

  • I am jbinto on github.
  • I am jbinto (https://keybase.io/jbinto) on keybase.
  • I have a public key whose fingerprint is C727 8EB4 A461 0AA2 70B6 9B33 5F08 1903 2C80 49ED

To claim this, I am signing this object:

@jbinto
jbinto / gist:c660d41b84c1d4acbb07
Created Sep 27, 2014
EmberJS basics cheatsheet
View gist:c660d41b84c1d4acbb07
// Based on concepts learned in ch 3 of http://ember.vicramon.com/the-ember-object
// defining objects
App.InternetUser = Ember.Object.extend();
App.InternetUser.reopen({
intelligence: -50,
status: 'anonymous'
});
// computed properties
@jbinto
jbinto / digitalocean_sizes_nyc_april2014.json
Created Apr 3, 2014
DigitalOcean sizes, NYC region, April 2014
View digitalocean_sizes_nyc_april2014.json
{
"status":"OK",
"sizes":[
{
"id":66,
"name":"512MB",
"slug":"512mb",
"memory":512,
"cpu":1,
"disk":20,