This file contains 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
setInterval(function () { | |
$('li:not(.friend--active) button[data-capture="friendClicked"]').click(); | |
function doClick (el, time) { | |
setTimeout(function () { | |
el.click(); | |
}, time); | |
} | |
$('li:not(.friend--active) button[data-capture="friendClicked"]').each(function(i){ doClick($(this), i * 500);}); |
This file contains 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
--- 2007 --- | |
gamemaker | |
--- 2009 --- | |
actionscript | |
--- 2010 --- | |
html | |
css | |
javascript | |
--- 2011 --- | |
java |
This file contains 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
INSERT INTO `users` (`id`, `first_name`, `last_name`, `password`, `phone_number`) VALUES | |
(NULL, 'Justin','Brown','OVab1ohthaech','+18284001200'), | |
(NULL, 'Emma','Abbey','Chae8loo4','+13605684665'), | |
(NULL, 'Connie','Hatten','rah1ou2Qu','+14144591956'), | |
(NULL, 'Jesus','Goodwin','Laiph6oo','+18188644418'), | |
(NULL, 'Ernest','Ruffin','ahY0ijei3h','+19172338187'), | |
(NULL, 'Laurel','Owen','Oom8yohje','+16155206920'), | |
(NULL, 'Carol','Stormer','choh2ahF','+13126607383'), | |
(NULL, 'Annette','Paul','Ieke5yai','+12482553404'), | |
(NULL, 'Ronda','Stanley','suiD5id7Toh','+15622754365'), |
This file contains 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
Get coordinates: | |
http://jsfiddle.net/granttimmerman/MqEQ3/6/embedded/result/ | |
Paste them here: | |
http://www.darrinward.com/lat-long/ | |
Original data from: | |
https://developer.leapmotion.com/forums/forums/events-meetups/topics/where-are-you-from |
This file contains 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
/** | |
* Searches the elastic search db. | |
* @param {String} query The raw text query | |
* @param {Callback} cb The response callback | |
* @return {Object} hits The hits from elasticsearch | |
*/ | |
var search = function(query, cb) { | |
var url = ELASTIC_SEARCH_URL + 'algorithm/_search'; | |
var body = { | |
query: { |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE score-partwise | |
PUBLIC '-//Recordare//DTD MusicXML 2.0 Partwise//EN' | |
'http://www.musicxml.org/dtds/partwise.dtd'> | |
<score-partwise> | |
<work> | |
<work-number>BWV 784</work-number> | |
<work-title>Invention 13</work-title> | |
</work> | |
<identification> |
This file contains 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
// Circle | |
var numNodes = 10; | |
var a = []; | |
for (var i = 0; i < numNodes; ++i) { | |
var b = []; | |
for (var j = 0; j < numNodes; ++j) { | |
b[j] = (i === (j + numNodes - 1) % numNodes) ? 1 : 0; | |
} | |
a[i] = b; | |
} |
This file contains 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
package main | |
import ( | |
"fmt" | |
"log" | |
) | |
// https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit | |
var SpreadsheetId = "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms" |
This file contains 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
package snippets | |
import ( | |
"testing" | |
"github.com/stretchr/testify/assert" | |
"net/http" | |
"time" | |
"encoding/json" | |
"log" | |
"fmt" |
This file contains 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 fs = require('fs'); | |
var readline = require('readline'); | |
var google = require('googleapis'); | |
var googleAuth = require('google-auth-library'); | |
// If modifying these scopes, delete your previously saved credentials | |
// at ~/.credentials/calendar-nodejs-quickstart.json | |
var SCOPES = ['https://www.googleapis.com/auth/calendar.readonly']; | |
var TOKEN_PATH = 'creds.json'; |