This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Here You can type your custom JavaScript... | |
var SemiDynamic = function(config){ | |
cache = { | |
get: function(namespace, id){ | |
return JSON.parse(localStorage.getItem(namespace + "-" + id)) || []; | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: bundle exec puma -C config/puma.rb | |
worker: bundle exec sidekiq -q default -q mailers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |