Skip to content

Instantly share code, notes, and snippets.

Suchan An dobestan

Block or report user

Report or block dobestan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dobestan
dobestan / google_map_images.py
Created Apr 27, 2019
구글맵 이미지 추출하기
View google_map_images.py
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
import requests
import pandas as pd
from selenium import webdriver
import shutil
View dudumchit.py
import sys
message = """
⊂_ヽ
  \\ Λ_Λ
   \( 'ㅅ' ) {name}
    > ⌒ヽ
   /   へ\
   /  / \\
   レ ノ   ヽ_つ
View 크레딧잡+.py
# coding: utf-8
# In[1]:
# 연봉 정보 사이트 ( 크레딧잡 크롤링 )
# API 주소들 ( Network > XHR 부분에서 확인해보세요! )
# 자동완성 API: https://kreditjob.com/api_ver2/searchData?q=삼성
# 연봉정보 API: https://kreditjob.com/api_ver2/getInfoByQueryPkNm?query=124810-삼성전자
View gist:717a79c43ab5743411ed7a972b9ebfd3
# Sync
- HTTP METHOD: GET
- HTTP METHOD: POST
-----------------------
0. 글쓰는 API ( posts, comments ) + jQuery AJAX ( 댓글 불러오기, 댓글 작성하기 )
View translate.py
def translate(text):
url = "https://openapi.naver.com/v1/language/translate"
headers = {
"X-Naver-Client-Id": "qrVxa5mKgpHMD2BjCoQ6",
"X-Naver-Client-Secret": "qIBci5xv2c"
}
data = {
"source": "ko",
View send_sms.py
def send_sms(sender, receiver, content):
url = "http://api.openapi.io/ppurio/1/message/sms/dobe/"
headers = {
"x-waple-authorization": "MTkyMC0xNDEzODU0NTAwMzU3LTllM2VkOTM3LTYwMTEtNGU2Zi1iZWQ5LTM3NjAxMTNlNmYyMg=="
}
data = {
"send_phone": sender,
View zigbang.js
(function() {
var url = "https://api.zigbang.com/v1/items?detail=true&item_ids=6048466&item_ids=5783125&item_ids=6027865&item_ids=5888794&item_ids=5854171&item_ids=6087107&item_ids=5932855&item_ids=6048075&item_ids=6052791&item_ids=5984416&item_ids=5907614&item_ids=6031260&item_ids=5457958&item_ids=6066377&item_ids=5838656&item_ids=6041892&item_ids=6104783&item_ids=6109223&item_ids=5969470&item_ids=5832092&item_ids=5947989&item_ids=5606119&item_ids=5880215&item_ids=5888852&item_ids=6100544&item_ids=6067582&item_ids=5929057&item_ids=6021979&item_ids=5891686&item_ids=6101768&item_ids=6097270&item_ids=5981178&item_ids=5868892&item_ids=5884274&item_ids=6078939&item_ids=5955120&item_ids=6077769&item_ids=5873775&item_ids=5382608&item_ids=6064709&item_ids=6054888&item_ids=6108746&item_ids=5941685&item_ids=6060196&item_ids=6059468&item_ids=6076404&item_ids=5980084&item_ids=5969431&item_ids=5918961&item_ids=6053762&item_ids=6082571&item_ids=6017119&item_ids=6060904&item_ids=6054917&item_ids=6058916&item_ids=6052548&
View index.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header>
<h1>Header</h1>
</header>
View likes.js
(function() {
alert("관심종목 초기화 합니다."); // OK
// var likesUlElement = document.getElementById("likes");
// var likesLiElement = document.createElement("li");
//
// // text("잇츠스킨") 서버로 부터 받아오는 코드
// var likesLiTextElement = document.createTextNode("잇츠스킨");
//
// likesLiElement.appendChild(likesLiTextElement);
View function.js
// Scope - Function level scope
// Object - call by reference
// Function-level Scope
// Object ( primitive data types - string, number, boolean, null, undefined ) - call by reference
You can’t perform that action at this time.