04 2020 档案
摘要:好在下载的时候有一个心理预期 使用 github 的 api 地址:https://api.github.com/repos/organization/repository 将 organization 和 repository 替换为相应项目的即可。 在返回的 json 字符串中可以看到 size 字段,即为项目大小,单位是 KB。
阅读全文
摘要:1. 安装Log Parser Studio a) 需要先安装Log Parser,下载地址:http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=24659 b) 安装Log Parser Studio,下载地址:http://gallery.technet.microsoft.com/Log-Parser-...
阅读全文
摘要:在相应的 server 配置中最后写: return 301 https://$server_name$request_uri; 使用 301 跳转 转自:https://www.cnblogs.com/xth0331/p/9655576.html
阅读全文
摘要:在 bootstrap 的 modal 中使用 popover 时,若指定了 popover 的 container 为 body 且 modal 的元素上设置了 tabindex=-1 时,会导致 popover 里面设置的 input 输入框无法使用,不设置 container 或者不设置 tabindex=-1 就正常了。暂时还没深究是为什么。。。 参考:https://stackoverf...
阅读全文
摘要:好像只有在 mysql 中有此限制,解决方法就是不要在 update 的 where 语句中直接使用 select 子查询,再嵌套一层就可以了。。。 例如:update tablename set xx=0 where id in (select id from (select id from anothertable) as t)
阅读全文
摘要:项目地址:https://github.com/oarriaga/face_classification 本文记录描述的是在 Windows 10 1909 版本下,python 3.8.2 64-bit,编辑运行 face_classification 项目过程。因为项目有些时间没有更新了,所以似乎跟引用组件的最新版本会有些不匹配,在运行过程中摸索修改。 1、下载整个项目文件后,在 src ...
阅读全文
摘要:1、安装:在 windows 10 下的 ps 中输入 python3 会自动跳转的商城的 python 应用页面,点击获取安装即可完成安装,非常方便。。。 但是这种安装方式会产生一个问题,就是本身安装目录就已经很长:(C:\Users\xxx\AppData\Local\Packages\Pyth
阅读全文
摘要:0、在执行 docker 操作时,总是提示错误:no space left on device 1、检查 linux 磁盘占用:df –h 2、了解到 linux 下还有另一个有关磁盘文件的占用 inode:df –ih 了解更多:http://www.ruanyifeng.com/blog/2011/12/inode.html 3、发现 inode 占用已经 100% 4、搜索了一下,发现 do...
阅读全文
摘要:以下命令需要在“程序包管理器控制台”中执行: 使用 Add-Migration [名称] 来建立迁移脚本 然后使用 Update-Database 来执行迁移脚本(如何使用程序执行?) 如果想将迁移回滚,可以:Update-Database -Migration:0 清除项目里的迁移代码:Remove-Migration
阅读全文