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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
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
npm install -g log-color-highlight | |
$ cat ~/.lch.conf | |
-green ".* DEBUG .*" | |
-red ".* ERROR .*" | |
-yellow ".* WARNING .*" | |
-red.bold ".* FATAL .*" | |
(venv)01:19 PM ~/src/simplysnap (master) | |
$ simplysnap 2>&1 | lch -c .lch.conf |
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 | |
while read cask version; do | |
current="$(brew cask info $cask | sed -n '1p' | sed -n 's/^.*: \(.*\)$/\1/p')" | |
if (! [[ " ${version} " == *" $current "* ]]); then | |
echo "$cask needs upgrading ${version} to $current." | |
(set -x; brew cask reinstall $cask;) | |
else | |
echo "$cask $version is up-to-date." | |
fi |
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
// title : rpi test | |
// author : John Cole | |
// license : ISC License | |
// file : rpi-test.jscad | |
/* exported main, getParameterDefinitions */ | |
function getParameterDefinitions() { | |
return [{ |
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
function main() { | |
util.init(CSG); | |
var cube = CSG.cube({ | |
radius: 10 | |
}).setColor(1, 0, 0); | |
var sphere = CSG.sphere({ | |
radius: 5 | |
}).setColor(0, 0, 1); |
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
python2.7: | |
pkg: | |
- installed | |
- names: | |
- python2.7 | |
- python2.7-dev | |
- python-pip | |
- python-virtualenv |
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
New gist with XCode 5.0.1 | |
$ brew doctor | |
Warning: Some keg-only formula are linked into the Cellar. | |
Linking a keg-only formula, such as gettext, into the cellar with | |
`brew link <formula>` will cause other formulae to detect them during | |
the `./configure` step. This may cause problems when compiling those | |
other formulae. | |
Binaries provided by keg-only formulae may override system binaries |