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

Certificate Signing Request generation with OpenSSL

The following command lines avoid specifying parameters as much as possible hoping that your version of OpenSSL will make the best choices for the current time and that it will allow this recipe to stay up-to-date as long as possible.

Private key

Generate a 4096 bits long key using the RSA algorithm using the SHA2 hash.

openssl req -nodes -newkey rsa:4096 -sha256 -keyout <domain.tld>.key -out <doman.tld>.csr
# Generate release notes from last MINOR release tag, crediting each author per commit.
git log `git describe --abbrev=0 --tags`.. --pretty=format:"* %s - @%an"
# Generate release notes from last MINOR release tag, rollup commits to each author
git shortlog `git describe --abbrev=0 --tags`..
View Marx for

Marx for Millennials

November 18, 2013

By Andrew Seal

I saw the best minds of my generation recruited by McKinsey, Goldman Sachs, and Bridgewater. The rest of us became Marxists. There have now been quite a few attempts to account for a sudden "resurgence" of Marxism—or at least a new openness to anticapitalism—among people of my generation. (A representative example, an article in Tablet, was subtitled "For those too young to remember the cold war but old enough to be trapped by the Great Recession, Marxism holds new appeal.") Given the dire economic times, especially for twenty- and thirtysomethings, some leftward shift was expected. But this recursion to Marx seems inexplicable, anachronistic, even cavalier. Why Marx? Why Marx now? Common explanations go something like this: Those of us who reached intellectual maturity in the early and mid-2000s spent much of that time feeling adrift, politically torpid, uncompelled by the aging classics of the Theory Era, yet unable to generate anything d

View .csslintrc
/* =================================================================
* Explicitly ignore
"adjoining-classes" : false,
"box-model" : false,
"box-sizing" : false,
"import" : false,
"universal-selector" : false,
curl -LOk `curl --silent | /usr/bin/awk '/browser_download_url/ { print $2 }' | /usr/bin/sed 's/"//g'`
View base.css
select {
/* anti-aliasing
* Frankly, i don't know why anti-aliasing isn't enabled by default.
* It probably should be, but its nice that "good" developers
* can make their sites look nicer by opting-into antialiased type.
-webkit-font-smoothing: antialiased;