2014년 5월 22일 목요일
2014년 5월 8일 목요일
2014년 5월 6일 화요일
유니스트 내가 전해주까 - 유내전

What is UNIST FedEx
This is a python code for UNIST FedEx bot.
This is a program that uploads anonymous posts to Facebook page by using google sheet.
Links
- Facebook : https://www.facebook.com/unistfedex
- Upload posts : http://goo.gl/8Epbui
Copyright
Copyright (c) 2014 Kim Tae Hoon
Screenshots
* 2014.05.23 *
* 2014.05.07 *
* 2014.05.06 *
2014년 4월 13일 일요일
프로젝트 겨태
Objective
Make a next-gen study group
Progress
- Core
- models
- study_group
- views
- view_calendar
- create_study_group
- delete_study_group
- join_study_group
- view_study_group
- models
- Board
- models
- board
- post
- views
- create_board
- view_board_list
- create_post
- edit_post
- delete_post
- create_comment
- delete_comment
- view_post
- models
- Event
- models
- event
- views
- get_event_as_json
- edit_event
- create_event
- delete_event
- finish_event
- unfinish_event
- models
- School
- models
- school
- views
- models
- Account
- models
- student
- views
- sign_in
- sign_up
- sign_out
- follow
- models
- Tag
- models
- tag
- views
- models
- File
- models
- file -views
- models
To-do
- Tag : filter_tag, add_tag, delete_tag
- School : school_index, school_study_group
- Event : event_complete, event_decomplete
- Board : file_upload, file_delete, file_info, edit_comment
- Core : add_leader, delete_leader,
Screenshot
Github : https://github.com/carpedm20/gyutae
Heroku : http://gyutae.herokuapp.com/
2013년 12월 2일 월요일
컴공아 일하자 (Comgong Job)
Comgong Job
What is Comgong Job
This is a python code for Comgong Job bot.
This is a program that uploads newest internship and recruit announcements to facebook automatically.
Links
- Facebook : https://www.facebook.com/comgong.job
- Mailing list : http://comgong.us.to
Copyright
Copyright (c) 2013 Kim Tae Hoon
Screenshots
* 2015.04.17 *
* 2014.05.31 *
* 2013.12.05 *
2013년 11월 29일 금요일
[Python] 포탈봇
This is a python code for UNIST portal bot.
Portal bot is a program that uploads the UNIST's portal announcements to facebook automatically.
Facebook : https://www.facebook.com/hexa.portalgithub : https://github.com/carpedm20/UNIST-portal-bot
Mailing list : http://portalbot.us.to
Copyright (c) 2013 Kim Tae Hoon
2013년 8월 18일 일요일
[카카오톡] python wrapper for LOCO protocol
pypi :
kakaotalk module is a python wrapper for LOCO protocol.
You can install this module using pip:
$ pip install kakao
$ easy_install kakao
This project is very much based on the LOCO Analysis from
bpak.org.
Quick Start Guide
Requirement
First of all, you need a KakaoTalk account. Then, you have to find out 'duuid', 'sKey', and 'user_id' for your KakaoTalk account. If you need some help to extract these info from your account, see this post. When you are prepared, you need to specify these info to kakaotalk module. For example:from kakao import kakao kakao.duuid = 'YOUR_DUUID' kakao.sKey = 'YOUR_SKEY' kakao.user_id = 'YOUR_USER_ID'
After you prepared
There are various kinds of commands in LOCO protocol like 'login', 'write', 'read', 'buy', 'checkin' etc. To use these commands freely, you have to follow two steps to make proper connection with LOCO server.- First, send 'checkin' command to get LOCO server info (host and port) to communicate.
document = checkin() host = document['host'] port = document['port']
- Send handshake socket with 'login' command to LOCO server with encryption info.
h = hand() l = login() enc_l = enc_aes(l) command = struct.pack('I',len(enc_l)) + enc_l s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((str(host),port)) s.settimeout(5) s.send(h + command) reply = s.recv(40960)
s = kakao.start() suc = kakao.write(s, chatId, "(하트)")
Commands
buy
: get LOCO server information(HOST,PORT) from KakaoTalkcheckin
: literaly check in to the LOCO servercwrite
: create chat room and send messagewrite
: send message to specific chat roomhand
: handshake command which contains encryption informationlogin
: notify to LOCO server that you will use commands (not sure)chaton
: notify to LOCO server that you will start to chat with specific chat roomnchatlist
: get chat room list from LOCO server (not sure)leave
: leave the specific chat roomping
: send ping to server that notify you are still aliveupseen
: notify that you are checked specific chat roomread
: get chat room list and info from server
2013년 8월 6일 화요일
[카카오톡] 헥사봇
* 2014.01.13 Announcement *
The End :)
* 2013.12.12 Announcement *
'carpedm20'으로 검색이 허용되지 않는것으로 보입니다.
현재로서는 지인을 통해 친구 추가하시는 방법밖에 없어 보입니다.
It is not possible to search HeXA Bot with 'carpedm20'.
The only way to make HeXA Bot as your friend is getting some help from your friends.
HeXA Bot is a robot which automatically answer to user's command through KakaoTalk.
Facebook : https://www.facebook.com/photo.php?fbid=468189449939384
HeXA : http://hexa.us.to/
Analysis of LOCO protocol :
ps.
ps2.
2013년 7월 29일 월요일
[Python] Flask 블로그 예제
python을 언어로 사용하는 웹 프레임워크에는 유명한 Django 가 있지만,
배우는데 시간이걸리고 복잡해서 저는 Flask라는 프레임 워크를 이용해 개인 블로그를 만들어 보았습니다.
아직 개인 서버와 도메인이 없어서 블로그를 옮기지는 않고 있지만, 준비가 되는데로 옮기려고 합니다 :)
혹시 Flask를 이용해 블로그나 웹 사이트를 구현하고 싶은데 참고하고 싶은 예제를 찾고 계시는 분은
https://github.com/carpedm20/personal-blog-powered-by-flask
여기서 소스를 참고하시면 될 것 같습니다
Flask에 대한 기본적인 튜토리얼은
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
여기를 참고하시면 됩니다
Framework를 사용해 아무것도 없는 상태에서 글쓰기, 글수정, 사진, markdown 기능, 소스코드 highlighter 등의 기능을 구현해 보면서
블로그라는걸 가볍게 생각하고 만들기 시작하면 안된다는걸 배웠습니다..
특히나 저에게 웹 디자인과 css는 정말 악몽이었습니다...
아래 사진은 블로그를 run한 사진입니다 :)
URL : http://carpedm20.us.to
2013년 3월 17일 일요일
Robot
created by carpedm20
version 1.1.0
Download
수정중
- 주요 기능 -
- 포탈 그룹웨어 게시판 (학사공지, 전체공지, 대학원 공지, 최신 게시물) 모아보기
- 10분마다 포탈 공지 자동 업데이트 ('세션 리로드(새로 고침)' 버튼을 직접 클릭해서 수동 업데이트 가능)
- 블랙보드 수강중인 과목 메뉴 모아보기
- 학술정보관 도서자료 검색 (네이버 도서 평점 연동), 스터디룸 예약, 열람실 좌석 현황, 도서 대출, 예약, 신청 현황 보기
- 간단한 브라우저를 통해 포탈, 종합 정보, 블랙보드, 학술정보관, 기숙사, 전자 우편, 학사 일정, 야식 정보, 총재 클럽 바로가기
- 기상청 DB를 통해 간단한 울산 날씨(기온) 보기
- 개인 알림 기능 (시간을 정해서 알림을 설정해 두면 정해진 시간 이후 작업표시줄에서 알림이 뜨는 기능)
- 간단한 메일 보내기 기능 (UNIST 메일 계정 이용)
- 랜덤 명언 기능
- 기타 숨은 기능
프로그램을 이용하기 위해서는 .NET 프레임워크 3.5 이상의 버전과 익스플로러 9 이상의 버전이 필요합니다.
프로그램이 실행될 때 오류가 발생한다면 아래의 링크에서 .NET 프레임워크 3.5 SP1 을 받으시기 바랍니다.
아직 다양한 환경에서 테스트 해보지 못해 예상치못한 오류가 발생할 수 있습니다.
오류가 발생할 경우, 운영체제, 설치된 .NET 프레임워크 버전, 오류 발생 경로를
carpedm20@gmail.com 으로 보내주시면 최대한 빠르게 업데이트 할 수 있도록 노력하겠습니다.
이외에도 건의 사항 및 기타 의견은 언제든지 환영합니다.
마지막으로 프로그램은 C# 으로 만들었으며 소스코드는 http://github.com/carpedm20/robot 에 공개되어 있습니다.
오픈 소스이므로 필요하신분은 누구나 사용하셔도 무방합니다 :)
Robot 을 통해 불편했던 학교 웹사이트 이용에 조금이나마 도움이 되었으면 좋겠습니다.
감사합니다 :)
피드 구독하기:
글 (Atom)