Skip to content

Instantly share code, notes, and snippets.


Jim Taylor jalama

  • Workstate Consulting LLC
  • Columbus, OH USA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jalama on github.
  • I am jalama ( on keybase.
  • I have a public key ASB4dJbnMqogWCcNdGTegpLat1vRbl4ys_hpBFB1sniqXwo

To claim this, I am signing this object:

jalama / gitconfig
Last active Jan 4, 2018
Github aliases
View gitconfig
name = Your Name
email =
editor = vim
excludesfile = ~/.gitignore
filemode = false
symlinks = true
autocrlf = false
jalama / drupal.arg.js
Created Jul 12, 2016 — forked from aklump/drupal.arg.js
Add Drupal.arg() for parsing urls in Drupal
View drupal.arg.js
* Adds method arg to the Drupal object for grabbing url args
* @author Aaron Klump, In the Loft Studios, LLC
* @see
* @see
* For use in a theme or module add the following to your .info file
* @code
* scripts[] = [path to js dir]/drupal.arg.js
View Dockerfile
# from
FROM php:7.0-apache
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN a2enmod rewrite
# install the PHP extensions we need
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev openssh-server && \
rm -rf /var/lib/apt/lists/* && \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr && \
jalama /
Last active Apr 12, 2016 — forked from oodavid/
Backup MySQL to Amazon S3

Backup MySQL to Amazon S3

This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)

Sister Document - Restore MySQL from Amazon S3 - read that next

1 - Install s3cmd

this is for Centos 5.6, see for other systems like ubuntu etc

View VVD settings.local.php Drupal 7
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'service',
'username' => 'root',
'password' => 'root',
'host' => 'localhost',
'port' => '',
View gist:c45502a27a7b65bac432
"modelNumber": "AATHS4",
"serialNumber": "16020002",
"REVRaw": {
"type": "Buffer",
"data": [
jalama / Ruby set-up
Last active Dec 12, 2015
Cucumber set-up
View Ruby set-up
ruby "1.9.3"
source :rubygems
gem "capybara"
gem "cucumber"
gem "rspec"
gem "sinatra"
gem "benchmark-ips"
gem "thin"
gem "poltergeist", :path => "../gems/poltergeist"
gem "http_parser.rb"
View Drush get Drupal table list
drush sqlq "select distinct concat('describe ', table_name, ';') as query from information_schema.tables where table_schema='<db_name_here>'"| xargs -I % drush sqlq "%" > ~/tables.txt
View One commit per priject
# Git Repo
drupal: # ssh://<user><repo folder>
# Build related
value: dev
# One Git commit per Drupal project (ie module/theme/core)