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
<dependency> | |
<groupId>org.tuckey</groupId> | |
<artifactId>urlrewritefilter</artifactId> | |
<version>4.0.3</version> | |
</dependency> |
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
//* POINT | |
//throght the url(included the secret number), Your server and user's smart phone became a sync | |
public static String getQRBarcodeURL(String user, String host, String secret) { | |
String format = "http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=otpauth://totp/%s@%s%%3Fsecret%%3D%s&chld=H|0"; | |
return String.format(format, user, host, secret); | |
} | |
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
# Created by .ignore support plugin (hsz.mobi) | |
### Java template | |
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt |
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
9월 01, 2017 9:20:24 오전 org.apache.coyote.AbstractProtocol stop | |
정보: Stopping ProtocolHandler ["http-bio-8001"] | |
9월 01, 2017 9:20:24 오전 org.apache.coyote.AbstractProtocol stop | |
정보: Stopping ProtocolHandler ["ajp-bio-8009"] | |
9월 01, 2017 9:20:24 오전 org.apache.coyote.AbstractProtocol destroy | |
정보: Destroying ProtocolHandler ["http-bio-8001"] | |
9월 01, 2017 9:20:24 오전 org.apache.coyote.AbstractProtocol destroy | |
정보: Destroying ProtocolHandler ["ajp-bio-8009"] |
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
/* | |
* Show Integer To BCD-code | |
* - Tokkenizer function makes input array with 10 below Integer. | |
* - toBin function shows binary code. | |
*/ | |
// | |
void tokkenizer(int n){ | |
int i ; | |
int arr[20] = {0,} ; |
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
void downCasting(){ | |
short before1 ; | |
int after1 ; | |
short before2 ; | |
int after2 ; | |
before1 = 1 ; |
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 sys | |
from PyQt5 import uic | |
from PyQt5.QtWidgets import * | |
form = uic.loadUiType("spend_log.ui")[0] | |
class ui(QMainWindow, form): |
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
""" | |
올바른 괄호란 (())나 ()와 같이 올바르게 모두 닫힌 괄호를 의미한다. )(나 ())() 와 같은 괄호는 올바르지 않은 괄호가 된다. 괄호를 이리저리 움직이며 올바른 괄호를 찾던 A씨는 N개의 괄호쌍이 있을 때, 올바른 괄호를 만들 수 있는 경우의 수가 궁금해졌다. | |
괄호 쌍의 개수 N개가 주어졌을 때, 경우의 수를 반환하는 코드를 작성해라. 예를 들어 N = 1일 경우는 () 의 1가지만 존재하므로 1을 리턴하면 된다.3일 경우에는((())), (())(), ()(()), ()()(), (()()) 의 5가지가 존재하므로 5를 리턴하면 된다. | |
N = 1 : () -> 1 | |
N = 2 : ()(), (()) -> 2 | |
N = 3 : ()()(), (())(), ()(()), (()()), ((())) -> 5 | |
""" | |
class node: |
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
{ | |
"Profiles": [ | |
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Red Component" : 0.40000003576278687, | |
"Color Space" : "sRGB", |
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
var NotifySystem = /** @class */ (function () { | |
function NotifySystem() { | |
this.observList = new Array(); | |
} | |
NotifySystem.prototype.registerObserver = function (o) { | |
this.observList.push(o); | |
}; | |
NotifySystem.prototype.removeObserver = function (o) { | |
this.observList = this.observList.filter(function (x) { return x !== o; }); | |
}; |
OlderNewer