- lombok
- FindBugs-IDEA
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
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import urllib2 | |
def kb_balance(account, password, resident, username): | |
""" | |
국민은행 계좌 잔액 빠른조회. 빠른조회 서비스에 등록이 되어있어야 사용 가능. | |
빠른조회 서비스: https://obank.kbstar.com/quics?page=C018920 |
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
# -*- coding: utf-8 -*- | |
import requests | |
from bs4 import BeautifulSoup | |
from datetime import datetime | |
session = requests.session() | |
class Train(object): |
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 page= require('webpage').create(), | |
system = require('system'); | |
var url = 'http://www.ingress.com/intel'; | |
var date = (new Date()).toISOString(); | |
var output = '{{PATH}}' + date + '.png'; | |
phantom.addCookie({ | |
name: 'ACSID', | |
value: '{{ACSID}}', |
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
set tags=./tags,tags | |
set tags+=~/src2/tags | |
filetype plugin on | |
filetype indent on | |
set tabstop=4 | |
set et "expandtab. tab 을 space 로 처리 | |
set sw=4 "shift width |
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
JsonFactory jsonFactory = new JsonFactory(); | |
ObjectMapper objectMapper = new ObjectMapper(); | |
try { | |
JsonParser jp = jsonFactory.createParser(new URL("http://somewhere/test.json")); | |
JsonNode root = objectMapper.readTree(jp); | |
System.out.println(root.get("status")); | |
System.out.println(root.get("data")); | |
System.out.println(root.toString()); | |
// json array to list |
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
setw -g mode-mouse on | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
set -g mouse-select-window on | |
setw -g mode-keys vi | |
# Use Alt-arrow keys without prefix key to switch panes | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R |
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
; CapsLock to ESC | |
classname = "" | |
keystate = "" | |
*CapsLock:: | |
WinGetClass, classname, A | |
if (classname = "PuTTY" or classname = "Vim" or classname="mintty" or "TMobaXtermForm") { | |
SetCapsLockState, Off | |
send,{ESC} | |
} |
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
#include <stdio.h> | |
int main() { | |
printf("hello world!"); | |
return 0; | |
} |
OlderNewer