Skip to content

Instantly share code, notes, and snippets.

View idangoldman's full-sized avatar
🎧

Idan Goldman idangoldman

🎧
View GitHub Profile
<?php
/**
* The template for displaying all resource pages
*
* Template Name: Resource
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
@idangoldman
idangoldman / Gulpfile.js
Created May 28, 2016 10:36
Simple gulpfile for building css, js, html and assets with compass, browserify, nunjucks and moving them from app to _build folder
var gulp = require('gulp');
autoprefixer = require('gulp-autoprefixer'),
browserify = require('browserify'),
clean = require('gulp-clean'),
compass = require('gulp-compass'),
es = require('event-stream'),
glob = require('glob'),
rename = require('gulp-rename'),
source = require('vinyl-source-stream'),
nunjucks = require('gulp-nunjucks');
<?php $country_list = array(
'AF' => 'Afghanistan',
'AX' => 'Aland Islands',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',
'AO' => 'Angola',
'AI' => 'Anguilla',
'AQ' => 'Antarctica',