11月 20, 2019 - php开发    git 必须会的几个命令已关闭评论

git 必须会的几个命令

首先:mac,unix下的换行符是lf,window下是crlf

若是在win下开发的则最好同步设置如下:避免拉取代码后一堆文件都要改换行符

git 若设置git config –global core.autocrlf true:则拉取时转为CRLF,提交时转为LF
git config –global core.autocrlf input:拉取时不转换,提交时转换为LF
git config –global core.autocrlf false:拉取提交都不转换
win10下设置为input,并且把phpstorm , vscod[……]

Read more

10月 20, 2019 - laravel, php开发    Laravel ide_helper插件应用已关闭评论

Laravel ide_helper插件应用

安装插件:composer require barryvdh/laravel-ide-helper –dev

命令行:

  php artisan ide-helper:generate – 为 Facades 生成 phpDocs 注释

  php artisan ide-helper:models – 为 Models 生成 phpDocs 注释

  php artisan ide-helper:meta – 为 PhpStorm 生成类路径提示文件

一下简便的方法需要和l[……]

Read more

9月 10, 2019 - Linux, 开发笔记    1 评论

屏幕代码雨

环境: centos 6.9

1: 找到一个目录: 执行:wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz

2: 执行解压: tar xvf cmatrix-1.2a.tar.gz

3: 切换到cmatrix 目录: 然后执行: yum install ncurses-deve

最后执行: cmatrix

注: 

  1. cmatrix常用命令如下:[……]

    Read more

页面:«1...24252627282930...44»