This file contains 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 | |
echo '<h2>Drupal module name generator</h2>'; | |
$aFirst = array('better','menu','path','auto','views','services','rich','advanced','simple','responsive'); | |
$aSecond = array('exposed','media','token','node','feed','menu','views','image','style','core'); | |
$aThird = array('filters','features','fields','context','feeds','nodes','style'); | |
echo 'Please install the: <strong>'.$aFirst[rand(0,count($aFirst)-1)].' '.$aSecond[rand(0,count($aSecond)-1)].' '.$aThird[rand(0,count($aThird)-1)].' </strong>module.'; |
This file contains 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/bash | |
declare -a KLEUR=(rood wit blauw groen geel) | |
declare -a MAAT=(S M L) | |
for kleur in "${KLEUR[@]}" | |
do | |
date | |
ufchtml=`wget --quiet -O ufc-tmp.html https://nl.venum.com/products/ufc-venum-authentic-fight-night-herenshort-long-fit-$kleur` | |
for maat in "${MAAT[@]}" | |
do |
This file contains 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/bash | |
# | |
# provision-custom-vvv.sh | |
# | |
# function below taken from the VVV provision.sh file (/vagrant/provision/provision.sh) | |
custom_vvv(){ | |
# Find new sites to setup. | |
# Kill previously symlinked Nginx configs | |
# We can't know what sites have been removed, so we have to remove all |