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
/* Modified slightly to work with the LCD Keypad Shield. | |
* Original - http://www.instructables.com/id/Arduino-LCD-Game/ | |
*/ | |
#include <LiquidCrystal.h> | |
#define SPRITE_RUN1 1 | |
#define SPRITE_RUN2 2 | |
#define SPRITE_JUMP 3 | |
#define SPRITE_JUMP_UPPER '.' // Use the '.' character for the head | |
#define SPRITE_JUMP_LOWER 4 |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# -*- 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
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import urllib2 | |
def kb_balance(account, password, resident, username): | |
""" | |
국민은행 계좌 잔액 빠른조회. 빠른조회 서비스에 등록이 되어있어야 사용 가능. | |
빠른조회 서비스: https://obank.kbstar.com/quics?page=C018920 |