Skip to content

Instantly share code, notes, and snippets.


Justin Johnson elof

Block or report user

Report or block elof

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

Keybase proof

I hereby claim:

  • I am elof on github.
  • I am el0f ( on keybase.
  • I have a public key ASCQ_5MOqp1RpheeZgSAS0GPqJcRt1YC7ckMOY-7HYFFIAo

To claim this, I am signing this object:

elof / salesforce-csv-process.rb
Created Mar 3, 2017
A script to parce a salesforce generated CSV into JSON and pass to Keen IO
View salesforce-csv-process.rb
# Salesforce CSV import
# Author: Jevon Wild <>
# Creation Date: 15 DEC 2016
# This file contains one method for processing multiple CSVs in the same
# directory and returning a block of bulk events for immediate ingestion. It
# does assume the events are in a particular format (for the Addons) so it would
# probably need to be modified for other use
elof / index.ios.js
Created Feb 28, 2017
Using Keen IO to collect and query event data in React Native
View index.ios.js
* Sample React Native App
* @flow
import React, { Component } from 'react';
import {
elof /
Created Aug 26, 2013
GA WDI final project

Rebuilding site.

Connect developers to code together based on shared interists.

People connect via GitHub connect and create profiles. From their profiles they can make project pages. Other users can search for projects based on code language and topics (i.e. sharing economy) and can either star or apply to projects.

Project owners can deny applicants or let them in as collaborators, but before they do they can review profiles and schedule times to interview or better yet schedule a time to pair program together.

elof /
Last active Dec 20, 2015
Wigwm by Second-Hand Startup

There is lots of awesome happening all over SF, the city is alway bustling with parties and there are endless places to go with an influx of people coming to the city and leaving the city.

For me this is both a blessing and a curse! There is always something to do, but this environment makes it really hard to find and make new friends. SF is a transient city and all the years I've been here the most meaningful friendships come out of work friends.

We are building an app that helps connect with the people around them to do fun things and get to know each other, and we call it Wigwm (for context, a Wigwam is large building where Native American's would all come together to eat and build community). On Wigwam folks can post events so they can find people around them to share experiences. A perfect use case is someone just moved to SF for work and wants to check out a new bar in their neighborhood next thursday. They can post an event at the bar and say they are looking for 3 people to check out happy hour with

Task Code
Change the background color of '#target' by script. $('#target').css('background', 'blue');
Change the text in the span, a child of '#target' $('#target span').text('foo:bar');
Create a clone of the span in '#target' and position it under the orgin. $('#target span').clone().insertAfter('#target span');
Change background color of the second of three '.target'. $('.target').eq(1).css('background', 'blue');
Disable the button $('.target button').attr('disabled', 'disabled');
Uncheck the boxes $('.target input').removeAttr('checked');
Move '#child' from '#parent1' to '#parent2' $('#child').appendTo('#parent2');
Make the textbox in '#target' read-only $('#target input').attr('readonly', 'readonly')


What happens if you callh[:lolcats] on an empty hash?

It will return nil (and you'll give co-workers the giggles) Create a hash using a literal and another using new

Option A

my_hash = {}

You can’t perform that action at this time.