Skip to content

Instantly share code, notes, and snippets.

Archer Reilly csrgxtu

Block or report user

Report or block csrgxtu

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
@csrgxtu
csrgxtu / cb.js
Created Sep 30, 2017
node cb access parent's var
View cb.js
fs = require('fs')
fs.readFile('/etc/hosts', 'utf8', function (err,data) {
if (err) {
return console.log(err);
}
console.log(data);
});
View itdb.md

How to install itdb in ubuntu?

first, install apache2+

sudo apt-get update
sudo apt-get install apache2

second, install php and related modules

@csrgxtu
csrgxtu / SimpleTemplateEngine.py
Created Jul 3, 2017
a very simple template engine based on string.format
View SimpleTemplateEngine.py
import string
class SuperFormatter(string.Formatter):
"""World's simplest Template engine."""
def format_field(self, value, spec):
if spec.startswith('repeat'):
template = spec.partition(':')[-1]
if type(value) is dict:
View nara.md

有个人叫做奈美良智,一个日本的屁民家庭孩子,just like us, 1987年读武藏野美术学院,居然被强行劝退了,小伙子不服气,上了另一所差点儿的美术学院。然后突然在八九十年代到香港,遇见一位大眼、额高、可爱而邪恶的小女孩(俗话说的熊孩子,小屁孩),开始创作自己的风格作品,如下:

image

image

image

从该作品中可以看出,奈美主要是通过将人物缩小失调,突出脑袋五官而表现出一种fuck off 的情绪。其实吸引我的是作品本身和作者的经历。想想,武藏野美术学院的那个劝退奈美的教授现在可以骄傲的说奈美当年就是他的学生。

View golang-create-read-write-delete-file.go
package main
import (
"fmt"
"io"
"os"
)
var path = "/Users/novalagung/Documents/temp/test.txt"
View QRCode.go
package main
import (
"github.com/kiktomo/goqr"
"image/png"
"os"
)
func main() {
View gist:7f6c8d0b2ad9b7b03f73
[如果你用GitHub,可以这样提高效率](fsaf)
@csrgxtu
csrgxtu / Docker
Created Mar 17, 2015
Resource About Docker
View Docker
InfoQ Head First Docker: http://www.infoq.com/cn/articles/docker-core-technology-preview [here](http://www.infoq.com/cn/articles/docker-core-technology-preview)
@csrgxtu
csrgxtu / MEMM
Last active May 22, 2018
A Gist For get myself understand the MEMM -- Maximum Entropy Markov Model
View MEMM
An introduction from wiki: http://en.wikipedia.org/wiki/Maximum-entropy_Markov_model
An Chinese blog summerize the three: MaxEnt, HMM, MEMM, and CRF: http://www.cnblogs.com/549294286/archive/2013/06/06/3121761.html
An very intuative instroduction to NLP segmentation: http://www.isnowfy.com/introduction-to-chinese-segmentation/
Steve's Explanation to MEMM: http://www.cs.toronto.edu/~sengels/tutorials/MEMM.html
MIT 6.863J/9.611J Natural Language Processing: Fall 2012: http://web.mit.edu/6.863/www/fall2012/
MIT 6.881 2004秋季课程:自然语言处理(Natural Language Processing, Fall 2004): http://www.myoops.org/cocw/mit/Electrical-Engineering-and-Computer-Science/6-881Fall-2004/CourseHome/index.htm
@csrgxtu
csrgxtu / resume-resource
Created Mar 16, 2015
My Resume Resources
View resume-resource
http://www.vaikan.com/how-to-write-a-killer-resume-for-software-engineers/
http://coolshell.cn/articles/1695.html
https://github.com/geekcompany/ResumeSample
http://www.zhihu.com/question/25002833
You can’t perform that action at this time.