-
Open Terminal.app, which is probably in
/Applications/Utitlities/
-
Make a new directory and go into it with the following command:
mkdir ripples_project && cd ripples_project
-
Download the script:
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
#leftBar { | |
float: left; | |
width: 100px; | |
background: green; | |
} |
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
> WORKING=yes node request.js | |
STATUS: 200 | |
> WORKING=no node request.js | |
STATUS: 404 |
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
### #### ### out-of-date! use https://github.com/goodeggs/developer-start ### ### ### | |
# download command line tools at https://developer.apple.com | |
# some tools will complain about not knowing where binaries are, until you do this: | |
sudo xcode-select --switch / | |
# set up a basic .profile | |
cat <<EOF > ~/.profile | |
export PATH="/usr/local/bin:$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
# Basically, ui-sref-active as implemented does not support nested states | |
# which is not particularly useful for many of the cases in this app. | |
# | |
# For more information take a look at this github issue: | |
# https://github.com/angular-ui/ui-router/issues/704 | |
# | |
# And if it's fixed in core, then let's get rid of this directive! :D | |
app = angular.module 'lentilDirectives' | |
parseStateRef = (ref) -> |
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
amqplib = require 'amqplib' | |
exec = require('child_process').exec | |
child = exec('rabbitmqctl trace_on') | |
child.stdout.pipe process.stdout | |
child.stderr.pipe process.stderr | |
connection = null | |
channel = null |
I hereby claim:
- I am maxedmands on github.
- I am thismax (https://keybase.io/thismax) on keybase.
- I have a public key ASAxShkGgiqKDdYqO7kkKmrHx0pLkkKIajUcePszNW6paAo
To claim this, I am signing this object:
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
pivotal = require 'pivotal' | |
fibrous = require 'fibrous' | |
shelljs = require 'shelljs' | |
slug = require 'slug' | |
humanparser = require 'humanparser' | |
token = # ???? | |
projectId = # ??? | |
name = # ??? |
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/sh | |
# this lives in ./scripts/install_hooks.sh | |
SCRIPT_DIR=$(cd $(dirname "${0}") && pwd -L) | |
if [ "${NODE_ENV:="development"}" != "development" ]; then | |
echo 'Not in dev' | |
exit 0 | |
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
const Promise = require('bluebird'); | |
console.log('starting promise'); | |
Promise.resolve() | |
.then(function () { | |
console.log('grabbing resource'); | |
return Promise.using(getDisposer(), function () { | |
console.log('starting delay'); | |
return Promise.delay(2000) | |
.then(function () { |
OlderNewer