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
CREATE OR REPLACE PACKAGE %FILE% IS | |
/* | |
* %FFILE% | |
* Copyright (C) %YEAR% %USER% <%MAIL%> | |
* | |
* Distributed under terms of the %LICENSE% license. | |
* | |
* $Date$ | |
* $Revision$ | |
* $Author$ |
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
import oracle.jdbc.OracleCallableStatement; | |
import oracle.sql.NUMBER; | |
import java.sql.*; | |
import java.sql.Connection; | |
OracleCallableStatement stmt = null; | |
try { | |
OADBTransaction trx = oaapplicationmodule.getOADBTransaction(); |
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
echo thisismypassphrase|gpg --batch --passphrase-fd 0 --decrypt-files *.gpg |
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/ksh | |
#******************************************************************************* | |
#* | |
#* $HeadURL: http://adlap802:8080/subversion/FinanceTransformation/Standards/Templates/Code/xxcust_fndload_download.sh $ | |
#* | |
#* Purpose : Install all components for XXXXXXXXXXX. | |
#* | |
#* $Author: | |
#* | |
#* $Date: 2010-10-22 11:35:19 +1100 (Fri, 22 Oct 2010) $ |
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/ksh | |
#******************************************************************************* | |
#* | |
#* $HeadURL$ | |
#* | |
#* Purpose : Install all components for XXXXXXXXXXX. | |
#* | |
#* $Author$ | |
#* | |
#* $Date$ |
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
# | |
# Prompt colour by host | |
# | |
# install: | |
# | |
# cat .profile_colour >> ~/.profile | |
# | |
NODE=`uname -n` |
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 -c 'export PATH="$HOME/.rbenv/bin:$PATH" ; eval "$(rbenv init -)" ; cd /home/vagrant/projects/tmux-status/ ; ruby -v |
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 | |
for i in {1..1000} | |
do | |
db2 -tf write_count.sql | |
sleep 30s | |
done |
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
# Add the following function to gitprompt.sh | |
# via http://csnipp.com/s/191/-Git-and-SVN-Status-in-the-Bash-Prompt | |
function prompt_callback { | |
local DIRTY REV=$(svn info 2>/dev/null | grep Revision | sed -e 's/Revision: //') | |
[ "$REV" ] || return | |
[ "$(svn st)" ] && DIRTY=' *' | |
echo "(r$REV$DIRTY)" | |
return |
OlderNewer