Skip to content

Instantly share code, notes, and snippets.

View deoxxa's full-sized avatar

Conrad Pankoff deoxxa

View GitHub Profile
@deoxxa
deoxxa / -
Created November 3, 2016 01:32
Hash is defined in lodash.clonedeep
Hash is defined in lodash.filter
Hash is defined in lodash.map
Hash is defined in lodash.merge
Hash is defined in lodash.pickby
Hash is defined in lodash.reduce
Hash is defined in lodash.reject
Hash is defined in lodash.some
ListCache is defined in lodash.clonedeep
ListCache is defined in lodash.filter
// @flow
type Element<ET> = ET & {
uniqueId: string,
groupId?: ?string,
};
type Group<GT> = GT & {
id: string,
elements: Array<string>,
This file has been truncated, but you can view the full file.
7.14% 1 1 14 Spec's Other White Liquor Boy Riesling
7.14% 1 1 14 Spec's Wine Liquor Boy Riesling
5.69% 31 128 132 Giant Eagle Cereal - Hot Weis Markets Cereal - Hot
9.46% 19 83 46 Giant Eagle Tortillas & Tacos Weis Markets Tortillas & Tacos
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const byExtension = (obj) => Object.keys(obj).map((k) => Object.assign({
test: new RegExp(`\.(${k})$`),
}, obj[k]));
if (process.env.NODE_ENV === 'production' && !process.env.API_URL) {
throw new Error('when NODE_ENV is "production", API_URL must be set');
package main
import (
"bytes"
"encoding/binary"
"encoding/hex"
"fmt"
"io"
"io/ioutil"
"os"
@deoxxa
deoxxa / app.js
Created October 1, 2012 11:59
ginger middleware thing
// app setup
app.configure(function() {
app.use(require("./send_response")(path.join(__dirname, "views")));
});
// wheee
app.get("/", function(req, res, next) {
return res.send_response("some/template.html", {a: "b", c: "d"});
#!/usr/bin/env python
import csv
import hashlib
import sys
writer = csv.writer(sys.stdout)
with open(sys.argv[1], 'rb') as csvfile:
reader = csv.reader(csvfile)
#!/usr/bin/env python
import csv
import hashlib
import re
import sys
def slugify(s):
s = s.lower()
for c in [' ', '-', '.', '/']:
#!/usr/bin/env python
import csv
import hashlib
import re
import sys
def slugify(s):
s = s.lower()
for c in [' ', '-', '.', '/']:
react-boilerplate@3.0.0 /Users/conrad/Work/nimblic/medtasker-react/react-boilerplate
├─┬ babel-polyfill@6.9.0
│ ├── babel-regenerator-runtime@6.5.0
│ ├── babel-runtime@6.9.0
│ └── core-js@2.4.0
├─┬ chalk@1.1.3
│ ├── ansi-styles@2.2.1
│ ├── escape-string-regexp@1.0.5
│ ├─┬ has-ansi@2.0.0
│ │ └── ansi-regex@2.0.0