์์ฝ: ๊ฐ๋ฐ ์ปค๋ฎค๋ํฐ ์ ๋ฌธ, ์ค์ ๋ก ์ด์๋ ๋ปํ ์๋น์ค ๊ฐ๋ฐ, STAC ๋ณธ์ , ๋ ผ๋ฌธ ํ๋ด, sunrinio ๊ฐ๋ฐ

| import get from requests | |
| import requests | |
| fn funcName(a: int, b: int) { | |
| var number: int | |
| obj := { a: 1} | |
| var { a } = obj | |
| var newObj = { a } // a: 1 | |
| print(newObj) | |
| } |
| from datetime import datetime | |
| from requests import post | |
| import pymongo | |
| import sys | |
| # 8100: 234000878 | |
| # 8110: 204000082 | |
| # m4102: 234001159 | |
| def get_buses(bus_no): |
| import re | |
| import sys | |
| from requests import get | |
| from requests_html import ( | |
| HTMLSession, | |
| ) | |
| s = HTMLSession() | |
| url = sys.argv[1] |
| #!/bin/bash | |
| # uWSGI & nginx installation script | |
| # Created at 2017-06-27 by Frank Yang (https://github.com/puilp0502) | |
| # Tested on Ubuntu Server 16.04 LTS | |
| # Check if user is root | |
| if [[ $UID -ne '0' ]]; then | |
| echo "This script needs to be run as root; exiting..." | |
| exit 0 |
| from pymongo import MongoClient | |
| from datetime import datetime as d, timedelta | |
| client = MongoClient('mongodb://user:passwd@localhost:33066/DATABASE') | |
| db = client.busDB | |
| bojung = '228001003' | |
| ori = '206000040' | |
| migum = '206000087' | |
| jungja_station = "206000725" | |
| bundang = '206000082' |
| # Define triangle's type | |
| ACUTE = 0 | |
| RIGHT_ANGLED = 1 | |
| OBTUSE = 2 | |
| FAIL = 3 | |
| def classify_triangle(x, y, z): | |
| if z >= (x + y): | |
| return FAIL |
| from datetime import datetime | |
| from requests import post | |
| WEBHOOK_URL = "" | |
| # Link: <https://alert-system.com/alerts/1234|Click here> | |
| class Slack(): | |
| @staticmethod | |
| def send(text, username="ํํธ๋ผ์", channel="#general", icon_emoji=":dog:"): |
์์ฝ: ๊ฐ๋ฐ ์ปค๋ฎค๋ํฐ ์ ๋ฌธ, ์ค์ ๋ก ์ด์๋ ๋ปํ ์๋น์ค ๊ฐ๋ฐ, STAC ๋ณธ์ , ๋ ผ๋ฌธ ํ๋ด, sunrinio ๊ฐ๋ฐ

| atom settings |