Skip to content

Instantly share code, notes, and snippets.

View halex2005's full-sized avatar

halex2005 halex2005

View GitHub Profile
@halex2005
halex2005 / package.json
Created November 24, 2017 20:54
Automate github issue creation for Jekyll-based blog
{
"scripts": {
"patch-posts": "node -r babel-core/register patch-posts.js"
},
"author": "halex2005",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"bluebird": "^3.5.1",
@halex2005
halex2005 / gulpfile.js
Last active April 29, 2021 15:56
gulpfile for codeofcliber blog
var gulp = require('gulp');
var shell = require('gulp-shell');
var htmlmin = require('gulp-htmlmin');
gulp.task('htmlmin', function() {
return gulp.src('./_site/**/*.html')
.pipe(htmlmin({
collapseWhitespace: true,
removeComments: true,
conservativeCollapse: true,