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 { | |
COLORS, | |
LANGUAGES, | |
LANGUAGE_MODE_HASH, | |
LANGUAGE_NAME_HASH, | |
LANGUAGE_MIME_HASH, | |
DEFAULT_SETTINGS, | |
THEMES_HASH | |
} from '../lib/constants' |
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
def asciify(data): | |
""" | |
SYNOPSIS | |
Asciifies strings, lists and dicts, and nested versions of same | |
DESCRIPTION | |
The JSON spec (http://www.ietf.org/rfc/rfc4627.txt) -- "JSON text SHALL | |
be encoded in Unicode". For apps that don't use unicode, this function | |
walks through all levels of a JSON data structure and converts each item | |
to ASCII. See http://stackoverflow.com/questions/956867/ for original. |
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
## | |
## zip command itself can clean it up for you | |
Can be fixed after the fact by `zip -d filename.zip __MACOSX/\*` |