View deploy.yml
1 2 3 4 5 6 7 8 9
---
- hosts: all
gather_facts: no
tasks:
- name: Backup database
shell: "{{ item }}"
with_items:
- mkdir -p ~jenkins/dbbackups
- drush @{{ shortname }}_{{ env }} sql-dump --skip-tables-key=common | gzip > ~jenkins/dbbackups/{{ shortname }}_{{ env }}_prior_to_{{ build }}.sql.gz
View keybase.md
Sending Request…

Keybase proof

I hereby claim:

  • I am mig5 on github.
  • I am mig5 (https://keybase.io/mig5) on keybase.
  • I have a public key whose fingerprint is E414 4692 2E11 B8DD 0D43 80E9 5418 373D FF79 BA19

To claim this, I am signing this object:

View vcloud-vm-lookup.sh
1 2 3 4 5 6 7 8 9
#!/bin/bash
 
usage() {
cat << EOF
usage: $0 ARGUMENTS
Simple wrapper script to query the vCloud API and return a
YAML object of a specific virtual machine.
 
Written by mig5 July 2014
View ossec-install.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
#
# Written by mig5 2014
 
# Variables
VERSION=2.8.2
CHECKSUM="ossec-hids-${VERSION}-checksum.txt"
TARBALL="ossec-hids-${VERSION}.tar.gz"
 
echo "Downloading packages and checksums"
View gist:3234386
1 2 3 4 5 6 7 8 9 10
diff --git template.php template.php
index 307f55b..4ac0226 100644
--- template.php
+++ template.php
@@ -51,7 +51,7 @@ function corolla_preprocess_block(&$vars) {
if ($vars['block']->module == 'superfish' || $vars['block']->module == 'nice_menu') {
$vars['content_attributes_array']['class'][] = 'clearfix';
}
- if ($vars['block']->region == 'menu_bar' || $vars['block']->region == 'header') {
+ if ($vars['block']->region == 'menu_bar') { // || $vars['block']->region == 'header') {
View gist:2642511
1 2 3 4 5 6 7 8 9 10
<?php
$aliases['server_clusterwebmig5net'] = array (
'context_type' => 'server',
'server' => '@server_master',
'remote_host' => 'cluster-web.mig5.net',
'aegir_root' => '/var/aegir',
'script_user' => 'aegir',
'ip_addresses' =>
array (
0 => '106.187.40.34',
View gist:2574501
1 2 3 4 5 6 7 8 9 10
Severity major, Drupal Security Checks [36/1918]
 
modules/field/modules/options/options.module:
+162: [critical] Potential problem: form_set_error() and form_error() only accept filtered text, be sure all !placeholders for $variables in t() are fully sanitized using check_plain(), filter_xss() or similar.
 
modules/field/tests/field_test.module:
+254: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.
+258: [critical] Potential problem: drupal_set_message() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.
 
modules/field/tests/field_test.entity.inc:
View build
1 2 3 4 5 6 7 8 9 10
#!/bin/sh
 
############################################################
# Aegir build script #
# Builds a platform from a supplied Drush make stub file #
# and saves/imports it into an Aegir system #
# #
# Written by Miguel Jacq (mig5) of Green Bee Digital #
# February 2011 #
############################################################
Something went wrong with that request. Please try again.