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
| 我是学习您的爬漫画时看到账号密码的,赶紧删了吧,太危险了,我什么都没干。 |
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
| import itchat | |
| # tuling plugin can be get here: | |
| # https://github.com/littlecodersh/EasierLife/tree/master/Plugins/Tuling | |
| from tuling import get_response | |
| @itchat.msg_register('Text') | |
| def text_reply(msg): | |
| if u'作者' in msg['Text'] or u'主人' in msg['Text']: | |
| return u'你可以在这里了解他:https://github.com/littlecodersh' | |
| elif u'源代码' in msg['Text'] or u'获取文件' in msg['Text']: |
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
| /** | |
| * 在线画报socket.io服务器端示范 | |
| * | |
| * @author yongboy | |
| * @time 2012-3-27 | |
| * @version 1.0 | |
| */ | |
| public class WhiteboardServer { | |
| public static void main(String[] args) { | |
| MainServer chatServer = new MainServer(new WhiteboardHandler(), 80); |