项目中需要计算目前编写多少行PHP代码。
(1).首先安装统计软件
apt-get install cloc
(2).计算项目多少行代码
cloc /mnt/d/wwwroot/dnetweb/
输出:
------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- PHP 21 265 328 1438 CSS 2 148 122 1055 ------------------------------------------------------------------------------- SUM: 23 413 450 2493 -------------------------------------------------------------------------------
其中code就是行数
c#中string和StringBuilder直接看看执行速度。(2).String类型累计赋值Test  ...
1.全局用户信息设置 git config --global user.name gaojiufeng git config --global user.email 392223903...
git pull https://git.oschina.net/392223903/learn.git master 换为您的git地址...
日志查看:git log版本切换:方式1:git reset --hard HEAD^ 倒退一个版本git reset --hard HEAD^^ 倒退两个版本方式2:(版本号的形式,建议版本号码补充完...
private const string fantizi = "高久峰是個程序員"; private const string jiantizi = "高久峰是个程序员...
首先网页全部是纯静态的文件,本地测试正常访问,服务器端无法加载CSS,并且无法查看CSS文件的内容。 解决方案:关闭网站的压缩->>静态压缩和动态压缩...