Dev
搜索

Dev

sublime 接口测试 代替 postman 等工具
发表于2019-11-23|php
主要是利用sublime的自带编译系统 新建json12345678910{ "mehtod": "GET", "url": "https://wx.iguojin.com/activity/astrazeneca/saveData", "query": { "name": "测试", "hospital": "一家医院", "phone": "13011111111" }} 为json建编译系统123456789{ "cmd": [ "php", "C:\\php\\bin\\phppost\\index.php", "$fi...
mysql max min 必须放在-条件之后
发表于2019-11-23|mysql
1SELECT *,max(marks) FROM `form_log` where reason = 'astrazeneca' group by userid
Ubuntu apache2 开启虚拟机 但是无效果
发表于2019-11-19|others
今天在ubuntu的apache2开启了一个虚拟机重启apache但是无效后来发现,虚拟机中侦听的端口是被设置在另一个配置文件中的ports.conf
linux 常用命令
发表于2019-11-19|others
lsofhttps://www.jianshu.com/p/a3aa6b01b2e1list openfiles 1lsof -i :22 创建用户https://blog.csdn.net/taolusi/article/details/81304057 12adduser:会自动为创建的用户指定主目录、系统shell版本,会在创建时输入用户密码。useradd:需要使用参数选项指定上述基本设置,如果不使用任何参数,则创建的用户无密码、无主目录、没有指定shell版本。 time获取命令执行时间 1234time python3 Oreal.pyreal 0m12.471suser 0m9.756ssys 0m0.251s dnf软件源列表12345# 当前启用的dnf repolist# 全部源dnf repolist all dnf禁用软件源1sudo dnf config-manager --set-disable sublime-text
小乌龟 git 使用方法 常用命令
发表于2019-11-05|others
推送标签 1git push origin master --tags
docker 常用 命令
发表于2019-11-05|docker
容器管理 启动容器 1docker run -it ubuntu /bin/bash 查看所有的容器 1docker ps -a 启动一个已停止得容器 1docker start b750bbbcfd88 后台运行 1docker run -itd --name ubuntu-test ubuntu /bin/bash 停止一个容器 1docker stop 容器ID 进入容器 12docker attach 容器IDdocker exec -it 243c32535da7 /bin/bash # 退出后容器不退出 导出容器快照 1docker export 容器 > /data/ubuntu.tar 导入容器快照 1cat docker/ubuntu.tar | docker import - test/ubuntu:v1 删除容器(必须停止状态) 1docker rm -f 容器id 查看日志 1docker logs ID或者名字 查看程序进程 1docker top ID或者名字 镜像管理 展示本地镜像 1docker ...
yii2 使用记录
发表于2019-10-31|php
安装遇到Content-Length mismatch, received 98048 bytes out of the expected 4075770报错 修改composer.json的config键值 123456789"config": { "process-timeout": 1800, "fxp-asset" : { "installer-paths" : { "npm-asset-library" : "vendor/npm", "bower-asset-library" : "vendor/bower" } }}, 伪静态 .htaccess文件内容为 12345Options +FollowSymLinksRewriteEngine onRewri...
php 笔试题
发表于2019-10-20|php
第一部分 程序如下,写出执行结果 12345678910$count = 3;function get_count(){ static $count = 0; return $count++;}echo $count; //3++$count;echo get_count(); //0echo get_count(); //1 有文件dir/upload.img.jpg,使用2种以上方法获取拓展名 123456789101112131415// pathinfopathinfo($dir)['extension'];array ( 'dirname' => 'dir', 'basename' => 'upload.img.jpg', 'extension' => 'jpg', 'filename' => 'upload.img...
php使用java时间戳
发表于2019-10-07|php
1define("JAVA_TIME", date("Y-m-d\TH:i:s") . '.000+0800');
extract compact list 数组导出变量 变量导入数组 数组值赋值给变量
发表于2019-10-07|php
extract从数组中将变量导入到当前的符号表 1234567$input = [ "phone" => "130111111111", "name" => "test", "sex" => "1",];extract($input);echo $phone; compact建立一个数组,包括变量名和它们的值,compact() 在当前的符号表中查找该变量名并将它添加到输出的数组中 1234$name = "test";$phone = "130111111111";$res = compact("name","phone");print_r($res); list把数组中的值赋给一些变量,这不是真正的函数,而是语言结构 123$info = array('coffee', 'brown', '...
1…262728…102
avatar
developer
AI相伴的开发者博客
文章
1020
标签
721
分类
35
Follow Me
公告
This is my Blog
最新文章
taro+tailwind开发记录2026-04-07
hono js 使用记录2026-03-31
cmder使用记录2026-03-08
flutter getx使用记录2026-03-01
统计代码行数2026-02-27
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
备份 bug SSL 部分产品对比 utf8 常用算法 nginx ffmpeg 占位符 swarm 效果 等工具 1 语法高亮 conda jssdk ibdata1 模板字符串 读取 模型初始化 wp_filter 启动 数据不更新问题 腾讯云 nginx日志 获取 恢复 我的全新开始 指定目录 无法开启 文件 攻击 M方法 macos 工作模式 laravel trait 播放声音 tsc版本不同 workerman
归档
  • 四月 2026 1
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
  • 十月 2025 5
  • 九月 2025 5
网站信息
文章数目 :
1020
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中