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 [' ', '-', '.', '/']:
[email protected] /Users/conrad/Work/nimblic/medtasker-react/react-boilerplate
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
[email protected] /Users/conrad/Work/nimblic/medtasker-react/react-boilerplate
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
Block
::= "{" StatementList "}"
StringNumericLiteral
::= StrWhiteSpace?
| StrWhiteSpace? StrNumericLiteral StrWhiteSpace?
StrWhiteSpace
::= StrWhiteSpaceChar StrWhiteSpace?