Update FileVault password with user account password

sudo fdesetup remove -user username
sudo fdesetup add -usertoadd username
View old-fashioned.package.json
"name": "Old Fashioned",
"version": "1.0.0",
"description": "The Old Fashioned Cocktail",
"scripts": {
"build": "dissolve && mix && stir && pour && serve",
"dissolve": "cat muddler bitters sugar > mixer && muddle",
"mix": "cat bourbon > mixer",
"stir": "cycle spoon --time 30s",
"pour": "pour mixer > tumbler",
View await-async.js
// async / await
* Resolve a truthy value, reject a falsy value.
* @param {any} value Any Javascript primative type.
* @param {Number} timeout Time n milliseconds before function returns.
* @returns {Promise} a Promise.
let isTruthy = function(value, timeout) {
return new Promise((resolve, reject) => {
View laughing-man.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j


Copied from

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>

Bash Cheatsheet

Movement, keyboard commands and shortcuts for the GNU Bourne-Again SHell.


Command Keyboard Character
View app.js
var http = require('http');
var s = http.createServer( function( request, response ) {
response.writeHead(301, {
'Content-Type': 'text/plain; charset=utf8',
'Location': 'view-source://'
response.write( 'hello world\n' ); '[INFO]', 'user-agent', request.headers['user-agent'] );
} );

Atom keyboard commands and shortcuts

Some commonly used keys using Atom editor.


Command Character