Dev
搜索

Dev

vue 更新 结束 页面高度 不准
发表于2019-12-17|jq
https://www.cnblogs.com/xf-zhao/p/8620644.html 12345678910111213var app = new Vue({ el: '#comment_list', data: { items: [] }, watch:{ items:function(){ this.$nextTick(function(){ lazyLoading() }) } },})
mongodb php 聚合 条件判断
发表于2019-12-11|php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120...
Python opencv 特征匹配 支持h264 多线程 队列
发表于2019-11-24|python
特征匹配12pip install opencv-pythonpip install opencv-contrib-python==3.4.2.17 这里一定要加版本号,负责会报一个版权错误代码 12345678910111213141516171819202122232425262728293031323334353637383940# import numpy as npimport cv2import matplotlib.pyplot as pltimg1 = cv2.imread('a1.jpg', 0) # queryImageimg2 = cv2.imread('a4.jpg', 0) # trainImage# Initiate SIFT detectorsift = cv2.xfeatures2d.SIFT_create()# find the keypoints and descriptors with SIFTkp1, des1 = sift.detectAndCompute(img1, None)...
php 对多维数组 排序
发表于2019-11-24|php
当参数是多维数组时候前面参数类似sql中的group by,而最后一个是排序的数据以下是按0列排序,如果前面有多个条件也可以,SORT_DESC,SORT_NUMERIC这种只对前面的数组排序有效最后一个数组会跟着前面的数组改变顺序,从而实现多维数组排序 12345678910$arr = [ [1, 2], [99, 0], [100, -1],];array_multisort( array_column($arr, 0), SORT_DESC, SORT_NUMERIC, $arr);var_export($arr); 支持多个字段类似order by 12345678// CPU内存升序$cpu = array_column($available, 'Cpu');$mem = array_column($available, 'Memory');array_multisort( $cpu, SORT_ASC, SORT_NUMERIC, $mem, SORT_ASC, SORT_NUME...
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 ...
1…262728…103
avatar
developer
AI相伴的开发者博客
文章
1024
标签
725
分类
35
Follow Me
公告
This is my Blog
最新文章
opencode自定义模型2026-06-18
pdf操作2026-06-04
pdf按章节拆分到文件2026-05-03
svg转png2026-04-09
taro+tailwind开发记录2026-04-07
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
备份 运营网站记录 dd mb_ereg_replace 封禁ip jssdk Anaconda 创建软连接 apache 路由不生效 Shortcode xss htmlspecialchars 中 解密 企业支付返回数据 搭建php开发环境 worker 函数 开启url 微信分享定制注意事项 排序 乌龟 注意点 vue 魔术方法 php Post Formats 报错 sftp 协程 serverless 类型转换 Promise对象 时间戳 discover alter 过大的 但是无效果 opencode
归档
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
网站信息
文章数目 :
1024
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中