- ๋ถ์ค๋ฌผ, ์์๊ฑฐ๋, ์ค๊ณ ์ฅํฐ ๋ฑ ์ ๋ฆฐ์ ์ํ ์๋น์ค๋ค์ด ์ฌ๋ฌ ๋ํ์ ๋ง์ด ๋์ด
- ํ๋ถ๊ทธ๋ฃน๋ง ๋ช๊ฐ ์ด์์์ง ์ค์ ๋ก ์๋น์ค๋๊ณ ์๋ ๊ฒ๋ค ์์
- ์ ๋ฆฐ์ ํ๋์ฏค ์์์ผ๋ฉด ์ข๊ฒ ๋ค ํ๋ ์๋น์ค๋ค์ ํ ๊ณณ์ผ๋ก ํตํฉ
- ๋๋๋ฌด์ฒ
- ๋ถ์ค๋ฌผ
- ์์๊ฑฐ๋
- ์ค๊ณ ์ฅํฐ
- ์ฃผ๋ณ ๋ง์ง ๊ณต์
This file contains hidden or 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
char buf[16]; | |
scanf("%16s", buf); | |
// ์ฒซ๊ธ์๋ A , ๋ง์ง๋ง ๊ธ์๋ C, ์ค๊ฐ์ ๋ช๊ธ์๊ฐ ์ค๋ ์๊ด X, a ๋ c ๋์๋ฌธ์ ๊ตฌ๋ถ X | |
/* | |
AAC O | |
Aac O | |
aGC O | |
aadfADvVZAADFCCc O | |
abc O |
This file contains hidden or 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
AF_INET = 2 | |
SOCK_STREAM = 1 | |
s = socket.socket(AF_INET, SOCK_STREAM) | |
s.bind(("0.0.0.0",8888)) | |
s.listen(1) | |
while True: | |
print "wait for connection.." | |
s,addr = s.accept() | |
print addr |
This file contains hidden or 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 sys | |
from cx_Freeze import setup, Executable | |
build_exe_options = {"packages": ["socket","time","sys","codecs","os"], } | |
# packages name imported in mycode.py | |
# GUI applications require a different base on Windows (the default is for a console application). | |
setup( | |
name = "~~~", # exe's file name (~~~.exe) |
This file contains hidden or 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> | |
#include <Windows.h> | |
#include <tlhelp32.h> | |
DWORD GetPIDByName(LPCTSTR szProcessName) | |
{ | |
DWORD PID = 0xFFFFFFFF; | |
HANDLE hSnapShot = INVALID_HANDLE_VALUE; | |
PROCESSENTRY32 pe; | |
char proc_name[260]; |
This file contains hidden or 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
# Created by https://www.gitignore.io/api/windows,pycharm,django,pycharm,python | |
### Windows ### | |
# Windows image file caches | |
Thumbs.db | |
ehthumbs.db | |
# Folder config file | |
Desktop.ini |
This file contains hidden or 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
/* ๋ฐ์์ ๋ถํฐ ์ฝ์ผ๋ฉด ๋จ(?) | |
** ์ฝ๋ ํ๋ฆ(๋ผ์ธ ๋๋ฒ ๊ธฐ์ค. ๋ง ์ํฐ์น๋ค ๊นจ์ง๋ฉด ๋๋ ๋ชฐ๋): 141(react ๋ ๋๋ง ์์) --> 78 (์์ดํ ๋ฐ์ค ์์ฑ) --> 103(์ธํ๋ฐ์ค ๋ฐ๋๋๊ฑฐ ์ฝ๋ฐฑ ์ค์ ) --> | |
** 83 (์ฐธ๊ฐ ์ธ์์ด ํ์ ๋จ, ๊ทธ์ ๋ฐ๋ผ ๋ฐ์ดํฐ ๊ฐฑ์ ) --> 111 (๋ ๋๋ง) --> 122 (๊ฐ ํ๋ชฉ ๋ ๋๋ง) | |
*/ | |
function sum(args){ | |
var s=0 | |
args.map(function(data){ | |
var realPrice = data['priceByPiece']*data['amount'] | |
s+=(realPrice); |
This file contains hidden or 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
atom settings |
์์ฝ: ๊ฐ๋ฐ ์ปค๋ฎค๋ํฐ ์ ๋ฌธ, ์ค์ ๋ก ์ด์๋ ๋ปํ ์๋น์ค ๊ฐ๋ฐ, STAC ๋ณธ์ , ๋ ผ๋ฌธ ํ๋ด, sunrinio ๊ฐ๋ฐ
๊ฐ๋ฐ๋ก ์ ํฅํ๊ธฐ๋ก ๋ง์์ ๊ตณํ๋ฉด์, ์ฌ๋ฌ ๊ฐ๋ฐ์ ๋ถ๋ค ๋ธ๋ก๊ทธ๋ฅผ ์ ์ฃผํํ๋ค. Django BOF, pyjog ๋ฑ ๊ฐ๋ฐ ๊ด๋ จ ๋ชจ์์ ๊ฐ๋ณด๊ธฐ ์์ํ๋ค. ๊ฑฐ๊ธฐ์ ๋ง๋ ๋ถ๊ณผ ํ๋๊ฐ์ง ํ๋ก์ ํธ๋ฅผ ์งํํ๋ค. ๋ญ ์์ฒญ ํฐ๊ฑด์๋๊ณ ๊ธฐ์กด์ ์๋ ์ฝ๋์์ ๊ธฐ๋ฅ์ถ๊ฐ ์ข ํ๊ฑฐ๋ ๋ฒ๊ทธ ์์ ํ๋ ์ ๋? ๊ทธ๋ถ์ด ๊ถ์ ํด์ฃผ์
จ๋ ํ๋๋ค์ด ๋ค ์ข์ ๊ฒฐ๊ณผ๋ก ์ด์ด์ก๊ธฐ๋ ํ๊ณ , ์๋ก์ด ์ฌ๋๋ค, ๋ชฐ๋๋ ๋ถ์ผ๋ ๋๋ถ์ ๋ง์ด ์ ํ๊ฒ ๋ผ์ ํญ์ ๊ณ ๋ง๊ฒ ์๊ฐํ๊ณ ์๋ค.
This file contains hidden or 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 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:"): |
OlderNewer