This file contains hidden or 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
| private class ExecutorMonitor extends Thread { | |
| public ExecutorMonitor() { | |
| super("ExecutorMonitor"); | |
| } | |
| @Override | |
| public void run() { | |
| while (enableAll || enabled) { | |
| LOG.info("Starting scheduler for task '{}'", task.getName()); |
This file contains hidden or 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
| <assembly> | |
| <id>install</id> | |
| <includeBaseDirectory>false</includeBaseDirectory> | |
| <formats> | |
| <format>zip</format> | |
| </formats> | |
| <fileSets> | |
| <fileSet> | |
| <directory>src/assembly</directory> |
This file contains hidden or 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
| def export = { | |
| // create a new file | |
| FileOutputStream out = new FileOutputStream("workbook.xls"); | |
| // create a new workbook | |
| Workbook wb = new HSSFWorkbook(); | |
| // create a new sheet | |
| Sheet s = wb.createSheet(); | |
| int rownum = 0 | |
| for (ClaimDocumentReferenceDTO ref : docRefs) { |
This file contains hidden or 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
| (cond ((eq system-type 'darwin) (insert-string "Steve")) | |
| ((eq system-type 'windows-nt) (insert-string "Bill")) | |
| (t (insert-string "Congratulations"))) | |
| ) |
This file contains hidden or 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
| delete dm_document object where FOLDER ('/Your/Folder/Path',DESCEND) and object_name like '%.pdf' |
This file contains hidden or 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
| select count(*) from dm_document (ALL) where FOLDER ('/Your/Folder/Path',DESCEND) and object_name like '%.pdf' |
This file contains hidden or 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
| select sum(r_full_content_size)/1024/1024/1024 as total_gb from dm_sysobject (all) where | |
| folder('/cabinet/or/folder/path',descend); |
This file contains hidden or 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 | |
| vi flavour.sh << EOF | |
| /BATCH_FLAVOUR-ua | |
| :s/^#// | |
| ZZ | |
| EOF |
This file contains hidden or 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
| java -XX:NewSize=256m -XX:MaxNewSize=256m -XX:+UseConcMarkSweepGC |