Skip to content

Instantly share code, notes, and snippets.

View dashersw's full-sized avatar

Armagan Amcalar dashersw

View GitHub Profile
@lastcanal
lastcanal / run-tarsnap
Last active August 29, 2015 14:19
FreeBSD Tarsnap Hourly Backup
#!/bin/sh
# Tarsnap backup script
# Written by Tim Bishop, 2009.
# Directories to backup
DIRS="/etc /usr/local/etc /home"
# Number of hourly backups to keep
HOURLY=24
@hojberg
hojberg / app_route_target.js
Last active September 5, 2019 09:36
Simple Aviator/React example. Read more about Aviator here: https://github.com/swipely/aviator
/** @jsx React.DOM */
var AppRouteTarget = {
setupLayout: function () {
React.renderComponent({
<App className='page-content'>,
document.querySelector('body')
});
}
};