摘要:
问题来源 在pycharm发现Create new schema的效果和新建数据库一样,所以产生这个问题 参考 https://stackoverflow.com/questions/11618277/difference between schema database in mysql 答案 在M 阅读全文
摘要:
原因 因为docker是CS架构,Server方要配置好源,客户端才能连接,服务才能开启 解决办法 1.切换到root用户,su root.. 2.sudo vim /etc/docker/daemon.json,加入 3.service docker start/restart 阅读全文
摘要:
传送门 来自作者的PPT https://speakerdeck.com/mitsuhiko/advanced flask patterns?slide=46 阅读全文
摘要:
传送门 http://www.ruanyifeng.com/blog/2012/10/javascript_module.html 1. 原始写法 缺点:污染全局变量;可能和其他模块发生冲突;模块中的成员之间看不出关系。 2. 把模块写进去进对象里面 缺点:改变了模块内部状态;例如module1._ 阅读全文
摘要:
传送门 https://www.bilibili.com/bangumi/play/ep228777/ https://zh.wikipedia.org/wiki/%E8%82%AF%E5%BE%B7%E5%9F%BA https://zh.wikipedia.org/wiki/%E7%99%BE% 阅读全文
摘要:
传送门 1. http://flask.pocoo.org/docs/1.0/appcontext/ storing data 2. http://flask.pocoo.org/docs/1.0/appcontext 3. http://flask.pocoo.org/docs/1.0/appco 阅读全文
摘要:
传送门 1. https://www.zhihu.com/question/19998865/answer/26203965 2. https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface 3. https://www.liaoxuefen 阅读全文
摘要:
传送门 https://blog.csdn.net/jackfrued/article/details/79717727 在此基础上实践和改编某些点 1. 并发编程 1. 实现让程序同时执行多个任务也就是常说的“并发编程” 2. 使用Python实现并发编程主要有3种方式:多进程、多线程、多进程+多 阅读全文
摘要:
``` git init git add git add . git checkout -- git checkout -- . git status git config --global user.name git config --global user.email git commit -m 'reason' git log git reset --hard ... 阅读全文
摘要:
求n个数字的累加和 1. 递归实现 求一个数字的每个位数上的和 :如:23 5 1. 递归实现 function getnumberSum(x) { if (x 阅读全文