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
mkdir -p /etc/sv/aneth | |
echo "#!/bin/sh | |
exec /usr/local/bin/node /usr/local/bin/aneth start $HNAME -w" > /etc/sv/aneth/run | |
chmod +x /etc/sv/aneth/run | |
ln -nfs /etc/sv/aneth /etc/service |
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
javascript 'scripts', {build: 'public/assets/javascripts', compress: true}, -> | |
@js 'app/assets/javascripts' | |
@bundles 'application' | |
stylesheets 'styles', {build: 'public/assets/stylesheets', compress: true}, -> | |
@css 'app/assets/stylesheets' | |
@bundles 'application' | |
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
Process: node [8092] | |
Path: /usr/local/Cellar/node/0.6.17/bin/node | |
Identifier: node | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [5502] | |
Date/Time: 2012-05-13 01:20:40.095 -0400 | |
OS Version: Mac OS X 10.7.4 (11E53) | |
Report Version: 9 |
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
Info Watching 42 files | |
Info assets/src/coffee/admin/inbox.coffee removed | |
Info assets/src/_cache/admin/inbox.js removed | |
Compiled assets/src/coffee/admin/content.coffee | |
Compiled assets/src/coffee/admin/content.coffee | |
Compiled assets/src/coffee/admin/base.coffee | |
Compiled assets/src/coffee/admin/base.coffee | |
Packaged assets/static/js/admin/shop.js | |
Packaged assets/static/js/admin/shop.js | |
Info Watching 61 files |
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
# In Brewfile | |
@stylesheets 'package_name', -> | |
# package body ... | |
@javascript 'other_package_name', -> | |
# package body ... |
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
sudo CFLAGS=-O0 ./configure --prefix=/usr/local/erlang --enable-threads --enable-darwin-64bit | |
# make and install it | |
sudo make | |
sudo make install | |
# check it -- you should get the erlang shell | |
/usr/local/erlang/bin/erl | |
# now set the system wide path |
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
// your code … | |
firstquery.on( 'end', function() { | |
var i,l; | |
for ( i = 0, l = data.geoms.length; i < l; i++ ) { | |
var geo = data.geoms[i]; | |
client.query( | |
'insert into geometries ( name, layer_id, id, the_geom ) values ( $1, $2, $3, st_geometryfromtext( $4, 4326 )', | |
[ geo.name, layer_id, geo.id, geo.the_geom ] | |
).on('end', function() { console.log(client.queryQueue); }); |
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
clickBool = false | |
contentClick = -> | |
clickBool = not a | |
@animate | |
opacity: 0.0 | |
marginTop: '-1000' | |
, 750, -> | |
element = if a then param is "virtualsystem" else "splash" | |
($ '##{element}').css |
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
echo "Installing core packages" | |
brew install gfortran | |
brew install python | |
brew install distribute | |
brew install mongodb | |
brew install hdf5 | |
brew install ghostscript | |
brew install git | |
echo "Installing custom python libraries" |
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
cache: (file) -> | |
@test file, => | |
file.group: @name | |
@getPreparedContent file, => | |
@resolveDependencies file, => | |
@emit "resolvedDependencies", file | |
@backend.set file, (err) => | |
sys.puts "Could not cache file $file.path" if err | |
@emit "cachedFile", file |