By admin , 30 八月, 2018 SourceForge Shell 登录 ssh -t hgneng@shell.sourceforge.net create cd /home/frs/project/e-guidedog 参考:https://sourceforge.net/p/forge/documentation/Release%20Files%20for%20Download/
By admin , 28 八月, 2018 百度文字识别(OCR) 每天50000次 价格:https://cloud.baidu.com/doc/OCR/OCR-Pricing.html#.EC.DF.48.27.9B.69.A4.2C.54.1B.DC.95.67.DB.1D.3C 文档:http://ai.baidu.com/docs#/OCR-API/9ef46660 标签 百度
By admin , 23 八月, 2018 How to Install the PHP Stats Extension // 如果有多个php版本,需要确认pecl是目标php的版本 pecl install stats-2.0.3 echo extension=stats.so > /etc/php/7.0/mods-available/stats.ini ln -s /etc/php/7.0/mods-available/stats.ini /etc/php/7.0/fpm/conf/30-stats.ini https://serverpilot.io/docs/how-to-install-the-php-stats-extension 标签 PHP
By admin , 7 八月, 2018 No space left on device 当我们发现磁盘空间不够,但df -h显示还有空间的时候,可以看看df -i。这个是查磁盘inode数量的,即磁盘文件的个数。这个数字是在格式化磁盘的时候就定好了的,只能通过删除数量庞大的小文件来解决。 root@iZ62dn8z0plZ:/var/log# touch haha touch: cannot touch 'haha': No space left on device
By admin , 29 七月, 2018 把文件按关键字拆分成多个文件 有时候,我们需要把一个很长的文本拆分成多个文件。例如把一本书拆分成若干章节。下面命令可以做到,其中66表示重复执行66次(文本有66章) csplit full.html '/正文/' '{66}' 如果重复次数超过100,csplit需要增加-n 4参数来用4位数命名文件名。 拆分后,文件会以xx开头,下面命令可以统一改后缀名: find xx*|xargs -I {} mv {} {}.html
最新评论