Time-stamp: <2012-03-30 Fri 16:56 README.md>
Author....: 'Mash (Thomas Herbert)
Bacula concurrent jobs multiple storage devices client labeled pools Debian installation and configuration.
Please see http://toshine.org/etc for full article.
| #!/bin/sh | |
| # modified by jfro from http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script | |
| # Uses curl to be compatible with machines that don't have wget by default | |
| LINODE_API_KEY=licensekey | |
| DOMAIN_ID=domainid | |
| RESOURCE_ID=resourceid | |
| WAN_IP=`curl -s ifconfig.me/ip` | |
| if [ -f $HOME/.wan_ip.txt ]; then |
| package main | |
| import ( | |
| "bufio" | |
| "log" | |
| "net/rpc" | |
| "os" | |
| ) | |
| func main() { |
Time-stamp: <2012-03-30 Fri 16:56 README.md>
Author....: 'Mash (Thomas Herbert)
Bacula concurrent jobs multiple storage devices client labeled pools Debian installation and configuration.
Please see http://toshine.org/etc for full article.
This gist assumes:
| #!/usr/bin/env php | |
| <?php | |
| /* | |
| * Coding Standards (a.k.a. CS) | |
| * | |
| * This script is designed to clean up the source files and thus follow coding | |
| * conventions. | |
| * | |
| * @see http://symfony.com/doc/2.0/contributing/code/standards.html | |
| * |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
| <?php | |
| /* | |
| Plugin Name: Instrument Hooks for WordPress | |
| Description: Instruments Hooks for a Page. Outputs during the Shutdown Hook. | |
| Version: 0.1 | |
| Author: Mike Schinkel | |
| Author URI: http://mikeschinkel.com | |
| */ | |
| if (isset($_GET['instrument']) && $_GET['instrument']=='hooks') { |
| # This is a template .gitignore file for git-managed WordPress projects. | |
| # | |
| # Fact: you don't want WordPress core files, or your server-specific | |
| # configuration files etc., in your project's repository. You just don't. | |
| # | |
| # Solution: stick this file up your repository root (which it assumes is | |
| # also the WordPress root directory) and add exceptions for any plugins, | |
| # themes, and other directories that should be under version control. | |
| # | |
| # See the comments below for more info on how to add exceptions for your |
| # encoding: UTF-8 | |
| require 'digest/md5' | |
| puts Digest::MD5.hexdigest("asdf") # => "912ec803b2ce49e4a541068d495ab570" | |
| puts Digest::MD5.hexdigest("åß∂ƒ") # => "0d65ab8f1db3344230f46420e56e465f" |