摘要: sudo apt-get install mailutils sudo apt-get install sharutils mail in mailutils uuencode in sharutils mailutils->SMTP->internet email in or out (echo 阅读全文
posted @ 2016-08-24 15:56 枪侠 阅读(221) 评论(0) 推荐(0) 编辑
摘要: PS:war 部署路径:/var/lib/tomcat7/webapps http://www.linfuyan.com/how-to-install-apache-tomcat7-on-ubuntu-14-04-via-apt-get/ 翻译自:https://www.digitalocean.c 阅读全文
posted @ 2016-08-11 16:00 枪侠 阅读(6516) 评论(0) 推荐(0) 编辑
摘要: PS: Spring ThreadPoolTaskExecutor vs Java Executorservice cachedthreadpool 引用 来源:YidingHe's Blog 从 Java 5 开始,Java 提供了自己的线程池。线程池就是一个线程的容器,每次只执行额定数量的线程。 阅读全文
posted @ 2016-08-10 14:43 枪侠 阅读(372) 评论(0) 推荐(0) 编辑
摘要: There is a lot you can do with the React Native Navigator. Here, I will try to go over a few examples of what you can do with the Navigator and explai 阅读全文
posted @ 2016-08-02 10:37 枪侠 阅读(258) 评论(0) 推荐(0) 编辑
摘要: java.util.regex是一个用正则表达式所订制的模式来对字符串进行匹配工作的类库包。它包括两个类:Pattern和 Matcher Pattern 一个Pattern是一个正则表达式经编译后的表现模式。 Matcher 一个Matcher对象是一个状态机器,它依据Pattern对象做为匹配模 阅读全文
posted @ 2016-07-25 11:28 枪侠 阅读(204) 评论(0) 推荐(0) 编辑
摘要: PS: sendAuthRequest拿到code,通过code拿到access_token和openId,access_token可以拿到用户的信息 http://blog.csdn.net/haovip123/article/details/50503176 需求:接入微信支付,需要获取 Ope 阅读全文
posted @ 2016-07-22 18:33 枪侠 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 分享给需要的产品!如果你刚接触微信开发但不懂技术,或从未接触但想了解,那就看看吧! 一、如果做好外部链接分享到微信呢? 你的微信群里是不是到处都是分享的链接? 你是否想过为什么从外部app分享到微信的文章你直接点击就可以看?而在抢外卖红包时总是要弹出登录授权页面,然后还要求你填写手机号? 你是否思考 阅读全文
posted @ 2016-07-22 17:55 枪侠 阅读(503) 评论(1) 推荐(0) 编辑
摘要: https://wohugb.gitbooks.io/wechat/content/qrconnent/refresh_token.html http://blog.csdn.net/xiong_it/article/details/48317527 PS: access_token是微信认证成功和 阅读全文
posted @ 2016-07-22 17:17 枪侠 阅读(4590) 评论(0) 推荐(0) 编辑
摘要: PS:Promise的用处是异步调用,这个对象使用的时候,call then函数,传一个处理函数进去,处理异步调用后的结果 Promise<Action>这样的对象呢,异步调用后的结果是一个Action,传到处理函数里 async/await的作用是,不需要写then函数了,相当于与自动帮你写,你只 阅读全文
posted @ 2016-07-21 17:46 枪侠 阅读(303) 评论(0) 推荐(0) 编辑
摘要: PS: Spring boot注解,Configuration是生成一个config对象,@Bean指定对应的函数返回的是Bean对象,相当于XML定义,ConfigurationProperties是指定对应的函数返回的保护这些properties http://www.tutorialspoin 阅读全文
posted @ 2016-07-20 15:58 枪侠 阅读(640) 评论(0) 推荐(0) 编辑