- 분실물, 석식거래, 중고장터 등 선린을 위한 서비스들이 여러 대회에 많이 나옴
- 페북그룹만 몇개 살아있지 실제로 서비스되고 있는 것들 없음
- 선린에 하나쯤 있었으면 좋겠다 하는 서비스들을 한 곳으로 통합
- 대나무숲
- 분실물
- 석식거래
- 중고장터
- 주변 맛집 공유
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
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 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 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 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 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 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 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 |
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 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