Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim Taylor jalama

  • Able Applied Technologies
  • Columbus, OH USA
View GitHub Profile
View simple
# YAML
# Git Repo
repoDict:
value:
drupal: # ssh://<user>@example.com/<repo folder>
# Build related
workingBranch:
value: dev
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 / Stash_slack_single_make_full
Last active Aug 29, 2015
Drupdate Settings: Stash for repo(s), Report to Slack, Use make file, Ship entire repo, Deployment ticket in AtTask, single site
View Stash_slack_single_make_full
# YAML
# Core
webrootDir:
value: # webroot sub-folder ex. webroot
singleSite:
value: # www.example.com
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
@jalama
jalama / basic_make_full
Last active Aug 29, 2015
Drupdates Basic: Make with full Repo
View basic_make_full
# YAML
# Core
webrootDir:
value: #webroot sub-folder
# PM System / Deployments
submitDeployTicket:
value: True
pmName:
value: AtTask
attaskPword:
@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:
You can’t perform that action at this time.