Skip to content

Instantly share code, notes, and snippets.

Jessica Eldredge jessabean

Block or report user

Report or block jessabean

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
jessabean / 0_reuse_code.js
Created Jun 9, 2016
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
jessabean /
Created Jun 5, 2014
Ember/Emblem.js build error

In application.emblem:

header Exercism
        link-to 'Explore' 'explore'

Keybase proof

I hereby claim:

  • I am jessabean on github.
  • I am jessabean ( on keybase.
  • I have a public key whose fingerprint is 10A0 1BC8 40D9 0DBC 7B7B D809 934B A5F3 8CF4 9C07

To claim this, I am signing this object:

jessabean / application.html.haml
Created Apr 17, 2013
Example of inserting javascript specific to a page or resource
View application.html.haml
%html{:lang => "en", :xhmns => "", "xml:lang" => "en"}
%title= full_title(yield(:title))
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
= stylesheet_link_tag "application", "|Damion"
= javascript_include_tag "", "application"
= csrf_meta_tags
= tag :meta, :name => "stripe-key", :content => STRIPE_PUBLIC_KEY
jessabean / gist:5339272
Created Apr 8, 2013
Secret Santa Assignments
View gist:5339272
givers = %w[austen chris elise jess lynn matt sam]
getters = givers.dup
assignments = {}
givers.each do |giver|
getter = (getters - [giver]).shuffle.first
assignments[giver] = getter
require 'pp'
jessabean / if_statement_nested
Last active Dec 12, 2015
codecademy rock paper scissors
View if_statement_nested
var compare = function(choice1, choice2) {
if (choice1 = "rock") {
if (choice1 === choice2) {
return "The result is a tie!";
} else if (choice2 = "scissors") {
return "rock wins";
} else {
return "paper wins";
You can’t perform that action at this time.