This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
function i18n(t) { | |
for (var o = [t[0]], i = 1, l = arguments.length; i < l; i++) | |
o.push(arguments[i], t[i]); | |
return o.join(''); | |
} |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
var crypto = require('crypto'); | |
// larger numbers mean better security, less | |
var config = { | |
// size of the generated hash | |
hashBytes: 32, | |
// larger salt means hashed passwords are more resistant to rainbow table, but | |
// you get diminishing returns pretty fast | |
saltBytes: 16, | |
// more iterations means an attacker has to take longer to brute force an |
var isoCountries = { | |
'AF' : 'Afghanistan', | |
'AX' : 'Aland Islands', | |
'AL' : 'Albania', | |
'DZ' : 'Algeria', | |
'AS' : 'American Samoa', | |
'AD' : 'Andorra', | |
'AO' : 'Angola', | |
'AI' : 'Anguilla', | |
'AQ' : 'Antarctica', |
Array.prototype.slice_mutate = (function () { | |
var i; | |
return function slice_mutate(from, to) { | |
// first we set the array's length to the item at the "to" position | |
this.length = to; | |
// any items that were after the "to" position will be discarded | |
// from the first item... | |
i = 0; |
/* | |
* Copyright (c) 2010 Tobias Schneider | |
* This script is freely distributable under the terms of the MIT license. | |
*/ | |
(function(){ | |
var UPC_SET = { | |
"3211": '0', | |
"2221": '1', | |
"2122": '2', |