This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ReactSelect from 'react-select' | |
export const REACT_SELECT_CUSTOM_STYLES = { | |
control: (provided) => ({ | |
...provided, | |
fontSize: '0.875rem', | |
lineHeight: '1.25rem' | |
}), | |
valueContainer: (provided) => ({ | |
...provided, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node template | |
# next.js build output | |
.next | |
# dotenv environment variables file (build for Zeit Now) | |
.env | |
.env.build | |
# Logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true | |
}, | |
"extends": ["airbnb"], | |
"globals": { | |
"document": false, | |
"escape": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import codecs | |
import cStringIO | |
import csv | |
import json | |
import sys | |
""" | |
Convert Django json datadump fields into csv. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright 2015 James Cheese | |
# You may do anything with this work that copyright law would normally | |
# restrict, so long as you retain the above notice(s) and this license | |
# in all redistributed copies and derived works. There is no warranty. | |
# | |
# Python 3 Upgrade for Django Droplet | |
# Will update the "Django on 14.04" Digital Ocean image. | |
# Run as root. |