Download and run the install script using curl:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
or use wget:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
module Jekyll | |
Page.class_eval { | |
def clone | |
Page.new(@site, @base, @dir, @name) | |
end | |
} |
shell: { | |
mongo: { | |
command: "sh startMongoIfNotRunning.sh", | |
options: { | |
async: true | |
} | |
}, | |
} |
curl -O -L https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_darwin_amd64.zip | |
unzip packer_0.8.6_darwin_amd64.zip | |
sudo mv packer_0.8.6 /usr/local/packer | |
sudo chown $USER /usr/local/packer/ | |
# then update your .bash_profile with the new path e.g.: | |
# export PATH="/usr/local/git/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/local/packer:$PATH" |
import React from "react"; | |
import { render } from "react-dom"; | |
const ParentComponent = React.createClass({ | |
getDefaultProps: function() { | |
console.log("ParentComponent - getDefaultProps"); | |
}, | |
getInitialState: function() { | |
console.log("ParentComponent - getInitialState"); | |
return { text: "" }; |
Last revised on [DATE]
[COMPANY] will collect certain non-personally identify information about you as you use our sites. We may use this data to better understand our users. We can also publish this data, but the data will be about a large group of users, not individuals.
We will also ask you to provide personal information, but you'll always be able to opt out. If you give us personal information, we won't do anything evil with it.
const say = (what) => | |
(times) => | |
[...Array(times||0)].map((v,i)=>i).forEach((_) => console.log(what)) | |
say("What")(30) |
// Playing with Thunks | |
// See: http://jsbin.com/qebuluveje/edit?js,console | |
// Awesome! | |
const fakeAjax = (text, cb) => | |
setTimeout(() => { | |
cb(text); | |
}, 5000); | |
function getFile(file) { | |
var text, fn; |