View OAF
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(); |
View Batch decrypt files with 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
echo thisismypassphrase|gpg --batch --passphrase-fd 0 --decrypt-files *.gpg |
View download_fnd.sh
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) $ |
View xxcust_projectcode_install.sh
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$ |
View plsqlpackagetemplate.pls
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$ |
View Gemfile
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
source 'https://rubygems.org' | |
group :development do | |
gem 'guard' | |
gem 'guard-shell' | |
end |
View .profile_colour
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` |
View notify
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 | |
# Send a tmux, desktop, and audio notification after the completion | |
# of the given command when using tmux. | |
# | |
# Requires: tmux | |
# Recommended: espeak, libnotify | |
# | |
# modified version of https://gist.github.com/thewtex/4969741 | |
# |
View db2_alter_tb_idempotent.ddl
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
-- | |
-- db2 -td@ -vf db2_alter_tb_idempotent.ddl | |
-- | |
BEGIN | |
IF (EXISTS (SELECT 1 | |
FROM SYSCAT.TABLES | |
WHERE TRIM(TABSCHEMA)||'.'||TRIM(TABNAME) = 'TEMP.TRANSACTIONS')) | |
THEN | |
-- |
OlderNewer