Skip to content

Instantly share code, notes, and snippets.

View jashmenn's full-sized avatar

Nate Murray jashmenn

View GitHub Profile
#!/usr/bin/perl
######################################################
# xtail.pl, modeled after the functionality of #
# xtail posted to comp.sources back in the dark #
# ages. #
# #
# this will monitor multiple files for activity, #
# tailing them all at once. it will notice files #
# that get rotated. you can also give it filenames #
@jashmenn
jashmenn / Confluence.pm
Created July 9, 2009 17:14
WikiConverter/Confluence.pm
package HTML::WikiConverter::Confluence;
use base 'HTML::WikiConverter';
use warnings;
use strict;
use URI;
use File::Basename;
our $VERSION = '0.01';
#!/bin/sh
#
# Compiled firewall script generated by Shorewall-perl 4.0.15 - Wed Apr 29 00:53:51 2009
#
# This program is under GPL [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]
#
# (c) 1999,2000,2001,2002,2003,2004,2005,2006,2007 - Tom Eastep ([email protected])
#
# Options are:
#
/*
* jQuery JSON Plugin
* version: 1.0 (2008-04-17)
*
* This document is licensed as free software under the terms of the
* MIT License: http://www.opensource.org/licenses/mit-license.php
*
* Brantley Harris technically wrote this plugin, but it is based somewhat
* on the JSON.org website's http://www.json.org/json2.js, which proclaims:
* "NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.", a sentiment that
#!/usr/bin/perl
# Author: Todd Larason <[email protected]>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.1 1999/07/11 08:49:54 dawes Exp $
# use the resources for colors 0-15 - usually more-or-less a
# reproduction of the standard ANSI colors, but possibly more
# pleasing shades
# colors 16-231 are a 6x6x6 color cube
for ($red = 0; $red < 6; $red++) {
#!/usr/bin/perl
# by entheon, do whatever the hell you want with this file
print "\n";
print "**************************\n";
print "*XTERM 256Color Test Chart\n";
print "**************************\n";
print "* 16 = black\n";
print "* 255 = white\n";
" Vim color scheme
" Name: vividchalk.vim
" Author: Tim Pope <[email protected]>
" GetLatestVimScripts: 1891 1 :AutoInstall: vividchalk.vim
" $Id: vividchalk.vim,v 1.8 2007-07-11 18:50:16 tpope Exp $
" Based on the Vibrank Ink theme for TextMate
" Distributable under the same terms as Vim itself (see :help license)
if has("gui_running")
2009-07-20 22:18:36,498 ERROR metadata.Hive (Hive.java:getTable(388)) - NoSuchObjectException(message:default.test_speak4itlogs table not found)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_table(HiveMetaStore.java:382)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:429)
at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:385)
at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:348)
at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$tableSpec.<init>(BaseSemanticAnalyzer.java:263)
at org.apache.hadoop.hive.ql.parse.LoadSemanticAnalyzer.analyzeInternal(LoadSemanticAnalyzer.java:180)
at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:76)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:177)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:209)
# Rough draft of erlang code coverage with Rake
class << self
%w{src ebin}.each do |type|
define_method "#{type}_dirs" do
Dir[Dir.pwd + "/#{type}"] +
Dir[Dir.pwd + "/**/deps/**/#{type}"] +
Dir[Dir.pwd + "/test/#{type}"]
end
end
#!/bin/sh
# Find the next free erlang nodename using epmd
EXISTING_NAMES=`epmd -names`
DEP_EBINS=`find deps -type d | grep -v \/test\/ | grep ebin`
CLIENT_INDEX=0
CLIENT_NAME="client$CLIENT_INDEX"
while [[ $(echo $EXISTING_NAMES | grep $CLIENT_NAME) && ($? == 0) ]]