07 2015 档案

摘要:引用http://anjun.cc/post/651.html private byte[] intToByteArray(final int integer) throws IOException {// ByteArrayOutputStream bos = new ByteArrayOu... 阅读全文

posted @ 2015-07-19 17:04 anjuncc 阅读(481) 评论(0) 推荐(0)

摘要:新分配的指针,移动前先保存 首地址,不然移动的最后,free(*p)会指错-(NSData*)getImageData{ UIImage *img = [UIImage imageNamed:@"img1_8"]; CGImageRef imgRef =img.CGImage; NSData *d... 阅读全文

posted @ 2015-07-16 21:50 anjuncc 阅读(107) 评论(0) 推荐(0)

摘要:1 uwsgi.ini[uwsgi]socket=127.0.0.1:8000chdir=/xx/xx/xx/mysitemodule=mysite.wsgi:applicationprocesses = 4threads = 2master=Truepidfile=/tmp/poll-master... 阅读全文

posted @ 2015-07-11 16:21 anjuncc 阅读(148) 评论(0) 推荐(0)

摘要:/etc/environment 中添加以下内容,就可以为系统制定全局的 http 代理http_proxy="http://127.0.0.1:8087"https_proxy="http://127.0.0.1:8087"These programs will not obey the envi... 阅读全文

posted @ 2015-07-11 14:55 anjuncc 阅读(304) 评论(0) 推荐(0)

导航