Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block evanmcd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
evanmcd / gist:3737558
Created Sep 17, 2012
Sublime Text 2 SublimeLinter user settings
View gist:3737558
"browser" : false,
"camelcase" : true,
"curly" : true,
"devel" : false,
"indent" : false,
"jquery" : true,
evanmcd / PagesToJSON
Created Jul 10, 2012
First try at a ProcessWire module to convert a PageArray to JSON
View PagesToJSON
* ProcessWire PagesToJSON Module
* Adds the ability to output a PageArray as JSON
* Original code from RC here:
* Don't for get to add header("Content-type: application/json"); to pages that output JSON only
* ProcessWire 2.x
View gist:864926
/* app.js
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
var baseWin = Titanium.UI.createWindow({
evanmcd / base.js
Created Mar 10, 2011
A window opened from app.js - demonstrating lack of functioning zIndex in Titanium windows
View base.js
var win = Titanium.UI.currentWindow;
var menuOpen = false;
var lbl = Titanium.UI.createLabel({
View Lighthouse-Subversion-post-commit-hook_Win.rb
require 'yaml'
require 'cgi'
require 'net/http'
require 'uri'
# configure multiple project settings below
SVNLOOK = `E:\Subversion\bin\svnlook.exe'
LOG_FILE = 'C:\temp\svn-hooks.log'
You can’t perform that action at this time.