Skip to content

Instantly share code, notes, and snippets.

View lunaroja's full-sized avatar

Abraham Velazquez Tello lunaroja

View GitHub Profile
@lunaroja
lunaroja / gulpfile.js
Created February 16, 2017 01:02 — forked from xzyfer/gulpfile.js
True incremental sass compilation
var production = process.env.APP_ENV === "test";
var gulp = require('gulp');
var gutil = require('gulp-util');
var sass = require('gulp-sass');
var cssmin = require('gulp-minify-css');
var prefix = require('gulp-autoprefixer');
var newer = require('gulp-newer');
var print = require('gulp-print');
var notify = require('gulp-notify');
var batch = require('gulp-batch');
@lunaroja
lunaroja / running_jekyll-cloud-9.md
Last active October 20, 2016 23:59 — forked from michaelhiiva/running_jekyll-cloud-9.md
Running Jekyll on Cloud9

Run Jekyll in the Cloud9

Running jekyll projects on Cloud 9 requires this jekyll serve -H $IP -P $PORT --baseurl "" command in the terminal.

Setting up a new run configuration

  1. Under the menu select Run > Run Configuration > New Run Configuration.
  2. Then enter jekyll serve -H $IP -P $PORT --baseurl "" for the Command.
  3. Then enter Jekyll for the Run Configuration. This will ensure that you can access it quickly in the Run > Run Configuration > Jekyll.
<?php
/**
* Premailer API PHP class
* Premailer is a library/service for making HTML more palatable for various inept email clients, in particular GMail
* Primary function is to convert style tags into equivalent inline styles so styling can survive <head> tag removal
* Premailer is owned by Dialect Communications group
* @link http://premailer.dialect.ca/api
* @author Marcus Bointon <marcus@synchromedia.co.uk>
*/