摘要:
抄自这里int i = 1;NSData *data = [NSData dataWithBytes: &i length: sizeof(i)];int i;[data getBytes: &i length: sizeof(i)]; 阅读全文
摘要:
生成json的库https://github.com/bennyscetbun/jsongohttps://github.com/donnie4w/json4g 阅读全文
摘要:
转自这里videoView.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" +R.raw.test)); 阅读全文
摘要:
jar包放项目的libs目录,然后tools,android,sync project with grade files即可。 阅读全文
摘要:
直接代码package mainimport ( "fmt" "golang-objective-go/dataFoundation/dataConvert" "io/ioutil" "os/exec" "strings")func main() { dir_li... 阅读全文
摘要:
测试表/* Navicat Premium Data Transfer Source Server : localhost Source Server Type : PostgreSQL Source Server Version : 90401 Source Host ... 阅读全文
摘要:
vim ~/.bash_profileexport PATH=/Applications/Postgres.app/Contents/Versions/9.4/bin/:$PATHpip install psycopg2 阅读全文
摘要:
据说ventoy有win和linux版本 阅读全文
摘要:
codis是豌豆荚team出的一个redis集群,和官方的集群区别的地方在于基于proxy,官方是基于gossipcodis所有的读写都通过proxy,对于前端业务是透明的官方的是读写发现在某个机器以后,智能转发过去(一般支持官方集群的客户端里面都会有多个ip给你)codis基于zookeeper实... 阅读全文
摘要:
参考http://redis.readthedocs.org/en/latest/topic/cluster-tutorial.htmlhttp://yindashan.github.io/blog/2014/11/02/redisclusterda-jian-jiao-cheng/主从切换需要使用... 阅读全文