Skip to content

Instantly share code, notes, and snippets.

View jalama's full-sized avatar

Jim Taylor jalama

  • Workstate Consulting LLC
  • Columbus, OH USA
View GitHub Profile
@jalama
jalama / drupal.arg.js
Created July 12, 2016 20:05 — forked from aklump/drupal.arg.js
Add Drupal.arg() for parsing urls in Drupal
/**
* Adds method arg to the Drupal object for grabbing url args
*
* @author Aaron Klump, In the Loft Studios, LLC
* @see http://www.intheloftstudios.com
* @see http://gist.github.com/3078482
*
* For use in a theme or module add the following to your .info file
* @code
* scripts[] = [path to js dir]/drupal.arg.js
@jalama
jalama / README.md
Last active October 19, 2023 06:18 — forked from oodavid/README.md
Backup MySQL to Amazon S3

Backup MySQL to Amazon S3

This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)

Sister Document - Restore MySQL from Amazon S3 - read that next

1 - Install s3cmd

this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc