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
*PPD-Adobe: "4.3" | |
*%%%% PPD file for HP LaserJet Professional p1102 with CUPS. | |
*%%%% Created by the CUPS PPD Compiler CUPS v2.3.1. | |
*% (c) 2008 Copyright HP Development Company, LP | |
*FormatVersion: "4.3" | |
*FileVersion: "3.20.11" | |
*LanguageVersion: English | |
*LanguageEncoding: ISOLatin1 | |
*PCFileName: "hp-laserjet_professional_p1102.ppd" | |
*Product: "(HP LaserJet Professional p1102 Printer)" |
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 | |
# CREATE THIS AS $HOME/bin/dropbox_personal/run | |
dropbox=".dropbox_personal" | |
HOME="/home/$USER" | |
if ! [ -d "$HOME/$dropbox" ] | |
then | |
mkdir "$HOME/$dropbox" 2> /dev/null | |
ln -s "$HOME/.Xauthority" "$HOME/$dropbox/" 2> /dev/null | |
fi | |
HOME="$HOME/$dropbox" |
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
#!/usr/bin/perl -w | |
use strict; | |
use LWP::UserAgent; | |
use URI; | |
use Math::Round; | |
### Set these | |
my $auth_data = { 'username' => 'user', | |
'password' => 'password' }; |
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
#!/usr/bin/perl -w | |
use strict; | |
use lib "/usr/lib/nagios/plugins"; # Debian | |
use lib "/usr/local/nagios/libexec"; # something else | |
use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); # Requires utils.pm to be in one of the two directories above | |
use Getopt::Long qw(:config no_ignore_case); | |
# Predeclare subroutines | |
sub print_usage (); |
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: Extended API | |
Plugin URI: http://www.michaelgrosser.com | |
Description: This makes all of the common WordPress functions available via XML RPC rather than having to use pre-defined WP XML-RPC methods. | |
Author: Michael Grosser | |
Version: 0.5 | |
Author URI: http://www.michaelgrosser.com | |
*/ |