Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
# Git Ignore File - Add whatever is needed here | |
# Mac Files | |
.DS_Store | |
# Ansible Retry Files | |
*.retry | |
# Ansible Vault Password file | |
.vault_pass |
# Git Ignore File | |
# Mac DS Store files | |
.DS_Store | |
*.retry | |
apt-get install php-mbstring | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" | |
composer install | |
cd {your/theme/path} | |
npm install |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"
Thx to crxviewer for the magic download URL.
#!/usr/bin/php | |
<?php | |
/* | |
* Copyright 2013 | |
* Jeff Bickart | |
* @bickart | |
* jeff @ neposystems.com | |
*/ |
0,10,20,30,40,50 * * * * php /var/www/html/app/console mautic:webhooks:process > /dev/null 2>&1 | |
2,12,22,32,42,52 * * * * php /var/www/html/app/console mautic:segments:update > /dev/null 2>&1 | |
4,14,24,34,44,54 * * * * php /var/www/html/app/console mautic:campaigns:rebuild > /dev/null 2>&1 | |
6,16,26,36,46,56 * * * * php /var/www/html/app/console mautic:campaigns:trigger > /dev/null 2>&1 | |
1,11,21,31,41,51 * * * * php /var/www/html/app/console mautic:emails:send > /dev/null 2>&1 |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
I hereby claim:
To claim this, I am signing this object: