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
| export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) | |
| export JAVA_7_HOME=$(/usr/libexec/java_home -v1.7) | |
| alias java7='export JAVA_HOME=$JAVA_7_HOME' | |
| alias java8='export JAVA_HOME=$JAVA_8_HOME' | |
| #default java8 | |
| export JAVA_HOME=$JAVA_8_HOME |
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
| lsof -i -n -P | grep |
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 mti, de3 as pay_advice,de4 as amount,de61 as invoice_id,de39 as RC,de37 as 'reff_Code',de32 as 'issuer_code',de33 as 'forw_code', de42 as mobilePhone,de48 as merchantApikey, createdTime FROM new_mmt.message_iso where de61 in | |
| (SELECT de61 from new_mmt.message_iso where de39='68' and | |
| (createdTime BETWEEN '2015-10-05 00:00:00' AND '2015-11-05 00:00:00') | |
| ); |
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
| task myCopy(type: Copy) { | |
| from('src/dist/cfg/packager') | |
| into(installDir) | |
| include('imam.xml') | |
| } | |
| implement | |
| task installApp(type: Sync) { |
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
| <property name="008" value="MANDIRI"/> | |
| <property name="002" value="BRI"/> | |
| <property name="009" value="BNI"/> | |
| <property name="022" value="NIAGA"/> | |
| <property name="019" value="PANIN"/> | |
| <property name="013" value="PERMATA"/> | |
| <property name="011" value="DANAMON"/> | |
| <property name="016" value="BII"/> | |
| <property name="200" value="BTN"/> | |
| <property name="028" value="OCBC NISP"/> |
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
| for file in ./ *.mp3 | |
| do | |
| mv "$file" "${file:0:${#file}-16}.mp3" | |
| done |
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
| git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 | |
| change proxyuser to your proxy user | |
| change proxypwd to your proxy password | |
| change proxy.server.com to the URL of your proxy server | |
| change 8080 to the proxy port configured on your proxy server | |
| If you decide at any time to reset this proxy and work without proxy: | |
| Command to use: | |
| git config --global --unset http.proxy |
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
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package amounttotext; | |
| /** | |
| * | |
| * @author san |
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
| open terminal | |
| defaults write com.apple.finder AppleShowAllFiles YES |
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
| # redirect output and errors into file output.log: | |
| nohup some_command > output.log 2>&1& | |
| # abbreviated syntax for bash version >= ver.4: | |
| nohup some_command &> output.log |