This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Frank | |
*/ | |
function frank_init() | |
{ | |
add_shortcode( 'frank', 'frank_shortcode_frank' ); | |
} | |
add_action( 'init', 'frank_init' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('HEADER_IMAGE_WIDTH', 860); | |
define('HEADER_IMAGE_HEIGHT', 180); | |
$content_width = 640; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FROMADDRESS="svn@`hostname --fqdn`" | |
USAGE="Usage: `basename $0` -d PATH -mailto MAILTO\n\nCreates a commit report and sends it via E-mail\n\nValid options:\n\n\t-d PATH : specify repository path PATH (required)\n\t-mailto MAILTO : specify report recipients MAILTO,\n\t comma-separated (required)\n\t-rev ARG : specify repository revision ARG, defaults to\n\t youngest revision\n\t-name ARG : specify repository nice name ARG, defaults to\n\t basename of PATH\n\n" | |
if [ $# -eq 0 ] | |
then | |
echo -e >&2 "$USAGE"; exit 3; | |
fi |