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
function pigfind { | |
if [ "x$1" != "x" ]; then | |
FIND_PATH="$1" | |
else | |
FIND_PATH="." | |
fi | |
find $FIND_PATH -maxdepth 1 -type d -exec du -sh '{}' \; 2>/dev/null \ | |
| sort -h | |
} # get the sizes of the subdirectories of $PWD, sort from smallest to largest |
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
diff --git a/Library/Formula/atk.rb b/Library/Formula/atk.rb | |
index 74ac570..d594d47 100644 | |
--- a/Library/Formula/atk.rb | |
+++ b/Library/Formula/atk.rb | |
@@ -15,7 +15,7 @@ class Atk < Formula | |
ENV.universal_binary if build.universal? | |
system "./configure", "--disable-dependency-tracking", | |
"--prefix=#{prefix}", | |
- "--enable-introspection=no" | |
+ "--enable-introspection=yes" |
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
diff --git a/lib/Net/Jenkins.pm b/lib/Net/Jenkins.pm | |
index 5126b1b..c8b9eeb 100644 | |
--- a/lib/Net/Jenkins.pm | |
+++ b/lib/Net/Jenkins.pm | |
@@ -36,25 +36,41 @@ has user_agent => ( | |
default => sub { return LWP::UserAgent->new; }, | |
); | |
+has jenkins_version => ( | |
+ is => 'rw', |
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
_download_viewer () { | |
local OUTPUT_TYPE="$1" | |
local WGET_URL="$2" | |
JSON_XS_CMD=$(which json_xs) | |
VIM_CMD=$(which vim) | |
WGET_CMD=$(which wget) | |
if [ ! -x $JSON_XS_CMD -o ! -x $VIM_CMD -o ! $WGET_CMD ]; then | |
echo "ERROR: missing commands needed to run this function!" | |
echo "JSON_XS_CMD: ${JSON_XS_CMD}" | |
echo "VIM_CMD: ${VIM_CMD}" |
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
# color log output | |
if ( $cfg->get(q(colorize)) ) { | |
$log4perl_conf .= q(log4perl.appender.Screen ) | |
. qq(= Log::Log4perl::Appender::ScreenColoredLevels\n); | |
} else { | |
$log4perl_conf .= q(log4perl.appender.Screen ) | |
. qq(= Log::Log4perl::Appender::Screen\n); | |
} | |
# the rest of the log4perl setup |
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
use Rex -feature => [qw/use_server_auth/]; | |
use Rex::Commands::Gather; | |
use Rex::Group::Lookup::INI; | |
groups_file "../servers.ini"; | |
#group servers => qw/foo bar/; | |
desc "Get info about the servers in 'servers.ini'"; | |
### TASK: uptime |
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
$ rex -Tv Rexfile | |
Tasks | |
Server Groups | |
servers foo, bar | |
$ rex -Tv -d Rexfile | |
[2014-08-23 06:12:28] DEBUG - Command Line Parameters | |
[2014-08-23 06:12:28] DEBUG - d = 1 | |
[2014-08-23 06:12:28] DEBUG - v = 1 | |
[2014-08-23 06:12:28] DEBUG - T = 1 | |
[2014-08-23 06:12:28] DEBUG - Rexfile exists |
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
use strict; | |
use warnings; | |
use Rex -feature => ["use_server_auth"]; | |
use Rex::Commands::Gather; | |
use Rex::Group::Lookup::INI; | |
groups_file "../servers.ini"; | |
desc "Get info about the servers in 'servers.ini'"; |
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
use strict; | |
use warnings; | |
use Rex -feature => qw/use_server_auth/; | |
use Rex::Commands::Gather; | |
use Rex::Group::Lookup::INI; | |
groups_file q(../servers.ini); | |
desc "Get info about the servers in 'servers.ini'"; |
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
use strict; | |
use warnings; | |
#use Rex -feature => [qw/use_server_auth/]; | |
use Rex -feature => qw/use_server_auth/; | |
use Rex::Commands::Gather; | |
use Rex::Group::Lookup::INI; | |
groups_file "../servers.ini"; | |
#group servers => qw/foo bar/; |
OlderNewer