Skip to content

Instantly share code, notes, and snippets.

@dabrattoli
dabrattoli / Event-widget.php
Last active September 3, 2016 21:49
WordPress Event widget Angular App
<?php
// Call Fetch Code
//require_once( plugin_dir_path( __FILE__ ).'php/event-rest-api-fetch.php' );
/** Widget Code */
class LCCC_Feed_Widget extends WP_Widget {
/**
* Sets up the widget's name and attributes
@jdcauley
jdcauley / gulpfile.js
Created August 5, 2015 19:29
Simple WP Gulpfile
var gulp = require('gulp'),
watch = require('gulp-watch'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
minify = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
stylish = require('jshint-stylish'),
uglify = require('gulp-uglify'),
concat = require('gulp-concat');
@konsumer
konsumer / gulpfile.js
Created December 12, 2014 05:32
Simple gulpfile for 90% of your react projects
var gulp = require('gulp-help')(require('gulp')),
util = require('gulp-util'),
tap = require('gulp-tap'),
source = require('vinyl-source-stream'),
streamify = require('gulp-streamify'),
merge = require('merge-stream'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
minifyHTML = require('gulp-minify-html'),
browserify = require('browserify'),
@timwco
timwco / instructions.md
Last active September 29, 2018 00:23
How to use Bourbon, Neat, Bitters and Refills in a Yeoman app with Bower.

Your bower_components folder should be outside of your /app folder. Otherwise you'll need to modify the paths below.

  • Scaffold your Yeoman App
  • Install Bourbon, Neat & Bitters
    • bower install bourbon
    • bower install neat
    • bower install bitters
  • In your app/stylesheets/main.scss include the assets in this order
@import '../../bower_components/bourbon/dist/bourbon';
@davestewart
davestewart / mixture.js
Last active August 29, 2015 13:58
Commented mixture settings file
{
// --------------------------------------------------------------------------------
// project
"projectName" : "Haven",
"projectDescription" : "New Haven site, built using Mixture",
// --------------------------------------------------------------------------------