Skip to content

Instantly share code, notes, and snippets.

View albertojg's full-sized avatar

Alberto Gosal albertojg

View GitHub Profile
@albertojg
albertojg / .block
Last active January 26, 2018 09:21
Film Flowers, Full Starter Code
license: gpl-3.0
@albertojg
albertojg / .block
Last active January 26, 2018 08:35
Film Flowers, Single Starter Code
license: gpl-3.0
@albertojg
albertojg / .block
Last active January 26, 2018 07:41
Film Flowers, Single Starter Code
license: gpl-3.0
@albertojg
albertojg / .block
Last active January 26, 2018 07:38
Film Flowers Petal Starter Code
license: mit
@albertojg
albertojg / combine-path-mapper.js
Created December 9, 2016 07:04
Transform import statement
const fs = require('fs');
const args = process.argv.slice(2);
const options = args
.reduce((result, arg) => {
const splittedArg = arg.split('=');
const key = splittedArg[0].replace('--', '');
const value = splittedArg[1];
result[key] = value;