I hereby claim:
- I am mathieuloutre on github.
- I am mathieuloutre (https://keybase.io/mathieuloutre) on keybase.
- I have a public key ASA1ga7hgDfAmgn3XqUK_t1M8Gy5wLKksNiHrFauKDKesQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const fs = require('fs') | |
const yaml = require('js-yaml') | |
const Mustache = require('mustache') | |
const addressFormats = yaml.safeLoad(fs.readFileSync('./worldwide.yaml', 'utf8')) | |
const first = function () { | |
return (text, render) => render(text, this).split(/\s*\|\|\s*/).find((el) => el) | |
} |
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"globals": { | |
"document": true, | |
"window": true, |
<html> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=9"> | |
<head> | |
<title>OTVar Test: Marvin Visions</title> | |
<style> | |
@font-face { | |
font-family: "MarvinVisions"; | |
src: url(MarvinVisionsGX.ttf); |
The Penguin Book of Recano by John Charles | |
The Decifestes by Erandius Baule | |
The Complete Short Stories by Alexander Khanine | |
The Complete Stories by John Benchelle | |
The Story of the Father Saisian by Alexander Lewell | |
The Penguin Book of the Artist by Charlos Pote Dingerette | |
The Book of Gunk by Arne Galder | |
The Prince of Sherlock Sagas by Alenard de Susara | |
The Last Bather by James Cassemi | |
The Search of a Charles of Sime of Frederick Holmes by Giang Franco |
$.getJSON("http://geoip.nekudo.com/api?callback=?", function (res) { | |
if (res.country && res.country.code === "GB") { | |
$("#retailer-links").html("<li><a href='https://www.amazon.co.uk/'>Amazon</a></li><li><a href='https://www.waterstones.com/'>Waterstones</a></li>") | |
} | |
}) |
function merge (obj, source) { | |
for (prop in source) { | |
if (typeof source[prop] === 'object' && typeof obj[prop] === 'object') { | |
merge(obj[prop], source[prop]) | |
} | |
else { | |
if (obj[prop] === void 0) { | |
obj[prop] = source[prop] | |
} | |
} |
grunt.initConfig({ | |
aws: grunt.file.readJSON('aws-keys.json'), // Read the file | |
compress: { | |
assets: { | |
options: { | |
mode: 'gzip' | |
}, | |
}, | |
files: [ |