Skip to content

Instantly share code, notes, and snippets.

View heyellieday's full-sized avatar

Ellie Day heyellieday

View GitHub Profile
@heyellieday
heyellieday / index.js
Created February 18, 2018 13:30
Slack Notifications with if-eth + express
const express = require('express');
const bodyParser = require('body-parser');
const request = require('request');
const app = express();
console.log(process.env.SLACKBOT_URI);
app.use(bodyParser.json());
app.post('/webhook', (req, res) => {
console.log('A kitty is up for auction!', req.body);
// Here You can type your custom JavaScript...
var SemiDynamic = function(config){
cache = {
get: function(namespace, id){
return JSON.parse(localStorage.getItem(namespace + "-" + id)) || [];
},
Charlene Liu
Charlene is from Malaysia but living in Shanghai and wants to attend the Summit to share her passion for helping the international LGBTQ community.
https://www.generosity.com/community-fundraising/help-me-go-to-lesbians-who-tech-in-san-francisco--2
Kiran Gandhi
Kiran is part of an electronic music duo from Los Angeles called Madam Gandhi. Their dream is to inspire other women to make music, and our plan is to give a one hour demo/masterclass on how we create our music, with the hope that those in the audience will feel empowered to create in their own lives. We would love to make a song together at the summit on that day.
https://www.generosity.com/education-fundraising/help-two-musicians-get-to-lwt-2016--2
Mila Rosin
Mila is a South Asian/Canadian Queer/lesbian femme software engineering student looking to get to SF to share her talents and interests in Space Tech!
@heyellieday
heyellieday / Procfile
Last active January 22, 2016 01:11
Files for Viable Rails App
web: bundle exec puma -C config/puma.rb
worker: bundle exec sidekiq -q default -q mailers
@heyellieday
heyellieday / scraper.rb
Created May 3, 2015 05:56
Medium Web Scraper
require "mechanize"
require "nokogiri"
require 'json'
require "awesome_print"
def get_latest
url = "http://medium.com/@heyellieday"
agent = Mechanize.new { |agent| agent.user_agent_alias = "Mac Safari" }
html = agent.get(url).body
@heyellieday
heyellieday / tic-tac-toe
Created October 18, 2014 00:43
Unfinished Tic Tac Toe, written in JS
var grid = [{player: "", number: 0}, {player: "", number: 1}, {player: "", number: 2}, {player: "", number: 3}, {player: "", number: 4}, {player: "", number: 5}, {player: "", number: 6}, {player: "", number: 7}, {player: "", number: 8}];
var turn = 0;
var winningLines = [[0, 1, 2],[3, 4, 5],[6, 7, 8],[0, 3, 6],[1, 4, 7],[2, 5, 8],[0, 4 ,8],[2, 4, 6]];
var lastComputerChoice = null;
var SecondToLastComputerChoice = null;
var lastHumanChoice = null;
var SecondToLastHumanChoice = null;