Skip to content

Instantly share code, notes, and snippets.

View dnlmzw's full-sized avatar

Daniel J. Mierzwinski dnlmzw

View GitHub Profile
jst:
options:
processName: (filename) ->
return filename.replace('<%= BASE_PATH %>/templates/','').replace('.jst','')
compile:
expand: true
cwd: '<%= BASE_PATH %>/templates/'
src: ['**/*.jst']
dest: '<%= DEVELOPMENT_PATH %>/scripts/templates/'
ext: '.js'
// // ########################
// // ########################
// // ########################
// // ########################
// GALLERY SHORTCODE OVERWRITE
// Bind to header
add_action('wp_head', 'header_init');
// Remove default shortcode
remove_shortcode('gallery', 'gallery_shortcode');
@dnlmzw
dnlmzw / Alias
Created January 4, 2014 21:22
Create symbolic link for MAMP "htdocs"-folder to current Terminal window path. Finally open localhost:8888. Shortcut through "setdocs" with alias.
alias setdocs="~/Dropbox/Scripts/set_htdocs_open_localhost.sh"
module.exports = (grunt) ->
# Package
# =======
pkg = require './package.json'
folders =
src: 'mpg_src'
dev: 'mpg'
dist: 'mpg_dist'