This re-styles your sublime text 2 sidebar to be darker, so it doesn't blind you when using a dark theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
| #!/usr/bin/env bash | |
| CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" | |
| CURRENT_FOLDER="$(basename $(pwd))" | |
| TARGET_FOLDER="web" | |
| LOCAL_ALIAS="local" | |
| DRUSH_ALIAS_GROUP="your-website-name" | |
| DRUSH_PATH="../vendor/bin/drush" | |
| SERVER_ABSOLUTE_PATH="/app/web/" | |
| UPLOAD_FILES_DIRECTORY="sites/default/files/uploads" |
| # Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer | |
| # Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode) | |
| # built application files | |
| *.apk | |
| *.ap_ | |
| *.jar | |
| !gradle/wrapper/gradle-wrapper.jar | |
| # lint folder |
| name = User register alter example | |
| description = Demonstrates how to alter the registration form with an AHAH element. | |
| core = 6.x |
| // Create a private scope. | |
| (function( $, on ){ | |
| // I proxy the given function and return the resultant GUID | |
| // value that jQuery has attached to the function. | |
| var createAndReturnProxyID = function( target ){ | |
| // When generating the proxy, it doesn't matter what the | |
| // "context" is (window in this case); we never actually |
| #!/bin/bash | |
| COMPASS="/var/lib/gems/1.8/bin/compass" | |
| case "$1" in | |
| ""|start) | |
| echo "Starting compass watch..." | |
| if [ -f ./cwatch.pid ] | |
| then | |
| echo "Sorry, but compass is already watching this folder..." |
| /** | |
| * $.parseParams - parse query string paramaters into an object. | |
| */ | |
| (function($) { | |
| var re = /([^&=]+)=?([^&]*)/g; | |
| var decodeRE = /\+/g; // Regex for replacing addition symbol with a space | |
| var decode = function (str) {return decodeURIComponent( str.replace(decodeRE, " ") );}; | |
| $.parseParams = function(query) { | |
| var params = {}, e; | |
| while ( e = re.exec(query) ) { |
| // 1: how could you rewrite the following to make it shorter? | |
| if (foo) { | |
| bar.doSomething(el); | |
| } else { | |
| bar.doSomethingElse(el); | |
| } | |
| /* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
| * http://benalman.com/ | |
| * Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
| (function($) { | |
| var o = $({}); | |
| $.subscribe = function() { | |
| o.on.apply(o, arguments); |