05 2018 档案

摘要:数据源 动态数据源 可参考 https://www.liaoxuefeng.com/article/00151054582348974482c20f7d8431ead5bc32b30354705000 自定义注解 指定target,方式@Target(java.lang.annotaion.Elem 阅读全文
posted @ 2018-05-29 15:27 WangDazui 阅读(248) 评论(0) 推荐(0)
摘要:三目运算: 为真时的结果 if 判断条件 else 为假时的结果(注意,没有冒号) json序列化:josn.dumps() json反序列化:json.loads() 多线程实现: thread: thread.start_new_thread(runTarget,(..)) threading: 阅读全文
posted @ 2018-05-29 15:27 WangDazui 阅读(94) 评论(0) 推荐(0)
摘要:download -> make -> redis-server ->redis-cli operations: 数值操作incr incrby; decr decrby; lists操作lpush rpush lrange 无序集合sadd smembers sismember sunion .. 阅读全文
posted @ 2018-05-11 14:29 WangDazui 阅读(107) 评论(0) 推荐(0)
摘要:# MongoDB AWS EC2 Setup Guide **Credits:** - [https://eladnava.com/deploy-a-highly-available-mongodb-replica-set-on-aws/](https://eladnava.com/deploy-a-highly-available-mongodb-replica-set-on-aws... 阅读全文
posted @ 2018-05-10 16:12 WangDazui 阅读(222) 评论(0) 推荐(0)
摘要:user: create user 'name'@'host' identified by 'passwd' grant usage/all privileges on *.* to 'name'@'host' identified by 'passwd' with max_queries_per_ 阅读全文
posted @ 2018-05-09 18:31 WangDazui 阅读(89) 评论(0) 推荐(0)