Skip to content

Instantly share code, notes, and snippets.

mbifulco / function.js
Created Aug 25, 2015
jquery dictionary
View function.js
//characters we want to replace:
< with &lt;
> with &gt;
var jsob =
gnawlirpa / Mobile_Food_Schedule.csv
Created Aug 25, 2015
Mobile Food Schedule in SF
View Mobile_Food_Schedule.csv
We can't make this file beautiful and searchable because it's too large.
0,Sunday,15MFF-0067,3119 ALEMANY BLVD,Set-up at 3101 Alemany: 7:00am-8:00pm,"Tacos, Burritos, Quesadillas, Tortas, Nachos, Hot Dogs,Soda, Water, Fruit Drinks",631815,07:00,20:00,2178101,06/07/2011,06/07/2011,7146,002,N,San Pancho's Tacos,5996010.34,2086972.975,37.71020189,-122.4555798
0,Sunday,15MFF-0020,301 EXECUTIVE PARK BLVD,10:10am-10:25am,"Cold Truck: Pre-packaged Sandwiches, Various Beverages, Salads, Snacks",626002,10:00,11:00,5374000,08/29/2011,08/29/2011,4991,240,Y,Golden Catering,6014761.541,2086930.261,37.71114281,-122.3907684
0,Sunday,15MFF-0020,101 EXECUTIVE PARK BLVD,10:00am-10:05am,"Cold Truck: Pre-packaged Sandwiches, Various Beverages, Salads, Snacks",626001,10:00,11:00,5372202,08/29/2011,08/29/2011,4991,241,Y,Golden Catering,6013626.819,2086973.714,37.7111991,-122.3946933
images = [
_preload = (src)->
new Promise (resolve, reject)->
image = document.createElement 'img'
image.src = src
image.onload = -> resolve image
prafulmehrotra / The Technical Interview Cheat
Last active Aug 25, 2015 — forked from TSiege/The Technical Interview Cheat
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
View chat.html
<li ng-repeat="message in">
{{}}: {{ message.content }}
View async_param.js
var async = require('async');
function copyFileToStructure(filename, done){
async.apply(teste, filename , 'param'),
async.apply(teste, filename , 'param')
], function(result) {
View gist:ae70ce658b18783ab54a
.tc-panel-header-title CERCA Starter
View onsets_sart
"cells": [
"cell_type": "markdown",
"metadata": {},
"source": [
"# Generating Onsets SART"
View gist:06817516f352fd5bcc12
[jeffmc@origin ~]$ ip -a
Option "-a" is unknown, try "ip -help".
[jeffmc@origin ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
View gist:30f4ec3cb9806223b6f4
<>, both not included in range,
<=>, both included
<==, left not included,
==> right not included
infix operator <> {}
infix operator <=> {}
infix operator ==> {}
infix operator <== {}