上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
  2019年8月2日
摘要: show databases; //显示全部的数据库 use databaseName; //使用某个数据库 show tables; //显示全部的表格 describe tableName; //显示表格的详细信息 flush privileges; //刷新数据库,当修改user表权限后需要刷 阅读全文
posted @ 2019-08-02 16:47 Mrnx 阅读(162) 评论(0) 推荐(0)
摘要: npm list g depth 0 阅读全文
posted @ 2019-08-02 16:44 Mrnx 阅读(4360) 评论(0) 推荐(0)
  2019年7月29日
摘要: 找到redis cli可执行文件 进入redis操作界面 使用命令 的方式,查看键值保存类型 根据类型来判断使用怎样的get语句 如果是list类型 则使用 获取list内容 删除操作使用 的方式 阅读全文
posted @ 2019-07-29 16:24 Mrnx 阅读(617) 评论(0) 推荐(0)
  2019年7月5日
摘要: 如果用户使用如上的sql语句就会报错,因为同一张表即作为被更新的对象,又作为被查询的对象 如果一定要使用这样的语句,可以尝试以下写法: 效率可能会比较低 阅读全文
posted @ 2019-07-05 09:58 Mrnx 阅读(295) 评论(0) 推荐(0)
摘要: 使用group_concat函数来实现功能 This function returns a string result with the concatenated non NULL values from a group. It returns NULL if there are no non NU 阅读全文
posted @ 2019-07-05 09:53 Mrnx 阅读(19588) 评论(4) 推荐(0)
  2019年6月28日
摘要: 在日常使用中,我们常常碰到文件夹被进程占用,导致资源锁定无法删除的情况。 碰到这种情况一般是在任务管理器里面,搜索句柄找到关联的句柄,从而定位是哪些进程占用了待删除的文件夹或文件。 但是一旦需要在程序中删除资源,事情就不那么好办了。 微软本身提供的cmd命令中不包含通过句柄搜索进程的命令,此时可以利 阅读全文
posted @ 2019-06-28 14:19 Mrnx 阅读(1147) 评论(0) 推荐(0)
摘要: 参考博客:https://blog.csdn.net/u011781521/article/details/80200583 阅读全文
posted @ 2019-06-28 14:06 Mrnx 阅读(216) 评论(0) 推荐(0)
  2019年6月27日
摘要: 参考博客:https://blog.csdn.net/u011412768/article/details/84312226 总结下来分为三种情况: 获取工作目录的路径 也就是命令行执行的目录,比如在桌面打开cmd窗口,os.getcwd()得到的就是好桌面路径 获取python文件的路径 也就是代 阅读全文
posted @ 2019-06-27 19:44 Mrnx 阅读(1282) 评论(0) 推荐(0)
摘要: textCtrl = wx.TextCtrl(self, size=(250,25)) font1 = wx.Font(15, wx.MODERN, wx.NORMAL, wx.NORMAL, False, 'Consolas') textCtrl.SetFont(font1) textCtrl.A 阅读全文
posted @ 2019-06-27 10:21 Mrnx 阅读(2093) 评论(0) 推荐(0)
  2019年6月25日
摘要: git rm r cached . git add . git commit m 'update .gitignore' git push u origin master 先将本地缓存删除,再提交,.gitignore文件只针对那些没有被staged的文件有效 参考博客:https://www.cn 阅读全文
posted @ 2019-06-25 10:58 Mrnx 阅读(802) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页