- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.
- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( IS_DEV_SITE ) { | |
//Disable RSS Feeds functions | |
add_action('do_feed', array( $this, 'disabler_kill_rss' ), 1); | |
add_action('do_feed_rdf', array( $this, 'disabler_kill_rss' ), 1); | |
add_action('do_feed_rss', array( $this, 'disabler_kill_rss' ), 1); | |
add_action('do_feed_rss2', array( $this, 'disabler_kill_rss' ), 1); | |
add_action('do_feed_atom', array( $this, 'disabler_kill_rss' ), 1); | |
if(function_exists('disabler_kill_rss')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# DESC: | |
# Will move ~/Library/Preferences/.WebIdeXX (config) | |
# and ~/Library/Application Support/.WebIdeXX (plugins) | |
# to ~/G/G/etc/.phpstormX | |
# /config | |
# /plugins | |
# and updates PhpStorm.app/Contents/bin/idea.properties to point to new location. | |
# | |
# REF: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# USAGE: reset_permissions_on_time_machine TIMEMACHINE_HD_NAME OLD_COMPUTER_NAME | |
function reset_permissions_on_time_machine(){ | |
echo | |
TIMEMACHINE_HD_NAME="$1" | |
OLD_COMPUTER_NAME="$2" | |
if [ -z "$TIMEMACHINE_HD_NAME" ]; then | |
echo "USAGE: reset_permissions_on_time_machine TIMEMACHINE_HD_NAME OLD_COMPUTER_NAME" | |
echo "Choose the name of the Time Machine disk:" |
This has been moved to a repo: smhmic/ga-spy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gtm = { | |
'updateAllUserPermissions' : function( val ){ | |
val = val || 2; | |
// Update user permissions far all Containers in an Account | |
//https://tagmanager.google.com/#/admin/accounts/00000000/users/create | |
jQuery( '[data-ng-model="containerPermission.permission"]' ).val( val ).change() | |
}, | |
// Make Container export preview copyable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function(){ | |
var k, timestamp; | |
timestamp = google_tag_manager[{{Container ID}}].dataLayer.get('gtm.start'); | |
for( k in window ){ | |
if( window[k] && window[k][0] && timestamp === window[k][0]['gtm.start'] ){ | |
return k; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Created by stephen on 3/12/15. */ | |
'use strict'; | |
/** | |
* Convenience function for hardocding multiline strings, without needing use explicit "\n" and concatenate lines. | |
* @param {function} fn - A function with a block comment as it's entire definition. Will not be executed. | |
* @return {string} The contents of the block comment in the definition of @param fn. | |
*/ | |
function HEREDOC( fn ){ | |
return fn.toString().match( /\/\*[\n\l]?([\s\S]*?)\*\//m )[1]; |