Skip to content

Instantly share code, notes, and snippets.

🕶

0xADADA 0xadada

🕶
Block or report user

Report or block 0xadada

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@0xadada
0xadada / base.css
Last active Dec 28, 2016
Pretty much the most important CSS you'll add to any website.
View base.css
html,
button,
input,
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;
@0xadada
0xadada / github-latest-release.sh
Created Jul 8, 2015
Download latest GitHub project release
View github-latest-release.sh
curl -LOk `curl --silent https://api.github.com/repos/jasmine/jasmine/releases/latest | /usr/bin/awk '/browser_download_url/ { print $2 }' | /usr/bin/sed 's/"//g'`
View Marx for Millennials.md

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

@0xadada
0xadada / rn.sh
Last active Sep 30, 2015
release-notes
View rn.sh
# 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`..
@0xadada
0xadada / README.md
Created Oct 6, 2015
OpenSSL Certificate Signing Request Generation CSR
View README.md

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
@0xadada
0xadada / atom-shortcuts.md
Last active Apr 1, 2016
Atom editor keyboard commands and shortcuts
View atom-shortcuts.md

Atom keyboard commands and shortcuts

Some commonly used keys using Atom editor.

Legend

Command Character
command
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://visual-assault.org/'
});
response.write( 'hello world\n' );
console.info( '[INFO]', 'user-agent', request.headers['user-agent'] );
} );
@0xadada
0xadada / bash-cheatsheet.md
Last active Jun 16, 2016
Bash movement, keyboard commands and shortcuts
View bash-cheatsheet.md

Bash Cheatsheet

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

Legend

Command Keyboard Character
command
@0xadada
0xadada / meta-tags.md
Created Feb 12, 2017 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags
View meta-tags.md

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

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'>
You can’t perform that action at this time.