Skip to content

Instantly share code, notes, and snippets.

View jalama's full-sized avatar

Jim Taylor jalama

  • Workstate Consulting LLC
  • Columbus, OH USA
View GitHub Profile
@jalama
jalama / gitconfig
Last active January 4, 2018 12:53
Github aliases
[user]
name = Your Name
email = xxx@example.com
[core]
editor = vim
excludesfile = ~/.gitignore
filemode = false
symlinks = true
autocrlf = false
[merge]
@jalama
jalama / Ruby set-up
Last active December 12, 2015 01:38
Cucumber 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"
@jalama
jalama / gist:cee3a6d611e677125f5b
Created July 21, 2014 11:14
Commerce Exactor patch
diff --git a/modules/commerce_exactor_calc/commerce_exactor_calc.module b/modules/commerce_exactor_calc/commerce_exactor_calc.module
index e3cb463..e99cf27 100644
--- a/modules/commerce_exactor_calc/commerce_exactor_calc.module
+++ b/modules/commerce_exactor_calc/commerce_exactor_calc.module
@@ -6,6 +6,51 @@
*/
/**
+ * Implemments hook_form_FORM_ID_alter().
+ */
@jalama
jalama / config.yaml
Created August 8, 2014 11:46
puphpet Drupal 8 config.yaml
---
vagrantfile-local:
vm:
box: puphpet/ubuntu1404-x64
box_url: puphpet/ubuntu1404-x64
hostname: null
memory: '512'
cpus: '1'
chosen_provider: virtualbox
network:
@jalama
jalama / Package Control.sublime-settings
Last active August 29, 2015 14:12
Sublime Package Control User
{
"in_process_packages":
[
],
"installed_packages":
[
"AdvancedNewFile",
"All Autocomplete",
"ApplySyntax",
"Auto Semi-Colon",
@jalama
jalama / gist:ad5e60538ce4e69e4028
Created January 6, 2015 20:45
Sublime package control sublime-settings
{
// A list of URLs that each contain a JSON file with a list of repositories.
// The repositories from these channels are placed in order after the
// repositories from the "repositories" setting
"channels": [
"https://packagecontrol.io/channel_v3.json"
],
// A list of URLs that contain a packages JSON file. These repositories
// are placed in order before repositories from the "channels"
@jalama
jalama / gist:bf3713481b1657f90f1c
Created January 19, 2015 13:56
Drush sql-create --db-su doesn't work with empty root passwords
The crux is drush doesn't pick up the super user from the CLI, using --db-su, unless there is a ~/.my.cnf
nor does it pick it up from the alias file at all.
My environment is a Mac with Mountain Lion MYSQL install using Homebrew
mysql --version:
Ver 14.14 Distrib 5.6.19, for osx10.9 (x86_64)
php --version
PHP 5.4.30 (cli) (built: Jul 29 2014 23:43:29)
@jalama
jalama / Dynamic Drush Alias script
Last active August 29, 2015 14:14
Dynamic Drush aliases
<?php
$path = '/var/www';
$driver = 'mysql';
$port = '3306';
$host = '127.0.0.1';
$webroot = '';
$aliases = array();
$dir_handle = new DirectoryIterator($path);
@jalama
jalama / basic
Last active August 29, 2015 14:16
Drupdates settings basic
# YAML
# Core
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
value: AtTask
attaskPword:
value: # AtTask password
attaskUser:
@jalama
jalama / make_basic
Last active August 29, 2015 14:16
Drupdates settings: Make basic
# YAML
# Core
webrootDir:
value: #webroot sub-folder
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
value: AtTask
attaskPword: