fareast_mzh
码龄6年
  • 755,460
    被访问
  • 637
    原创
  • 1,738
    排名
  • 76
    粉丝
  • 0
    铁粉
关注
提问 私信

个人简介:speculation is as old as the hills.

  • 加入CSDN时间: 2016-09-04
博客简介:

fareast_mzh的博客

查看详细资料
  • 5
    领奖
    总分 1,374 当月 89
个人成就
  • 获得128次点赞
  • 内容获得95次评论
  • 获得324次收藏
创作历程
  • 14篇
    2022年
  • 39篇
    2021年
  • 48篇
    2020年
  • 267篇
    2019年
  • 284篇
    2018年
  • 2篇
    2017年
成就勋章
TA的专栏
  • 前端
    7篇
  • 小程序
    7篇
  • shell
  • 数据结构
    6篇
  • 考试题
    4篇
  • qt
    1篇
  • 流媒体
    1篇
  • rabbitmq
    1篇
  • 搬砖工具
    7篇
  • 面试题
    2篇
  • leetcode
    5篇
  • app
    2篇
  • 微信
    2篇
  • thinkphp
    7篇
  • memcache
    2篇
  • web
    52篇
  • frontend
    25篇
  • php
    174篇
  • javascript
    79篇
  • algorithm
    44篇
  • DesignPattern
    9篇
  • Linux
    9篇
  • C
    12篇
  • git
    14篇
  • Java
    9篇
  • react
    12篇
  • emacs
    12篇
  • CORS
    2篇
  • 学习资料
    4篇
  • Interview
    7篇
  • 前端框架
    4篇
  • 环境配置
    41篇
  • windows
    6篇
  • 运维部署
    26篇
  • bit
    2篇
  • data-structure
    25篇
  • vue
    7篇
  • html
    3篇
  • css
    3篇
  • golang
    33篇
  • DataBase
    9篇
  • python
    11篇
  • redis
    12篇
  • test
    1篇
  • lumen
    4篇
  • jquery
    1篇
  • http
    6篇
  • euler
    4篇
  • mysql
    22篇
  • 运维
    3篇
  • cheat
    1篇
  • software
  • laravel
    3篇
  • svn
    1篇
  • nginx
    6篇
  • string
    1篇
  • docker
    3篇
  • kubernetes
    1篇
  • tools
    2篇
  • mongodb
    5篇
  • webpack
    2篇
  • node.js
    5篇
  • wordpress
    3篇
  • nodejs
    5篇
  • C++
    8篇
兴趣领域 设置
  • 前端
    javascript
  • 后端
    node.js
  • 人工智能
    opencv计算机视觉图像处理
  • PHP
    php
  • 服务器
    linuxcentos
  • 最近
  • 文章
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

git 删除分支

$ git push origin --delete fix-0623-vouchergitTo http://git.shall-buy.top/xiaoba/car-v2 - [deleted] fix-0623-voucher$ git branch -D fix-0623-voucherDeleted branch fix-0623-voucher (was e26ad85).
原创
发布博客 2022.06.23 ·
10 阅读 ·
0 点赞 ·
0 评论

Illuminate\Support\Collection 去重 unique 列表去重

列表, 数组 指定规则去重curMsg->getFundId() == $prevMsg->getFundId()重复后处理// 删除哪个元素?if ($curMsg->created_at > $prevMsg->created_at) { // 待删除的元素移动到后面 self::swap($list, $i, $dupIdx);}可替换部分如上.........
原创
发布博客 2022.06.21 ·
16 阅读 ·
0 点赞 ·
0 评论

Laravel log channel 分组配置

use Illuminate\Support\Facades\Log;Log::channel('vehicle')->info('==xxx任务开始==');config/logging.phpchannels配置项中添加vendor/laravel/framework/src/Illuminate/Log/LogManager.php
原创
发布博客 2022.06.20 ·
39 阅读 ·
0 点赞 ·
0 评论

Laravel 权限导出

./app/Console/Commands/ExportPermission.phpphp artisan permission:migrate # php artisan export:permission staff日志:database/permission/permission.log SQL:database/permission/permission.sql
原创
发布博客 2022.06.08 ·
25 阅读 ·
0 点赞 ·
1 评论

大城市网速快。

发布动态 2022.06.08

laravel migration 修改字段 php artisan make:migration ...

php artisan make:migration alter_sources_description --table=life_car_sourcesphp artisan migratephp artisan migrate:rollback --step=1 # 回滚变更<?phpuse Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;use Illumi.
原创
发布博客 2022.05.09 ·
282 阅读 ·
1 点赞 ·
0 评论

Uncaught InvalidArgumentException: Please provide a valid cache path. in /apps/vendor/laravel/framew

cd 项目路径mkdir -p ./storage/framework/cachemkdir -p ./storage/framework/sessionsmkdir -p ./storage/framework/viewsDockerfileFROM vendor:7.4prodCOPY . /apps/RUN mkdir -p /apps/storage/framework/laravel-excel && chown www-data:www-data /app
原创
发布博客 2022.05.09 ·
208 阅读 ·
0 点赞 ·
0 评论

mysql JSON类型取值

location字段是json类型location json not null示例数据内容:{"city": {"code": "330100", "name": "杭州市"}, "province": {"code": "33000", "name": "浙江省"}}要查杭州市的select * from life_car_sourceswhere location-&
原创
发布博客 2022.04.18 ·
855 阅读 ·
1 点赞 ·
0 评论

redis 锁 PHP防止重复请求

use Illuminate\Support\Facades\Cache;// CACHE_DRIVER=redis$key = sprintf("carV2:panic_addSubsidy:%d", $value->getId());$lock = Cache::lock($key, 20);if (!$lock->get()) { throw \ExceptionFactory::business(CodeMessageConstant::PANIC_ORDER_...
原创
发布博客 2022.04.06 ·
714 阅读 ·
0 点赞 ·
0 评论

php base64字符串图片jpeg文本文件转换为jpeg图片

发布资源 2022.04.05 ·
zip

docker 添加挂载目录 mount /mnt /Volume

workspace: docker开发环境~/gitee.com/mxycool/workspace/docker-compose.yml添加 - '/Volumes:/mnt'$ docker-compose down$ docker-compose up -d把本机/Volumes 挂载到 容器的 /mnt[root@workspace: /mnt/老毛桃U盘] #
原创
发布博客 2022.03.23 ·
1312 阅读 ·
0 点赞 ·
0 评论

SnowFlake.php

* SnowFlake.php<?phpnamespace CarV2\Utils;class SnowFlake{ const START_STAMP = 1640966400000; // "2022-01-01" const SEQUENCE_BIT = 12; // 序列号占用的位数 const MACHINE_BIT = 5; // 机器标识占用的位数 const DATACENTER_BIT = 5; // 数据中心占用的位数
原创
发布博客 2022.03.11 ·
588 阅读 ·
0 点赞 ·
0 评论

Redis hmset, hmget

<?phpuse Illuminate\Support\Facades\Redis;// ... public static function getByIdWithCache($id) { Redis::select(6); $key = sprintf("CarV2:MERCHANT:%d", $id); $columns = array( "id", "merchant_type_id","member_username","...
原创
发布博客 2022.03.08 ·
457 阅读 ·
0 点赞 ·
0 评论

Mbstring.php

Partial mbstring implementation in PHP, iconv based, UTF-8 centric.
原创
发布博客 2022.02.16 ·
126 阅读 ·
0 点赞 ·
0 评论

php上传文件到七牛云

php上传文件到七牛云use zgldh\QiniuStorage\QiniuStorage;use \Illuminate\Http\UploadedFile; public function uploadImage(UploadedFile $image, string $disk, string $filePath) { /** @var $qiniu \zgldh\QiniuStorage\QiniuStorage */ $qiniu = Qini
原创
发布博客 2022.02.15 ·
267 阅读 ·
0 点赞 ·
0 评论

could not unmarshal event: unknown PrivateNetworkRequestPolicy value

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --disable-gpu --headless{ "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.
原创
发布博客 2022.02.09 ·
650 阅读 ·
0 点赞 ·
0 评论

git 比较分支

Compare two branches using git diffIn order to compare two branches easily, you have to use the “git diff” command and provide the branch names separated by dots.$ git diff branch1..branch2Using this command, Git will compare the tip of both branche
原创
发布博客 2021.11.08 ·
140 阅读 ·
0 点赞 ·
0 评论

根据经纬度计算2个地理位置的距离

* Math.php<?phpnamespace CarV2\Utils\Geo;class Math{ const PI = 3.14159265258979; public static function abs($x) { return $x < 0 ? -$x : $x; } public static function sqrt($x, $err=1e-15) { if ($x < 0) {
原创
发布博客 2021.11.01 ·
149 阅读 ·
0 点赞 ·
0 评论

libcurl error codes

libcurl error codesNamelibcurl-errors - error codes in libcurlDescriptionThis man page includes most, if not all, available error codes in libcurl. Why they occur and possibly what you can do to fix the problem are also included.CurlcodeAlmos
转载
发布博客 2021.10.26 ·
170 阅读 ·
0 点赞 ·
0 评论

emacs go-mode 设置tab宽度

(add-hook 'go-mode-hook (lambda() (setq tab-width 4)))
原创
发布博客 2021.09.18 ·
154 阅读 ·
0 点赞 ·
0 评论
加载更多