Skip to content

Instantly share code, notes, and snippets.

@thePanz
thePanz / GIFEncoder.class.php
Created Jul 26, 2016 — forked from SeanJA/GIFEncoder.class.php
dynamic animated gif clock
View GIFEncoder.class.php
<?php
/*
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Formerly known as:::
:: GIFEncoder Version 2.0 by László Zsidi, http://gifs.hu
::
:: This class is a rewritten 'GifMerge.class.php' version.
::
:: Modification:
View db_dump.sh
#! /bin/bash
# Simple script to dump the contents of a database into separate files in the directory "/backups/"
# Symlink into /etc/cron.daily/ or add to crontab
# Originally from: https://gist.github.com/brianredbeard
# /usr/local/scripts/db_dump
DESTDIR=/vagrant/backups/
DATEFORMAT="+%Y%m%d-%H%M"