Date: January 6th 2018
Time: 5pm -> ?
Zendesk DK HQ
Snaregade 12, 2nd floor
1205 Copenhagen
// place this file in __mocks__ | |
let pendingAssertions | |
exports.prompt = prompts => { | |
if (!pendingAssertions) { | |
throw new Error(`inquirer was mocked and used without pending assertions: ${prompts}`) | |
} | |
const answers = {} |
// ==UserScript== | |
// @name Twitter Cramming | |
// @description Force enable cramming (280 character tweets) on Twitter | |
// @author Prof. 9 | |
// @version 0.1 | |
// @match https://twitter.com/* | |
// @run-at document-idle | |
// @namespace prof9.twittercramming | |
// ==/UserScript== |
class Super { | |
constructor() { | |
this.log = new.target.DI('log'); | |
} | |
static DI(name) { | |
if (name === 'log') return console.log; | |
} | |
} | |
class Sub extends Super { | |
static DI(name) { |
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru
console.lol = function (arguments) { | |
var monkeys = '🐒' | |
arguments = Array.prototype.concat([monkeys], arguments, [monkeys]) | |
console.log.call(null, arguments) | |
} | |
console.lol('hi') |
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
A primer on i18n in Node.js by Martin Heidegger on the night between Dec. 24 and Dec. 25 2015
Many ways lead to the metaphorical rome to achieve i18n and by extension l10n in Node.js. Several packages such as i18next, i18n or node-gettext provide quite accepted implementations for internationalization, yahoo also has pushed the game and published formatjs. But even with those packages at hand i18n can be tricky! Target platform, workflow, human resources, user experience, revisioning - all of that plays an important role when choosing how to setup internationalization for a system. To give a deeper insight in the matter I collected my understanding of i18n in thi