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
/** | |
* @since 2018-08-24. | |
* @author Kinetic(@dev_kinetic) | |
*/ | |
import org.openqa.selenium.By | |
import org.openqa.selenium.WebElement | |
import org.openqa.selenium.chrome.ChromeDriver | |
import org.openqa.selenium.support.ui.ExpectedConditions | |
import org.openqa.selenium.support.ui.WebDriverWait |
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
/** | |
* @since 2018-08-24. | |
* @author Kinetic(@dev_kinetic) | |
*/ | |
import org.openqa.selenium.By | |
import org.openqa.selenium.WebElement | |
import org.openqa.selenium.chrome.ChromeDriver | |
import org.openqa.selenium.support.ui.ExpectedConditions | |
import org.openqa.selenium.support.ui.WebDriverWait |
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
# https://stu.goe.go.kr/sts_sci_md01_001.do?schulCode=J100005580&schulCrseScCode=4&schulKndScCode=04&schMmealScCode=2&schYmd=2019.12.3 |
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 string | |
from itertools import product | |
import requests | |
def product_loop(generator): | |
login_url = '사이트' | |
login_data = {'pw': 'test'} | |
falsedata = requests.get(login_url, params=login_data).text |
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 os | |
import time | |
from apscheduler.schedulers.blocking import BlockingScheduler | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.common.keys import Keys | |
opts = Options() | |
opts.binary_location = os.environ.get("GOOGLE_CHROME_BIN") |
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
🌞 Morning 2 commits ▏░░░░░░░░░░░░░░░░░░░░ 0.8% | |
🌆 Daytime 54 commits ████▋░░░░░░░░░░░░░░░░ 22.3% | |
🌃 Evening 123 commits ██████████▋░░░░░░░░░░ 50.8% | |
🌙 Night 63 commits █████▍░░░░░░░░░░░░░░░ 26.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
import java.util.Random | |
/** | |
* @author kinetic | |
*/ | |
fun main() { | |
val board = Array(9) { " " } | |
var turn = 0 // 0 is human's turn, 1 is computer's turn | |
println("Tic Tak Toe") |
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
str = """9.794, 3.025, 0.500, 0.201, 1.931 | |
9.524, 2.955, 0.458, 0.173, 1.797 | |
8.850, 2.980, 0.500, 0.194, 1.820 | |
9.324, 2.547, 0.542, 0.348, 2.634 | |
9.596, 2.553, 0.583, 0.335, 2.599 | |
9.890, 2.548, 0.583, 0.375, 2.797 | |
10.082, 1.997, 0.625, 0.497, 3.199 | |
9.166, 2.212, 0.667, 0.410, 2.749 | |
9.454, 1.874, 0.667, 0.472, 2.931 | |
10.972, 3.324, 0.417, 0.202, 2.135 |
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> | |
#define MAX_SIZE 5 | |
// global variables | |
int queue[MAX_SIZE]; | |
int front = 0; | |
int rear = 0; | |
// check if queue is full | |
int queue_full() |
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 requests | |
from bs4 import BeautifulSoup as bs | |
import urllib.request | |
import re | |
url = 'https://www.leagueoflegends.com/en-us/champions/' | |
r = requests.get(url) | |
soup = bs(r.text, "html.parser") |
OlderNewer