Skip to content

Instantly share code, notes, and snippets.

Jonathan Hussey husseycoding

Block or report user

Report or block husseycoding

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@husseycoding
husseycoding / syncmagento.sh
Last active Apr 27, 2019
A bash script for syncing Magento 1 databases
View syncmagento.sh
#!/bin/bash
#### - log function - ####
function logoutput {
case $output in
t)
echo "$(date): $1"
;;
b)
echo "$(date): $1"
echo "$(date): $1" >> var/log/syncmagento.log
@husseycoding
husseycoding / hhvm.conf
Created Aug 22, 2014
HHVM 3.2 upstart script
View hhvm.conf
description "HHVM auto start and respawn"
author "Jonathan Hussey <info@husseycoding.co.uk>"
start on runlevel [2345]
stop on runlevel [016]
respawn
exec /usr/bin/hhvm --config /etc/hhvm/php.ini --config /etc/hhvm/server.ini --user www-data --mode daemon -vPidFile=/var/run/hhvm/pid
You can’t perform that action at this time.