I hereby claim:
- I am hugohil on github.
- I am hugohil (https://keybase.io/hugohil) on keybase.
- I have a public key ASBwwZzPOfuoj-1vMnYzCTYL4uKPpbF4-jioD3N0Ac29LAo
To claim this, I am signing this object:
/* to run: | |
budo index.js --live | |
uncomment the `source.connect(context.destination)` to hear tracks | |
*/ | |
'use strict' | |
const Meyda = require('../../path/to/meyda') // use your local meyda installation |
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#define OLED_RESET 4 | |
Adafruit_SSD1306 display(OLED_RESET); | |
unsigned long frame = 0; | |
const float pi = 3.14; |
var Slack = require('node-slack'); | |
var slack = new Slack('https://hooks.slack.com/services/your/hook/key'); | |
var places = ["Ecole", "Japonais-chinois", "Jumbo", "Lotus", "Franprix", "Castro", "Picard", "Khmer babtou", "Frères Bedri", "Bagel hipster", "Flesh"]; | |
console.log('Yaourtotron 1.0\n©Soixante circuits. Tout droits réservés.'); | |
console.log('Les différents choix sont:'); | |
for(var i = 0; i < places.length; i++){ | |
console.log(' - ' + places[i]); | |
} | |
console.log('\n\nEt le résultat est:'); |
swagger: '2.0' | |
info: | |
version: '1.0.0' | |
title: My API | |
description: A sample API to start hacking with swagger | |
contact: | |
name: John Doe | |
email: johndoe@example.com | |
url: http://example.com | |
license: |
I hereby claim:
To claim this, I am signing this object:
i18n.init({ lng: 'en-EN', load: 'current', fallbackLng: false }, function(t) { | |
var keys = document.querySelectorAll('[data-i18n]'); | |
for (var i = 0; i < keys.length; i++) { | |
var key = keys[i].dataset.i18n; | |
var attribute = null; | |
var attributeRegEx = new RegExp(/\[(\S*)\]/); | |
if(key.match(attributeRegEx)){ | |
attribute = key.match(attributeRegEx)[1]; | |
key = key.replace(attributeRegEx, ''); |
(function() { | |
var scene, camera, renderer; | |
var geometry, material, mesh; | |
init(); | |
animate(); | |
function init() { | |
scene = new THREE.Scene(); |
<snippet> | |
<content><![CDATA[console.log('$TM_FILENAME - $0');]]></content> | |
<tabTrigger>jslog</tabTrigger> | |
<scope>source.js</scope> | |
</snippet> |
// You'll need to download i18n as well as jquery | |
// http://i18next.com/ | |
// https://jquery.com/download/ | |
$(document).ready(function(){ | |
i18n.init({ lng: 'en-EN', load: 'current', fallbackLng: false }, function(t) { | |
$('[data-i18n]').i18n(); | |
}); | |
}); |
// Usage: | |
// node scale-crop.js infile zoom translate_x translate_y rotation outfile | |
'use strict'; | |
var gm = require('gm'); | |
var args = process.argv.slice(2); | |
console.log(args); | |
var infile = args[0]; |