Mac版QQ升级到了6.5.5

此前是4.2.5
Mac | 2019-07-30 04:56 | 阅读 878 次 | 评论 0 条

动态一时爽,一直动态一直爽

重构?不存在的,在项目的初创阶段以及平稳运营后的很长时间内,都有比重构重要的多的多的事情需要做。
心情随笔 | 2019-07-28 16:26 | 阅读 1344 次 | 评论 0 条

textmate2保存文件时自动删除行尾空格

默认textmate2是没有这个功能的,不过可以通过Bundles开启,开启方法: 1、点击菜单中的Bundles,然后 Edit Bundles 2、在弹出窗口中,依次点击 Text -> Menu Actions -> Converting / Stripping -> Remove Trailing Spaces in Document / Selection , 在最右侧的 Semantic Class 一栏填入:callback.document.will-save ,如图所示: ...
Ruby | 2019-07-27 03:00 | 阅读 1816 次 | 评论 0 条

清理未发布的新闻,同时删除附件

bccn_shell进入docker,按向上键一次就会出现 ./manage.py shell ,如果不出现继续按。出现后按回车进入控制台。 from news.models import Article for article in Article.objects.filter(public=False).order_by('id')[0:1000]: article.delete() 一次删1000篇
Python | 2019-07-07 00:02 | 阅读 1304 次 | 评论 0 条

TextMate2 设置行间距

设置跟上面一行的间距: defaults write com.macromates.TextMate fontAscentDelta -integer 0 设置跟下面一行的间距: defaults write com.macromates.TextMate fontLeadingDelta -integer 0 删除设置,恢复到默认设置: defaults delete com.macromates.TextMate fontAscentDelta defaults delete com.macromates.TextMa...
Mac | 2019-07-06 00:34 | 阅读 1649 次 | 评论 0 条
浏览2776940次
文章归档