上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 41 下一页

2023年3月3日

mysql: 看不见的空符号 char(9) char(10) char(13)

摘要: trim,消除前后的空格,没有效时果 update table_name set column_name = replace(replace(replace(column_name,char(9),''),char(10),''),char(13),''); 说明: table_name:表名 co 阅读全文

posted @ 2023-03-03 14:09 何苦-> 阅读(274) 评论(0) 推荐(0)

IDEA 服务器热部署详解(On Update action/On frame deactivation)

摘要: 配置属性: On Update action:当代码改变的时候,Idea执行什么操作; -Update resource:如果有更新,并且更新资源为(*.jsp,*.xml,不包括java文件),就会立即生效 -Update classes and resources:如果发现有更新,并且更新资源为 阅读全文

posted @ 2023-03-03 14:06 何苦-> 阅读(778) 评论(0) 推荐(0)

2023年3月2日

mysql sum 聚合计算后精度不准 出现多位小数点后的数

摘要: 解决办法 原收款单money 字段 为 decimal(28,8) 经过层层计算用到了 @total := ( beginning + @total + gather - verification ) AS 'balance', @num := ( @num + 1 ) AS 'num' 办法为最后 阅读全文

posted @ 2023-03-02 15:12 何苦-> 阅读(825) 评论(0) 推荐(0)

2023年2月28日

nvm node 版本管理

摘要: nvm安装与使用 1、nvm是什么 nvm全名node.js version management,顾名思义是一个nodejs的版本管理工具。通过它可以安装和切换不同版本的nodejs。下面列出下载、安装及使用方法。 2、下载 可在点此在[github](https://github.com/cor 阅读全文

posted @ 2023-02-28 18:21 何苦-> 阅读(139) 评论(0) 推荐(0)

IDEA报错Error running ‘Application‘: Command line is too long解决方案

摘要: IDEA报错Error running 'Application': Command line is too long.Shorten command line for Application or also for Spring Boot default configuration 问题背景 解决 阅读全文

posted @ 2023-02-28 16:46 何苦-> 阅读(3181) 评论(0) 推荐(0)

laravel 安装

摘要: 通过composer安装laravel composer create-project --prefer-dist laravel/laravel=5.6.* www.blog.com # 创建项目 create-project # 以压缩方式下载 --prefer-dist # 下载的版本 lar 阅读全文

posted @ 2023-02-28 14:08 何苦-> 阅读(60) 评论(0) 推荐(0)

laravel phpstorm ide-helper

摘要: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ composer create-project --prefer-dist laravel/laravel=6.* haoran compo 阅读全文

posted @ 2023-02-28 14:04 何苦-> 阅读(28) 评论(0) 推荐(0)

PHP 静态延迟绑定 static

摘要: PHP (self static parent 区别) self调用的方法和属性始终表示当前类的方法和属性 static调用的方法和属性为当前执行的类的方法和属性 parent调用的方法和属性为父类的方法和属性(存在继承关系) //self example.php class A { public 阅读全文

posted @ 2023-02-28 13:55 何苦-> 阅读(35) 评论(0) 推荐(0)

Laravel 5.1 LTS 速查表

摘要: https://cs.laravel-china.org/# Artisan // 在版本 5.1.11 新添加,见 http://d.laravel-china.org/docs/5.1/authorization#creating-policies php artisan make:policy 阅读全文

posted @ 2023-02-28 13:51 何苦-> 阅读(53) 评论(0) 推荐(0)

在 Laravel 5 中通过 Simple QrCode 扩展包生成二维码详解

摘要: 安装 composer require simplesoftwareio/simple-qrcode 在 config/app.php 注册服务提供者 SimpleSoftwareIO\QrCode\QrCodeServiceProvider::class 同样在 config/app.php 添加 阅读全文

posted @ 2023-02-28 13:50 何苦-> 阅读(372) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 41 下一页

导航