This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "List your modules with seperated by spaces (ex: panopoly_core panopoly_widgets)" | |
read -a modules | |
echo "Current branch for the set of modules you'd like (ex: 7.x-1.x)" | |
read branch | |
echo "The tag for the latest drupal project version (ex: 7.x-1.19)" | |
read tag | |
echo "Drupal issue number you'll be posting to (ex: 2453509)" | |
read issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############## | |
# Install Docker | |
# Complex (USE SIMPLE): | |
# sudo sh -c "echo deb https://get.docker.com/ubuntu docker main\ | |
# > /etc/apt/sources.list.d/docker.list" | |
# sudo apt-get update | |
# sudo apt-get install lxc-docker | |
# SIMPLE: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Dont include the php tag in the VBO interface | |
if(!empty($entity->field_picture) && empty($entity->field_pictures_multiple)) { | |
$entity->field_pictures_multiple['und'] = array($entity->field_picture['und'][0]); | |
field_attach_update('node', $entity); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build from https://github.com/albatrossdigital/aws-docker-drupal-deployment | |
git clone | |
cd FOLDER | |
sudo docker build -t aschmoe/soar-drops-v1 . | |
# run a container on the image | |
sudo docker run -p 49160:80 -d --name soar_drupal aschmoe/soar-drops-v1 | |
# run a container on the image with a mounted shared folder | |
sudo docker run -p 49160:80 -d --name soar_drupal -v /var/docker-temp:/var/docker-temp aschmoe/soar-drops-v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt-get update | |
sudo apt-get install jenkins | |
Goto IP:8080 | |
Set up security: | |
IP:8080/configureSecurity/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in Dropbox/Taxes/{,**/,**/**/}*.pdf | |
do | |
protected=0 | |
passwordworks=1 | |
pdftk "$file" dump_data output /dev/null dont_ask || protected=1 | |
# not protected so just encrypt | |
if [ $protected -eq 0 ] | |
then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var path = require('path'); | |
module.exports = function (grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
copy: { | |
main: { | |
files: [ | |
{ |
NewerOlder