1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

updated bunch of file paths and changed the way posts are loaded

This commit is contained in:
2016-01-05 12:28:04 -06:00
parent 4bb8cae81e
commit 6ab45fe935
13249 changed files with 317868 additions and 2101398 deletions

18
node_modules/cli-color/bin/generate-color-images generated vendored Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env node
'use strict';
var uniq = require('es5-ext/array/#/uniq')
, deferred = require('deferred')
, resolve = require('path').resolve
, gm = require('gm')
, colors = require('../lib/_xterm-colors');
gm.prototype.pThumb = deferred.gate(deferred.promisify(gm.prototype.thumb), 50);
deferred.map(uniq.call(colors), function (color) {
return gm('ROSE:').fill('#' + color).drawRectangle(0, 0, 100, 100)
.pThumb(1, 1, resolve(__dirname, color + '.png'), 80).aside(function () {
console.log('Done: ' + color);
});
}).done();