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 time | |
from selenium import webdriver | |
from selenium.webdriver.common.action_chains import ActionChains | |
from selenium.webdriver.common.keys import Keys | |
import getpass | |
user_id = input('ID를 입력하세요: ') | |
user_pwd = getpass.getpass('PWD를 입력하세요(Not echoing): ') | |
print("(1/4) URL에 접속합니다...") |
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 | |
import re | |
import csv | |
from bs4 import BeautifulSoup | |
from urllib.parse import urljoin | |
# import youtube_dl # pip install --upgrade youtube-dl | |
list_url = "https://www.youtube.com/playlist?list=PL3FW7Lu3i5Jsnh1rnUwq_TcylNr7EkRe6" | |
youtube_url = "https://www.youtube.com" |
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 time | |
from selenium import webdriver | |
from selenium.webdriver.common.action_chains import ActionChains | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
import getpass | |
from bs4 import BeautifulSoup |
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
############################### | |
# # | |
# current time and date # | |
# # | |
############################### | |
import time | |
time.strftime("%H:%M:%S") # 19:32:22' | |
time.strftime("%Y%m%d") # '20180214' |
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
# ALL COMMANDS SHOULD BE USED IN BASH | |
######################## | |
# # | |
# package version # | |
# # | |
######################## | |
# check version for all packages | |
pip 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
from keras.layers import Merge | |
import keras.backend.tensorflow_backend as K | |
with K.tf.device('/gpu:0'): | |
filter_sizes = [3,4,5] | |
drop_out_rate = 0.5 | |
hidden_dims = 50 | |
model.add(Embedding(vocab_size, 100, input_length=max_length)) | |
for idx, sz in enumerate(filter_sizes): | |
model.add(Conv1D(filters=100, kernel_size=sz, activation='relu', strides=1, padding='valid')) |
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
function test0() { | |
console.log(1234); | |
} | |
function test1() { | |
} | |
function test1() { | |
} | |
function test1() { |
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
[ -f ~/.fzf.bash ] && source ~/.fzf.bash | |
. ~/git-completion.bash | |
. ~/git-prompt.sh | |
# colors | |
CYAN='\e[0;36m\]' | |
L_CYAN='\e[38;5;38m' | |
L_GREEN='\e[38;5;48m' | |
MAGENTA='\e[38;5;213m' | |
COLOR_END='\[\033[0m\]' |
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
" Vim color file | |
" | |
" " __ _ _ _ " | |
" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " | |
" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " | |
" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " | |
" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " | |
" " \___/ " | |
" | |
" "A colorful, dark color scheme for Vim." |
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
function test0() { | |
console.log(1234); | |
} | |
function test1() { | |
} | |
function test1() { | |
} | |
function test1() { |
OlderNewer