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
#!/usr/bin/env node | |
"use strict"; | |
const _ = require("lodash"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const jspm = require("jspm"); | |
const build = new jspm.Builder(); | |
const System = build.loader; | |
// Generate the path to the root of the project... We can use this to |
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
declare type CerebralPath = string | Array<string>; | |
declare module 'cerebral' { | |
declare interface StateFunc { | |
set(path: CerebralPath, value: ?any): void; | |
get(path: CerebralPath): void; | |
} | |
declare interface OutputFuncEmptyT { | |
(output: ?Object): void; |
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
#!/usr/bin/env bash | |
# file: ~/.virtualenvs/postmkvirtualenv | |
# This hook is run after a new virtualenv is activated. | |
# setup python interpretor and sitepackages | |
# for Sublime Text's SublimeCodeIntel plugin. | |
# codeintel looks in the root of any folder opened via `subl foldername` | |
# for foldername/.codeintel/config | |
# it also looks in ~/.codeintel/config |