Skip to content

Instantly share code, notes, and snippets.

View CharlesxrWu's full-sized avatar

CharlesWu CharlesxrWu

View GitHub Profile
@CharlesxrWu
CharlesxrWu / BUILD
Created December 11, 2020 03:46 — forked from bsilver8192/BUILD
Basics of generating a compile_commands.json file with Bazel
py_binary(
name = 'generate_compile_command',
srcs = [
'generate_compile_command.py',
],
deps = [
'//third_party/bazel:extra_actions_proto_py',
],
)
@CharlesxrWu
CharlesxrWu / main.py
Created March 12, 2017 12:09 — forked from littlecodersh/main.py
Main script behind itchat robot
#coding=utf8
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'