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
| # Android | |
| platforms/android/assets/www | |
| platforms/android/bin/ | |
| platforms/android/gen/ | |
| platforms/android/res/xml/config.xml | |
| # iOS | |
| platforms/ios/build/ | |
| platforms/ios/CordovaLib/build/ | |
| platforms/ios/www |
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
| LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); | |
| BasicConfigurator.configure(lc); |
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
| var deepcopiedArray = JSON.parse(JSON.stringify(model.prevdata)); |
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
| # openssl key ํ์ผ ๋น๋ฐ๋ฒํธ ์ ๊ฑฐํ๊ธฐ | |
| /path/to/openssl rsa -in /path/to/originalkeywithpass.key -out /path/to/newkeywithnopass.key | |
| ## ๊ธฐ๊ด๋ณ ์ฒด์ธ ์ธ์ฆ์ ๋ญ์น๊ธฐ | |
| # http://www.digicert.com/ssl-certificate-installation-nginx.htm | |
| # https://www.comodossl.co.kr/support/faq/view.aspx?category=SSL&Seq=70 | |
| ๏ฃฟ cat yourdomain.net.crt PositiveSSL.Chain/PositiveSSLCA2.crt PositiveSSL.Chain/AddTrustExternalCARoot.crt >> yourdomain.net.crt |
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
| $(window).bind("beforeunload", function() { return '๋ฑ๋ก์ค์ธ ์ ์ฐจ๊ฐ ๋ชจ๋ ์ทจ์๋๋ฉฐ ๋ฉ์ธ ํ์ด์ง๋ก ๋์๊ฐ๋๋ค. \n ๊ณ์ํ์๊ฒ ์ต๋๊น?'; }) | |
| .bind("unload", function(){ $.ajax({ type: 'GET', async: false, url: U.oebu.urlMap.logout }); }); |
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
| var nonchar = /[^(๊ฐ-ํฃใฑ-ใ ใ -ใ ฃa-zA-Z0-9)]/gi; | |
| var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i; | |
| var isEmail = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | |
| var isHan = /[ใฑ-ใ ๊ฐ-ํฃ]/g; | |
| var URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/; | |
| var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/; | |
| var pwregexp = /^.*(?=^.{8,}$)(?=.*[0-9])(?=.*[a-zA-Z])(?=.*[!@#$%^&+=]).*$/; |
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
| import com.google.zxing.common.BitMatrix; | |
| import com.google.zxing.qrcode.QRCodeWriter; | |
| import javax.imageio.ImageIO; | |
| import java.awt.*; | |
| import java.awt.image.BufferedImage; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; |
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
| bhkim@dsdstudio-MBP ~ | |
| ๏ฃฟ /usr/libexec/java_home -V | |
| Matching Java Virtual Machines (4): | |
| 1.8.0, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home | |
| 1.7.0_17, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home | |
| 1.6.0_65-b14-462, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home | |
| 1.6.0_65-b14-462, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home | |
| export JAVA_HOME=`/usr/libexec/java_home -v 1.8` |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> | |
| <encoder> | |
| <pattern>[%d{yyyy/MM/dd HH:mm:ss,SSS}] [%thread] %-5p: %c:%L - %m%n%rEx{5}</pattern> | |
| </encoder> | |
| </appender> | |
| <logger name="net.stockrules"> | |
| <level value="debug"/> |
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
| var watchers = []; | |
| watchers.push($scope.$watch("currentTab", function(newer, older) { | |
| $scope.routing = getRouting(newer); | |
| })); | |
| watchers.push($rootScope.$watch("SR.connected", function(connected) { | |
| if ( connected ) $scope.watchAskingPriceWithMarketPrice(); | |
| }, true)); | |
| $scope.$on("$destroy", function(){ | |
| watchers.forEach(function(fn) { fn(); }); |