Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| 'use strict'; | |
| //npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev | |
| var gulp = require('gulp'), | |
| clean = require('gulp-clean'), | |
| cleanhtml = require('gulp-cleanhtml'), | |
| minifycss = require('gulp-minify-css'), | |
| jshint = require('gulp-jshint'), | |
| stripdebug = require('gulp-strip-debug'), |
| /** | |
| * Module dependencies. | |
| */ | |
| var pkg = require('../package'); | |
| var env = process.env.NODE_ENV || 'development'; | |
| /** | |
| * Return setting `name`. | |
| * |
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| This playbook has been removed as it is now very outdated. |
| module Cinch | |
| module Plugins | |
| class PluginManagement | |
| include Cinch::Plugin | |
| match(/plugin load (\S+)(?: (\S+))?/, method: :load_plugin) | |
| match(/plugin unload (\S+)/, method: :unload_plugin) | |
| match(/plugin reload (\S+)(?: (\S+))?/, method: :reload_plugin) | |
| match(/plugin set (\S+) (\S+) (.+)$/, method: :set_option) | |
| def load_plugin(m, plugin, mapping) |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.