Skip to content

Instantly share code, notes, and snippets.

View defbyte's full-sized avatar

Chris Davis defbyte

View GitHub Profile
@defbyte
defbyte / csv-parser.js
Last active December 17, 2015 15:19 — forked from gmac/csv-parser
Require module of Greg's CSV Parser
/*
Parse CSV Function
Thanks to Greg MacWilliam:
https://gist.github.com/gmac/5620847#file-csv-parser
*/
define('parse-csv', function (){
var parseCSV = (function( root ) {
return function parseCSV(csv, delimiter) {
@defbyte
defbyte / simple-ajax.js
Created May 22, 2013 20:32 — forked from gmac/simple-ajax
Greg's Simple AJAX as a Require module.
/*
Simple AJAX
by Greg MacWilliam
https://gist.github.com/gmac/5630172
*/
define('simple-ajax', function() {
var ajax = (function( root ) {
function getRequest() {
@defbyte
defbyte / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console