Skip to content

Instantly share code, notes, and snippets.

Jason Lewis canweriotnow

Block or report user

Report or block canweriotnow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
canweriotnow / array1.sql
Created Apr 8, 2014
Gists for Rails 4 PostgreSQL talk
View array1.sql
id integer,
title varchar(255),
body text,
child_ids integer[]); -- This is an array
View posts_migration.rb
class CreatePosts < ActiveRecord::Migration
def change
create_table :posts do |t|
t.string :title
t.text :body
t.integer :tag_array, array: true. default: []
View extended.json
{"name" : "Badgers",
"description" : "SomeBadge A badge that demonstrates that I can: Eat a bagel Slam a cow Have some times What a badge.",
"image" : "",
"criteria" : "",
"issuer" : "",
"extensions" : {
"@context" : "",
"prettyDescriptions" : {
"markdown" : "#SomeBadge\r\n\r\nA badge that demonstrates that I can:\r\n\r\n* Eat a bagel\r\n*Slam a cow\r\n*Have some times\r\n\r\nWhat a badge.",
"html" : "<h1>SomeBadge</h1><p>A badge that demonstrates that I can:</p><ul><li>Eat a bagel</li><li>Slam a cow</li><li>Have some times</li><p>What a badge.</p>"
canweriotnow / game.rb
Created Aug 23, 2014 - game with no rules
View game.rb
colors = ["red","blue","yellow","green","pink","black"]
items = ["cell phone","pineapple","salmon","cupcake","tentacle","bow"]
parts = ["head","tail","limb","belly","nose","back"]
animals = ["horse","lion","puppy","dragon","elephant","wolf"]
puts "Choose your animal: "
animals.each_with_index do |a,i|
puts "#{i}. #{a}"

Keybase proof

I hereby claim:

  • I am canweriotnow on github.
  • I am canweriotnow ( on keybase.
  • I have a public key whose fingerprint is 6954 DD06 7CF7 1C08 8985 C08F 15C8 C551 FCFC 7C97

To claim this, I am signing this object:

View prelude-modules.el
;;; Uncomment the modules you'd like to use and restart Prelude afterwards
;; Emacs IRC client
(require 'prelude-erc)
(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
(require 'prelude-helm) ;; Interface for narrowing and search
(require 'prelude-helm-everywhere) ;; Enable Helm everywhere
(require 'prelude-company)
(require 'prelude-key-chord) ;; Binds useful features to key combinations
(require 'prelude-mediawiki)
canweriotnow /
Last active Aug 29, 2015
Betamore Clojure Workshop: Bootstrap

Clojure Bootstrap

Here are some more detailed instructions for setting up your Clojure development environment.

Getting Started

  1. Make sure you have a recent Java SDK installed. On OS X, Java 7 should be installed by default. Java 6 should also work fine, and if you're feeling adventurous or want to be on the cutting edge, you can install Java 8. It's best to have the full Java SDK (not just the JRE, or Java Runtime Environment). You can get official releases for all major platforms straight from Oracle, or on Linux you can use your package manager to install the correct openjdk SDK.
  2. Install Leiningen. It's as simple as putting an executable script on your path and running lein. It bootstraps itself, installing the latest Clojure runtime as well. Instructions for Linux, OS X and Windows are at the link above.
  3. Select an editor

Clojure: Next Steps

Sorry it's taken so long, but as promised, here's a list of follow-up resources for moving forward with learning and working with Clojure. I'll try to break it down in some coherent fashion, but there will definitely be overlap.


Places to find exercises to hone your clojure hacking skills


canweriotnow / bookmarklet.js
Last active Aug 29, 2015
Sun Paywall Defeater
View bookmarklet.js
// Alternately, a bookmarklet using the Sun's jQuery dependency against it:
// If you don't know what to do with this, create a new bookmark in your browser
// and paste this line as teh "address."

Why is the nominee a Jew we should know?

Micah is an accomplished software engineer who is committed to professionalism as well as social justice.

How is the nominee a leader and innovator in the nominee’s career or professional work?

Micah nearly single-handedly saved our department when we worked together at Johns Hopkins University; since then he has been instrumental in optimizing the world of long-haul trucking.

How does the nominee give back to and make a difference in the community?

(Please list any confirmed current or recent volunteer leadership positions)

You can’t perform that action at this time.