aanoaa / horris Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lestrrat-p5/morris
Yet Another IRC Bot(again?) - Morris for hongbot
This project forked from lestrrat-p5/morris
Yet Another IRC Bot(again?) - Morris for hongbot
Eng2kor
=> [eng2kor|e2k]
hongbot: eng2kor en-word
App::eng2kor
사용하면 되겠건희..)Hit
=> [hit|dis]
hongbot: hit jeen
Twitter
Echo
=> echo [on|off]
RPC
23:50 -hongbot:#perl-kr- 남편앞으로 알라딘에서 택배가 왔다. 남편이 �... on Twitpic [text/html]
한글을 byte로 잘라낼때 발생하는 깨지는 문자를 없애주는 코드가 필요합니다.
url 을 인식하면, title 및 관련 정보를 보여주고, url 길이가 길다면 shorten url 도 같이 제공하면 좋겠습니다.
Morris에서는 https://github.com/lestrrat/Morris/blob/master/lib/Morris/Plugin/PeekURL.pm 입니다.
Morris -> Horris
plugin 기능을 원격으로 구현하기 위한, plugin을 위한 plugin
익명성 보장
/msg hongbot dis hshong
bot이 join 되어 있는 채널중에 hshong 이란 id가 있으면 dis
ㅁㅁ
나오면 사진까지 곁들여서 dis
assume here at a irc channel
HH:MM:SS jeen | whitecatz: ㅁㅁ?
HH:MM:SS hongbot | whitecatz: 뭠마? - http://keetekee.com/xe/files/attach/images/740/920/20100621_223317.jpg
feed on off 설정할 수 있는 기능 추가.
Relay
그래야 뉴비를 꼬실 수 있음
예를들면, Horris::Connection::Plugin::Twitter
같은경우에 https url에 대해 처리를 못하고 있음
t/plugin_<PLUGINNAME>.t
를 만들어서 테스트 강화나중에 모바일 app 에서 사용할 수 있도록 Log를 기록해두고
JSON-RPC, XML-RPC 로 이용할 수 있도록 웹서비스도 같이하자
봇에 /names 같은 명령어 전달하면 relay 되는 채널의 접속된 nickname 이라던지..
그런걸 대신 하게 해주면 좋겐건희..
내부적으로 구현된 플러그인 모델을 Moose::Object::Pluggable
을 사용해서 변경하자
중복된 feed 를 insert 하고 있습니다.
Give a talk at FOSDEM :: So, FOSDEM is approaching. If you don't know what FOSDEM is, it's a very big European technology co :: http://blogs.perl.org/users/sawyer_x/2011/01/give-a-talk-at-fosdem.html
일단 db 에 insert 하는 프로세스 종료시켰습니다.
수정되고 나면 재기동 하겠습니다.
일단 적어노코 나중에 수정해야징
http://mobile.twitter.com/ibm_dw_kr/status/19247876899086337
mobile용 link는 못읽습니다.
Plugin::RPC 를 활용해서 실제 기능은 Horris 외부에서 수행할 수 있도록 함.
모듈의존성을 줄이는게 더 이해하기 쉽고 좋겟다.
MooseX::Cmd 라던지..
11:16:40 yuni | hshong: https://twitter.com/#!/y0ngbin/status/53131612849836032 │
11:16:42 hongbot | yongbin: BASIC-&gt;Pascal-&gt;C-&gt;SQL-&gt;Perl ( -&gt;PHP-&gt;Java-&gt;Bash / Awk / Sed │
| )-&gt;Perl-&gt;NOW-&gt;EOL // ( waste time period of my life ) #myjourneytoperl
로그 메시지에 http 등의 링크가 있는 경우 상세 화면으로 들어가지 못합니다. 이럴 경우 즐겨찾기 등의 부가 기능을 사용할 수 없습니다. 로그 화면에서 링크로 바로 이동하는 기능을 비활성화시키고 차라리 상세화면에서 링크와 기타 기능을 활성화 시키는 것이 더 좋을 것으로 보입니다.
제곧내
Redirect 처리를 하면, 대부분의 Shorten URL 을 처리할 수 있습니다.
IRC
03:31 < yuni> IBM DeveloperWorks 에서 Cultured Perl keyword article list 입니다 : http://goo.gl/aGkIJ
03:31 -hongbot:#perl-kr- Moved Permanently [text/html; charset=UTF-8]
curl test
$ curl -I http://goo.gl/aGkIJ
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=UTF-8
Expires: Sun, 09 Jan 2011 18:35:52 GMT
Date: Sun, 09 Jan 2011 18:35:52 GMT
Location: http://www.ibm.com/developerworks/views/linux/libraryview.jsp?topic_by=All+topics+and+related+products&sort_order=desc&lcl_sort_order=desc&search_by=cultured+perl%3A&search_flag=true&type_by=Articles&show_abstract=false&sort_by=Date&end_no=100&show_all=false
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Cache-Control: private, max-age=86400
Age: 11
Transfer-Encoding: chunked
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.