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
ant clean | |
ant package | |
(cd metastore && ant model-jar) | |
ant test -Dtestcase=TestCliDriver -Dqfile=archive.q |
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
/* | |
* A minimal script to demonstrate the problem discussed at | |
* http://stackoverflow.com/questions/7524340/how-do-groovy-scripts-interact-with-propertymissing | |
*/ | |
class Thing { | |
} | |
class FooSyntax { | |
def myKeyword(Thing t) { println "Hello Foo " + t.toString(); } |
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/sh | |
# | |
# Convert from a MTS to a mp4 file using HandbrakeCLI | |
# Handbrake available from, for example, http://handbrake.fr/downloads2.php | |
# | |
# Renames files as prefixYYYYMMDD_basename.mp4 in the current directory. | |
# If you have an AVCHD directory, for example, you could run | |
# mts2mp4 /Volumes/SDCARD/PRIVATE/BDMV/STREAM/*.MTS | |
# to convert from your SDCARD into your current directory (on OS X). | |
# |
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 | |
# | |
# Convert unix times (on command line or one-per-line via stdin) | |
# to human readable times in local timezone. | |
# | |
if (@ARGV) { | |
print join("\n", map { scalar localtime($_); } @ARGV), "\n"; | |
} else { | |
while (<STDIN>) { | |
chomp; |
NewerOlder