Skip to content

Instantly share code, notes, and snippets.

View nicholalexander's full-sized avatar

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)[https://twitter.com/filipebarcos/status/1197201242700812288?s=09] as being my best source.

https://anvyl.com/
jason@anvyl.com
Supply chain

Vimeo
# 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)
end
Verifying my Blockstack ID is secured with the address 1BYc9aSw293aREXVXjEKBTwnAyPrTVSksM https://explorer.blockstack.org/address/1BYc9aSw293aREXVXjEKBTwnAyPrTVSksM

Keybase proof

I hereby claim:

  • I am nicholalexander on github.
  • I am nicholalexander (https://keybase.io/nicholalexander) on keybase.
  • I have a public key ASC-4tXcTOXB3LGLqRzxdRQtb-teLSUpgaSJ9EL6yVm-VQo

To claim this, I am signing this object:

Verifying I am +nicholalexander on my passcard. https://onename.com/nicholalexander
@nicholalexander
nicholalexander / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!doctype><html><head>
<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="http://cartodb.github.io/odyssey.js/sandbox/favicon.png">
<link rel="icon" type="image/png" href="http://cartodb.github.io/odyssey.js/sandbox/favicon.png">

Keybase proof

I hereby claim:

  • I am nicholalexander on github.
  • I am nicholalexander (https://keybase.io/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
nicholalexander / font-face.md
Last active August 29, 2015 13:57
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!