For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |
// https://developer.mozilla.org/en/using_xmlhttprequest | |
// http://web.archive.org/web/20071103070418/http://mgran.blogspot.com/2006/08/downloading-binary-streams-with.html | |
function getBinary(file){ | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", file, false); | |
xhr.overrideMimeType("text/plain; charset=x-user-defined"); | |
xhr.send(null); | |
return xhr.responseText; | |
} |
(function( window, document, undefined ){ | |
})( this, this.document ); | |
(function( global, undefined ){ | |
})( this ); | |
// miketaylr |
// Mobile First | |
@media screen and (min-width: 321px) { // iPhone landscape | |
} | |
@media screen and (min-width: 481px) { // iPad portrait | |
} |
- Trailing commas are ok | |
- No reserved words for property names | |
- NaN, Infinity, undefined : are all constants | |
- parseInt() defaults to radix 10 | |
- /regexp/ produces new reg ex object every time | |
- JSON.parse(), JSON.stringify() | |
- Function.prototype.bind | |
- String.prototype.trim | |
- Array.prototype.every, filter, forEach, indexOf, lastIndexOf, map, reduce, reduceRight, some, | |
- Date.now() |
http://action.io | |
http://add.io | |
http://adstage.io | |
http://airbrake.io | |
http://animation.io | |
http://ansr.io | |
http://apc.io | |
http://apiary.io | |
http://apis.io | |
http://appetite.io |