摘要:
apps 开发机器 多次因为升级出现无法登陆 下面就重新部署 流程做笔记 1 备份 根目录下的 那一堆shell 和 Cache/data 下的系统配置 2 shell : su www 切换到 www用户 删除目录下所有文件 包括 git 3 在服务器上新建项目 制作拉取代码流程 3 chown 阅读全文
阅读排行榜
把现有运行的容器的镜像导出打包命令
2021-01-06 18:07 by freefei, 360 阅读, 收藏,
摘要:
把现有运行的容器的镜像导出打包 save_images.sh 文件内容如下 #!/bin/bash IMAGES_LIST=($(docker ps --format "table {{.Image}}")) IMAGES_NM_LIST=($(docker ps --format "table { 阅读全文
数组快速排序法
2014-08-22 15:41 by freefei, 358 阅读, 收藏,
摘要:
/*** title: 快速排序法* type array* @param arr*/var quickSort = function(arr) { if (arr.length <= 1) { return arr; } var pivotIndex = Math.floor(arr.leng... 阅读全文
js 中 时间戳转换为时间
2013-02-26 11:16 by freefei, 351 阅读, 收藏,
摘要:
切记 php的时间戳 要乘以1000 changeTimeFormat(value.ctime*1000)[js]function changeTimeFormat(time) { var date = new Date(time); var month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.ge... 阅读全文
浙公网安备 33010602011771号