摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="./v 阅读全文
摘要:
<?php /** * SnowFlake ID Generator * Based on Twitter Snowflake to generate unique ID across multiple * datacenters and databases without having dupli 阅读全文
摘要:
goframe 框架 // 数据格式 [{"title":"首页", "ur l":"asdasdasdas", "image_url":"fdgfdgfgfc","list_order":1},{"title":"订单", "url":"asdasdasdas", "image_url":"fdg 阅读全文
摘要:
查看版本php --ri swoole . 升级pecl upgrade swoole 阅读全文
摘要:
Mac 开启crontab定时任务调试一般使用微信tocken还有Scret时候需要定时通过get到微信制定网站获取,需要7200秒获取一次。多次请求,每天有请求上限,一般做法缓存起来,然后7200失效后重新获取。 *参考文献:*http://linuxtools-rst.readthedocs.i 阅读全文
摘要:
按住commond+R 进入安全模式 打开终端 输入 csrutil disable 关闭权限 重启 新建脚本 CoreDisplay-patcher.command 内容如下: 执行脚本 ..... 省略 logout Saving session... ...copying shared his 阅读全文
摘要:
Controller::::::$user = User::findOne(['ID'=>Yii::$app->user->getId()]);dd($user->toArray());Model:::::::::: public function fields() { $fields = pare 阅读全文
摘要:
SELECT "AR_DEC_ORDER"."ID", "AR_DEC_ORDER"."DEC_SN", "AR_DEC_ORDER"."ORDER_SN", "AR_DEC_ORDER"."USER_ID", "AR_DEC_ORDER"."TO_USER_ID", "AR_DEC_ORDER". 阅读全文
摘要:
$dir1 = '/Volumes/UMUSIC/'; $filearr = scandir($dir1); unset($filearr[0]); unset($filearr[1]); // unset($filearr[177]); $filearr = array_values($filearr... 阅读全文
摘要:
[DEC_SN] => Array ( [field] => DEC_SN [comment] => 报单编号 ) [ORDER_SN] => Array ( [field] => ORDER_SN [comment] => 订单编号 ) 阅读全文