莫菲    

0

1.右键->Settings2.点击图示位置3.在文件末尾添加:[credential] helper = store4.拉取,输入账号密码后会存储5.以后再拉取时就不需要再次输入了

6年前发布  · 837 次阅读
  Git  TortoiseGit 
0

excel中时间格式如上图所示,要使用phpexcel获取正确的时间格式:$date参数为用phpexcel读取到的对应表格中的数值。public static function excelTime($date){ if(is_numeric($date)){ $n = ceil(($date - 25569) *...

6年前发布  · 782 次阅读
  phpexcel 
0

SHOW COLUMNS FROM 表名 LIKE '字段名';

6年前发布  · 923 次阅读
  mysql 
0

SELECT subdate(日期字段,DATE_FORMAT(日期字段, '%w') - 1) stat_date, DATE_FORMAT(`日期字段`, '%u') AS WEEK, sum(汇总字段1) money, SUM(汇总字段2) profit FROM 表名 WHERE DATE_FORMAT(日期字段, '%Y') =...

6年前发布  · 865 次阅读
  mysql 
0

1.在HTML中添加:<meta name="csrf-token" content="{{ csrf_token() }}">2.js中添加ajax代码:$.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr...

6年前发布  · 940 次阅读
  laravel 
0

压缩文件夹:tar -zcvf abc.tar.gz  --exclude=abc/logs --exclude=abc/libs abc上述意思:压缩abc文件夹 除去logs libs文件夹  压缩后的文件名字为abc.tar.gz解压对应的压缩包:tar zxvf FileName.tar.gz

6年前发布  · 848 次阅读
  linux 
0

官网:ccbill ccbill简介:Online Merchant ServicesIt's All HereOnline payment processing is vital to the success of today's businesses. While a variety of solutions exist, few a...

6年前发布  · 1954 次阅读
  ccbill 
0

由于互联网的迅速发展,越来越多的网站客户范围变广,有时候就需要接入国外流行使用的支付方式-Paypal,其实对于个人也可以在个人站点接入Paypal支付,首先注册一个Paypal账号:paypal地址:https://www.paypal.com点击右上角注册即可,注册时需注意,必须使用真实姓名,我第一次注册时随便填入的姓名,结果不能绑定...

6年前发布  · 2517 次阅读
  paypal 
0

1.查看远程git版本地址:git remote -v2.切换远程版本库连接地址git remote set-url origin 新地址3.拉取分支:git pull在git bash下查看用户名:git config user.name查看git配置:git config --list 修改(全局默认)用户名:git config -...

6年前发布  · 875 次阅读
  Git 
0

功能强大的图表插件highcharts设置: 1. 允许图表放大功能: 在chart属性中添加 zoomType:'x', 或者 zoomType:'y', 或者 zoomType:'xy', chart: { type: 'area', zoomType: 'xy', }, 2.设置鼠标停留点出显示的信息: tool...

6年前发布  · 916 次阅读
  highcharts 
0

1. Install the Certbot Let's Encrypt Client(yum安装cerbot) 执行: sudo yum install epel-release 安装成功后执行: sudo yum install certbot2.nginx设置 已经安装成功nginx后,可在nginx配置文件夹中添加配置文件。例如我...

6年前发布  · 1336 次阅读
  nginx  centos 
0

最近修改.env配置支持 密码重置时邮件发送问题,发现一直有问题,看错误日志,发现有可能是.env文件没有生效,后来重启了nginx,问题依旧。然后想起我有使用配置文件缓存,然后执行了下清除缓存命令,就可以啦php artisan cache:clear php artisan config:clear

7年前发布  · 2327 次阅读
  laravel5 
0

建立一个修改字段类型的迁移文件,执行迁移时提示如下:[RuntimeException] Changing columns for table "prices" requires Doctrine DBAL; install "doctri ne/dbal".  需要安装 doctrine/dbal依赖:doctrine/dbalcomp...

7年前发布  · 1737 次阅读
  migration 
0

$.ajax({ url:'order', method:'post', data:{products:products}, success:function (data) { var win = window.open(); win.document.write(data); } }...

7年前发布  · 930 次阅读
  jquery 
0

参考地址:js 刷新页面 location = location location = location.href location = window.location location = self.location location = window.location.href locat...

7年前发布  · 938 次阅读
  js 
0

html代码:<input class="copyMe" type="text" /> <input class="copyMe" type="text" /> <input class="copyMe" type="text" /> <input class="copyMe" type="tex...

7年前发布  · 1092 次阅读
  jquery 
0

在git bash下查看用户名:git config user.name查看git配置:git config --list 修改(全局默认)用户名:git config --global user.name "New Username"只是修改当前项目使用的用户名:git config user.name "New Username"  ...

7年前发布  · 6627 次阅读
  Git 
0

情景:1.已有utf8编码的sql文件2.需要将此文件导入windows下的数据库服务中,正确姿势:1.新建一个utf8编码的数据库,假如为a2.mysql bin目录下 mysql -uroot -p3.use a;4.set names utf8;5.source d:\path\to\example.sql

7年前发布  · 1080 次阅读
0

获取当前登录用户的id:Auth::user()->id判断是否登录 Auth::check() 判断登录信息是否相符:Auth::attempt(array('name' => $name, 'password' => $password), $remember) laravel 密码加密方式:Hash::make('...

7年前发布  · 984 次阅读
0

发现一个很全的mac版快捷键,PDF版,因为没办法上传文件,截图如下: 

7年前发布  · 2725 次阅读
  phpstorm  Mac