Golang 【整理】Go Web开发相关资料 go官网:https://golang.org/ build-web-application-with-golang(有中文版pdf):https://github.com/astaxie/build... 12月20日 阅读 3,540 views 发表评论 阅读全文
移动开发(android/ios/app) 【翻译】最NB的10大Hybrid Mobile App UI Frameworks: HTML5, CSS and JS 源文:http://noeticforce.com/best-hybrid-mobile-app-ui-frameworks-html5-js-css 现实中Android,IOS开发人员喜欢使用原生... 12月19日 阅读 3,750 views 发表评论 阅读全文
Laravel 【整理】Laravel 5如何安全删除migration文件 有时候我们不小心输错了migrations的文件名,但是并没有进行 artisan migrate 操作,那么可以按照下面方式操作: 删除migrations目录下错误的migrations文件,比如... 12月17日 阅读 7,909 views 发表评论 阅读全文
Laravel 【分享】Laravel 5.2 Entrust 默认注册普通用户+登陆根据角色跳转 本文实现基于前面两篇博客 【整理】Laravel 5 使用Entrust包如何注册用户时自动添加角色 【整理】Laravel 5 根据用户类型自动跳转 重写redirectPath方法 ,请自行查看,... 12月16日 阅读 7,410 views 发表评论 阅读全文
Python 【分享】中午吃什么,Python摇一摇代码帮助你 中午吃什么是个老问题,闲暇时间写个代码来解决。 代码可以自行修改 权重 数 #coding='utf-8' import random import collections as ... 12月16日 阅读 5,905 views 发表评论 阅读全文
Laravel 【整理】Laravel 5 使用Entrust包如何注册用户时自动添加角色 参考:Laravel 5 and Entrust. How to save user and attach role at the same time 通过Laravel的make:auth生成的Au... 12月14日 阅读 4,029 views 发表评论 阅读全文
Laravel 【整理】Laravel 5 根据用户类型自动跳转 重写redirectPath方法 参考: Laravel 5 redirect intended to different route based on role https://laracasts.com/discuss/chann... 12月14日 阅读 6,629 views 发表评论 阅读全文
c/c++ 【整理】Linux C/C++ 字符串时间对比大小 #include <time.h> time_t to_seconds(const char *date) { struct tm storage={0,0,0,0,0,0,0,0,0};... 12月14日 阅读 7,897 views 发表评论 阅读全文
c/c++ 【整理参考】RapidJson封装操作json参考 RapidJson据说是C++解析json库中最高性能的一个库,没有之一。 但是RapidJson操作json解析比较繁琐,很多时候需要自己封装一些方法。下面是摘自CSDN某博客里的封装代码,贴此仅供... 12月12日 阅读 7,579 views 发表评论 阅读全文
Laravel 【已解决】Laravel – This cache store does not support tagging? 遇到这个问题,解决办法,打开.env配置文件,添加如下: .env CACHE_DRIVER=array 12月07日 阅读 11,661 views 发表评论 阅读全文