Skip to content

Instantly share code, notes, and snippets.

nichol alexander nicholalexander

View GitHub Profile

Sad that I missed RubyConf! Looking through tweets, I saw some pictures of job board. I very quickly wrote down everything I could make out in the hopes that a text version might be helpful to some.

The order is roughly in columns, left to right. If there is anything that's wrong or missing, please let me know and I'll change it. Thanks to @filipebarcos and this (tweet)[] as being my best source.
Supply chain

View crackle_pop.rb
# Write a program that prints out the numbers 1 to 100 (inclusive). If the number is
# divisible by 3, print Crackle instead of the number. If it's divisible by 5, print Pop.
# If it's divisible by both 3 and 5, print CracklePop. You can use any language.
module CracklePop
class CracklePop
class << self
def evaluate_and_print(number)
puts evaluate(number)
View blockstack proof
Verifying my Blockstack ID is secured with the address 1BYc9aSw293aREXVXjEKBTwnAyPrTVSksM

Keybase proof

I hereby claim:

  • I am nicholalexander on github.
  • I am nicholalexander ( on keybase.
  • I have a public key ASC-4tXcTOXB3LGLqRzxdRQtb-teLSUpgaSJ9EL6yVm-VQo

To claim this, I am signing this object:

View Test
Verifying I am +nicholalexander on my passcard.
nicholalexander / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View index.html
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Odyssey.js Torque</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="">
<link rel="icon" type="image/png" href="">

Keybase proof

I hereby claim:

  • I am nicholalexander on github.
  • I am nicholalexander ( on keybase.
  • I have a public key whose fingerprint is DA8A F0BB 0149 82CA 7928 6F29 6EA0 FEC6 9B6A 73D0

To claim this, I am signing this object:

nicholalexander /
Last active Aug 29, 2015
setting up fonts in rails 4

It's Easy!

  1. Put this in your application.rb

     config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
     config.assets.precompile += %w( .svg .eot .woff .ttf )
  2. Reboot your server!

  3. Create a fonts.scss file in assets/stylesheets.

  4. Set up your font-face thusly. Pay extra attention to punctuation - everything must appear exactly as it does in the file system.


#The NYC DevShop 40 Step Server Deploy Guide Written by The DevShop Team

###1. Create A Droplet In A Digital Ocean

  • Log in to Digital Ocean
  • Enter hostname - this should be something useful to you, maybe your Appname?
  • Select a 1gb / 1cpu Droplet
  • Use Ubuntu 12.0.4
  • Do not use ssh keys!
You can’t perform that action at this time.