05 2020 档案
摘要:PHP 二维数组根据某个字段排序 - nookia - 博客园
阅读全文
摘要:主要用strtotime()这个函数 php 获得前一个月的月份 date("Y-m-d",strtotime("last month")); php获得给定时间的前一个月时间 $record="20101001"; date("Ymd",strtotime("last month",strtoti
阅读全文
摘要:设置淘宝镜像 npm config set registry http://registry.cnpmjs.org 通过npman下载安装cnpm npm install -g cnpm -registry=https://registry.npm.taobao.org 全局安装了cnpm,然后cm
阅读全文
摘要:phpstorm terminal 字体大小设置: File>settings>Colors & Fonts>Console Font
阅读全文
摘要:设置→时间和语言→区域和语言→语言→中文(中华人民共和国)→选项→微软拼音→选项→按键→快捷键,就可以关闭切换快捷键了。 修改成ctl+shift+e
阅读全文
摘要:对于经常在mac上使用top命令的童鞋来说,htop会是一个更加好看和更加好用的命令,下面就是在mac上安装htop的步骤 1.首先去htop官网去下载,我下的是最新的2.0.2版本,网址是https://hisham.hm/htop/releases/2.0.2/ 下载htop 2.0.2.tar
阅读全文
摘要:Mac idea 打不开 从官网上刚下载的idea,安装完成之后,双击打开,只见一闪而过,软件没有打开。 打开 访达 应用程序 IntelliJ IDEA 显示包内容 : 显示包目录之后,打开contents ,macos ,运行phpstorm可执行文件 控制打印的信息如下: 2020 05 21
阅读全文
摘要:custom PhpStorm VM options Xms128m Xmx750m XX:ReservedCodeCacheSize=240m 修改为 Xms128m Xmx400m XX:ReservedCodeCacheSize=120m
阅读全文
摘要:例如 table test 字段extend 内容为 ~~~ { "cq_user_id": "b11b84f376" } ~~~ select from test where json_extract(extend,'$.cd_user_id') != ''
阅读全文
摘要:官网https://www.vmware.com/ 注意 1、从VM11开始就不再支持32位系统了,所以32位系统用户和XP系统用户请使用10.0.7版本; 2、从VM14开始,对硬件要求进一步提高,所以低配电脑用户请使用12.5.9版本; 3、关于VM14黑屏问题,这是 VMware tools
阅读全文
摘要:1、网络上千篇一律的解决办法 File Invalidate Caches / Restart... Invalidate and Restart 很大一部分同学也用这个方法解决了 2、我们今天来说一种不一样的方法(上面方法没解决的可以参考) 如果我们的项目中存在这大量的静态文件,或者文件目录数太巨
阅读全文
摘要:mac下 opt+enter win10 alt+enter
阅读全文
摘要:
阅读全文
摘要:"zoc7 下载和使用指南 连接远程主机"
阅读全文
摘要:安装自己下载的应用后,打开时提示 xxxx.app已损坏,打不开.你应该将它移到废纸篓 这时需要允许打开任何来源的应用,系统偏好设置 安全性与隐私 勾选“任何来源”。 如果没有“任何来源”选项,可以打开终端,执行下侧命令,然后重新打开系统偏好设置就可以看到该选项了: sudo spctl maste
阅读全文
摘要:ifconfig | grep "inet"
阅读全文
摘要:PHP5.3之后引入了闭包函数的特性,又称为匿名函数。下面介绍几种常用的用法: 1.直接使用: ~~~ <?php $f = function($s) { echo $s; }; //这个分号不能丢,否则会报错 $f('HELLO'); ~~~ 2. 在函数中使用闭包 ~~~ <?php funct
阅读全文
摘要:svn提交代码 cmd+k update代码 cmd+T 格式化代码:(cmd+opt+L) 全局搜索(cmd + shift + F) 替换(cmd+R) 搜索文件名(command + option + o) 输入行号跳到某一行(command + L) 列出打开的文件(command + e)
阅读全文
摘要:Editor/ File and Code Templates / includes / PHP File Header 添加 ~~~ / Created by PhpStorm. User: Huang Date: ${DATE} Time: ${TIME} / ~~~ Editor/ File
阅读全文
摘要:插件安装 PHP ANNOTATIONS 注释对齐 prefenerces editor code style code generation comment Code 打勾 add space at comment start 滚轮缩放代码区域大小 prefenerces editor gener
阅读全文
摘要:sublime 打开 sql . 正则替换 。 cmd+opt+f 点击左下脚第一个小星星 然后输入 find ~~~ (X'[^,\)] ') ~~~ repalce ~~~ CONVERT\($1 using utf8mb4\) ~~~ 点击replace All 备注 json是mysql 5
阅读全文
摘要:#方法1 官方文档介绍直接打开mamp pro 点击redis 打勾include redis server in groupStart即可 phpredis拓展自动就能够用了。 我目前用的是第二种方法, redis 客户端 https://gitee.com/qishibo/AnotherRedi
阅读全文
摘要:方法1 (失效了) 打开mamp pro 在左侧languages中点击php , 然后打勾 ,make this version available on the command line. 方法2 Mac自带了PHP开发环境,但是很多开发者装了MAMP集成环境,打开终端输入:which php,
阅读全文
摘要:1.官网下载所对应的php 版本 http://php.net/get/php 5.3.29.tar.gz/from/a/mirror 2.解压 找到需要的扩展目录 例如我要的是shmop cd ~/Downloads/php 5.3.29/ext/shmop 3.执行你所用php版本的phpize
阅读全文
摘要:~~~ defaults write com.apple.dock springboard rows int 6 defaults write com.apple.dock springboard columns int 8 killall Dock ~~~ 恢复 ~~~ defaults writ
阅读全文
摘要:1.阿里云容器加速地址 https://cr.console.aliyun.com/cn hangzhou/instances/mirrors 2.mac 需要点开doshboard 后docker engine中填入如下内容即可 ~~~ "registry mirrors": ["https://
阅读全文