ubuntu解压zip文件名乱码

摘要: 安装:sudo apt install zip unzi 命令:unzip -O cp936 xxx.zip 来源:https://jingyan.baidu.com/article/375c8e1963bdfa65f3a2296f.html 阅读全文
posted @ 2020-10-26 10:22 少杨 阅读(118) 评论(0) 推荐(0)

telnet 退出

摘要: 安装:brew install telnet 链接: telnet 127.0.0.1 9501 telnet 退出 ctrl+] 然后是 ctrl+c 或者是 ctrl+d 阅读全文
posted @ 2020-10-10 14:04 少杨 阅读(269) 评论(0) 推荐(0)

docker 根据容器创建镜像

摘要: 创建一个新容器命令:$ sudo docker run -i -t ubuntu /bin/bash安装 Lua 语言环境 apt-get update -y && apt-get install -y luajit luarocks再用 exit 命令退出容器,再运行 docker commit  阅读全文
posted @ 2020-10-10 11:10 少杨 阅读(802) 评论(0) 推荐(0)

mac android adb device 没有显示设备

摘要: 执行: adb kill-server adb devices 来源:https://stackoverflow.com/questions/7135999/adb-not-finding-my-device-phone-macos-x 阅读全文
posted @ 2020-09-21 11:05 少杨 阅读(184) 评论(0) 推荐(0)

Yii2 查看所有的别名 alias

摘要: 查看所有var_dump(Yii::$aliases); 获取单个别名Yii::getAlias('webroot'); 阅读全文
posted @ 2020-09-19 11:36 少杨 阅读(392) 评论(0) 推荐(0)

Yii2 App Advanced 添加 .gitignore

摘要: /.idea */runtime/* */web/assets/* /vendor 参考:https://www.cnblogs.com/utf87/articles/5672827.html 阅读全文
posted @ 2020-09-19 09:38 少杨 阅读(175) 评论(0) 推荐(0)

ubuntu 18.04 搜狗突然就提示乱码

摘要: 突然就出现了乱码: 这次是:killall fcitx 解决的 来源:https://blog.csdn.net/Suyebiubiu/article/details/100702967 阅读全文
posted @ 2020-08-07 13:31 少杨 阅读(104) 评论(0) 推荐(0)

An error occured while deploying the file. This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. You should either build your native code to

摘要: 问题: An error occured while deploying the file. This probably means that the app contains ARM native code and your Genymotion device cannot run ARM ins 阅读全文
posted @ 2020-07-24 19:24 少杨 阅读(1267) 评论(0) 推荐(0)

Resolving timed out after 2511 milliseconds

摘要: 在docker里运行程序,程序用curl请求本地hosts重定向的url地址.死活获取不到数据,还出现provisional headers are shown, 最后在docker 要做下 hosts 制定, /etc/hosts 阅读全文
posted @ 2020-07-22 14:50 少杨 阅读(1044) 评论(0) 推荐(0)

docker 操作 (让容器后台运行程序不退出)

摘要: docker ps 查看当前的容器, -a 显示所以的容器,-q只显示容器 id -> docker rm $(docker ps -qa) 删除所有的容器 docker rmi xxxx(镜像id或者名称) 删除镜像 docker entrypoint 必须有没有退出的进程 才能不退出,可以用 - 阅读全文
posted @ 2020-07-18 18:01 少杨 阅读(7416) 评论(0) 推荐(0)