Skip to content

Instantly share code, notes, and snippets.

View AlexanderAllen's full-sized avatar
😸
Working from home @ Bushwick, NYC

AlexanderAllen AlexanderAllen

😸
Working from home @ Bushwick, NYC
View GitHub Profile
@AlexanderAllen
AlexanderAllen / README.md
Created May 9, 2016 18:11 — forked from trinitronx/README.md
A shell script to install latest Ansible via pip + dependencies

omnibus-ansible

Install latest Ansible via pip + dependencies via a shell script

This file is used to install ansible in test kitchen when you set in the kitchen.yaml file

require_ansible_omnibus: true

By default test kitchen will always download and use the latest version of this install file.

WARNING: AS SOON AS YOU MERGE CODE HERE IT IS INSTANTLY AVAILABLE TO EVERYONE DOING OMNIBUS KITCHEN ANSIBLE INSTALLS:

@AlexanderAllen
AlexanderAllen / php.ini
Last active April 28, 2016 00:38
Enabling XDebug on Acquia Dev Desktop - WINDOWS 8.1 - php.ini for PHP 5.5.x
;zend_extension="C:\Program Files (x86)\DevDesktop\php5_5\ext\php_xdebug.dll"
; On windows the name of this thing is different from what suggested on the original .ini.
zend_extension="C:\Program Files (x86)\DevDesktop\php5_5\ext\php_xdebug-2.3.2-5.5-vc11.dll"
xdebug.cli_color=1
xdebug.idekey="DD"
xdebug.remote_host="localhost"
xdebug.remote_enable=1
(function ($) {
Drupal.behaviors.nvc_hack = {
attach: function (context, settings) {
alert('attach working foo');
}
};
// Code to be run on page load, and
// on ajax load added here
Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no
@AlexanderAllen
AlexanderAllen / bash-named-param
Created January 15, 2016 17:50 — forked from caruccio/bash-named-param
Named parameters in bash
# Do you like python named parameters (kvargs) ?
# Well, you can have it in bash too!!
$ function myfunc() { local $*; echo "foo=$foo, bar=$bar"; }
$ myfunc bar=world foo=hello
foo=hello, bar=world