Skip to content

Instantly share code, notes, and snippets.

View deoxxa's full-sized avatar

Conrad Pankoff deoxxa

View GitHub Profile
// @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"
#!/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
react-boilerplate@3.0.0 /Users/conrad/Work/nimblic/medtasker-react/react-boilerplate
├─┬ babel-core@6.9.0
│ ├─┬ babel-code-frame@6.8.0
│ │ └── js-tokens@1.0.3
│ ├─┬ babel-generator@6.9.0
│ │ └─┬ detect-indent@3.0.1
│ │ └── repeating@1.1.3
│ ├── babel-helpers@6.8.0
│ ├── babel-messages@6.8.0
│ ├─┬ babel-register@6.9.0
Block
::= "{" StatementList "}"
StringNumericLiteral
::= StrWhiteSpace?
| StrWhiteSpace? StrNumericLiteral StrWhiteSpace?
StrWhiteSpace
::= StrWhiteSpaceChar StrWhiteSpace?