Skip to content

Instantly share code, notes, and snippets.

Jim Taylor jalama

  • Able Applied Technologies
  • Columbus, OH USA
View GitHub Profile
@jalama
jalama / gitconfig
Last active Jan 4, 2018
Github aliases
View gitconfig
[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 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 gist:cee3a6d611e677125f5b
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 Aug 8, 2014
puphpet Drupal 8 config.yaml
View 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 Aug 29, 2015
Sublime Package Control User
View Package Control.sublime-settings
{
"in_process_packages":
[
],
"installed_packages":
[
"AdvancedNewFile",
"All Autocomplete",
"ApplySyntax",
"Auto Semi-Colon",
@jalama
jalama / gist:ad5e60538ce4e69e4028
Created Jan 6, 2015
Sublime package control sublime-settings
View gist:ad5e60538ce4e69e4028
{
// 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 Jan 19, 2015
Drush sql-create --db-su doesn't work with empty root passwords
View gist:bf3713481b1657f90f1c
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 Aug 29, 2015
Dynamic Drush aliases
View Dynamic Drush Alias script
<?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 Aug 29, 2015
Drupdates settings basic
View basic
# YAML
# Core
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
value: AtTask
attaskPword:
value: # AtTask password
attaskUser:
@jalama
jalama / make_basic
Last active Aug 29, 2015
Drupdates settings: Make basic
View make_basic
# YAML
# Core
webrootDir:
value: #webroot sub-folder
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
value: AtTask
attaskPword:
You can’t perform that action at this time.