摘要: ls -Fhla tree 目录 阅读全文
posted @ 2020-11-29 04:05 Ro0kie 阅读(43) 评论(0) 推荐(0) 编辑
摘要: #换源 FROM alpine RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories FROM ubuntu RUN sed -i s@/security.ubuntu.com/@/mirro 阅读全文
posted @ 2020-11-29 03:19 Ro0kie 阅读(67) 评论(0) 推荐(0) 编辑
摘要: ubuntu desktop 用非 root 用户登陆的时候,小问题很多 尤其是anaconda , 没法隔离环境,创建出一个环境test,结果conda install 还是装在base里面 干脆就root登陆吧 不得不说,root登陆也有问题。。。。tmd真的烦 vim /usr/share/l 阅读全文
posted @ 2020-10-07 19:17 Ro0kie 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_43713498/article/details/104995454 阅读全文
posted @ 2020-08-17 03:43 Ro0kie 阅读(97) 评论(0) 推荐(0) 编辑
摘要: https://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html https://www.liaoxuefeng.com/wiki/896043488029600 阅读全文
posted @ 2020-07-18 01:31 Ro0kie 阅读(91) 评论(0) 推荐(0) 编辑
摘要: ```shellautoindex on;autoindex_exact_size on;autoindex_localtime on;server { listen 8080 default_server; listen [::]:8080 default_server; server_name _; charset utf-8; ... 阅读全文
posted @ 2020-02-07 21:04 Ro0kie 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 下载官方安装脚本 去https://github.com/v3ray/v3ray core/releases下载对应文件,上传到服务器 运行脚本, local 使用本地文件安装 替换/etc/v3ray/config.json ,重启 service v3ray restart 安装polipo 编 阅读全文
posted @ 2020-01-08 04:45 Ro0kie 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 1. 去https://www.kernel.org查看最新稳定内核版本 2. 打开https://kernel.ubuntu.com/~kernel ppa/mainline/v5.4.6/ (假设此时最新版是5.4.6) 3. wget下载包名里没有lowlatency的deb包 , sudo 阅读全文
posted @ 2019-12-30 05:47 Ro0kie 阅读(366) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u011500062/article/details/72855826 阅读全文
posted @ 2016-12-01 03:52 Ro0kie 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 首先 了解一个原理 : (a*b) mod c 等于 ( (a mod c)*(b mod c) ) mod c 我们需要求的是 ab mod c 如果b是偶数,我们可以记k = a2 mod c,那么求 kb/2 mod c 就可以了 如果b是奇数,我们也可以记k = a2 mod c,那么求 ( 阅读全文
posted @ 2016-02-09 21:45 Ro0kie 阅读(210) 评论(0) 推荐(0) 编辑