Skip to content

Instantly share code, notes, and snippets.


Json Lee lijiansong

Block or report user

Report or block lijiansong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lijiansong /
Created Jun 12, 2019 — forked from littlecodersh/
Main script behind itchat robot
import itchat
# tuling plugin can be get here:
from tuling import get_response
def text_reply(msg):
if u'作者' in msg['Text'] or u'主人' in msg['Text']:
return u'你可以在这里了解他:'
View roi-pooling-cpu.cpp
// ------------------------------------------------------------------
// Fast R-CNN
// Copyright (c) 2015 Microsoft
// Licensed under The MIT License [see fast-rcnn/LICENSE for details]
// Written by Ross Girshick
// ------------------------------------------------------------------
#include <cfloat>
#include "caffe/fast_rcnn_layers.hpp"
lijiansong / clang-cc1-options.txt
Last active Mar 20, 2018
View clang-cc1-options.txt
OVERVIEW: LLVM 'Clang' Compiler:
USAGE: clang -cc1 [options] <inputs>
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
View negroni-logger.go
package main
import (
func main() {
lijiansong / main.go
Created Jan 14, 2018 — forked from alyssaq/main.go
GET and POST golang API
View main.go
* Sample API with GET and POST endpoint.
* POST data is converted to string and saved in internal memory.
* GET endpoint returns all strings in an array.
package main
import (
lijiansong / main.go
Created Jan 14, 2018 — forked from chadlung/main.go
An example Go (golang) REST service that uses JWT (JSON Web Tokens) and Negroni
View main.go
package main
// Generate RSA signing files via shell (adjust as needed):
// $ openssl genrsa -out app.rsa 1024
// $ openssl rsa -in app.rsa -pubout >
// Code borrowed and modified from the following sources:
View mgoExample.go
package main
import (
type Person struct {
lijiansong / install-nodejs-ubuntu.txt
Created Jan 7, 2018
Install node.js v6.10.2 and npm 3.10.10 for Ubuntu 14.04 for Try Typescript for Codingforenterpreuners
View install-nodejs-ubuntu.txt
### nvm installation
$ curl -sL -o
### run script
$ bash
$ source ~/.profile
$ nvm ls
$ nvm install 6.10.2
### set default node
You can’t perform that action at this time.