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
head 1 | eval '_.report1 = _.alert_id + "_report1.pdf"; _.report2 = _.alert_id + "_report2.pdf";_.report3 = _.alert_id + "_report3.pdf";' | exec "/home/verx/x-2.0/scripts/Uniadex.sh ${report1} ${report2} ${report3}" -plainText |
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
apply plugin: 'java' | |
apply plugin: 'scala' | |
// For those using Eclipse or IntelliJ IDEA | |
apply plugin: 'eclipse' | |
apply plugin: 'idea' | |
def findPlay20(){ | |
def pathEnvName = ['PATH', 'Path'].find{ System.getenv()[it] != null } | |
for(path in System.getenv()[pathEnvName].split(File.pathSeparator)){ | |
for(playExec in ['play.bat', 'play.sh', 'play']){ |
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
public class JavaPuzzle2 { | |
public static void main(String[] args) { | |
//test | |
if (new Sleeper().sleep(new Dream()) != 0) { | |
System.out.println("Still dreaming"); | |
} | |
} | |
} | |
class Sleeper { |