随笔分类 -  工具使用

Ubuntu下重新安装软件 配置文件不重新生成得问题解决
摘要:按照先remove然后dpkg -P再重新install的顺序。 阅读全文

posted @ 2019-04-28 15:03 NothingLZ 阅读(432) 评论(0) 推荐(0)

如何下载github子目录文件
摘要:比如下载pai子目录下dockerfile文件,可以在浏览器键入 https://raw.githubusercontent.com/Microsoft/pai/master/src/dev-box/build/dev-box.dockerfile 固定的头是https://raw.githubus 阅读全文

posted @ 2018-12-17 11:49 NothingLZ 阅读(1078) 评论(0) 推荐(0)

Docker修改本地镜像与容器的存储位置
摘要:这个方法里将通过软连接来实现。 首先停掉Docker服务: systemctl restart docker或者service docker stop然后移动整个/var/lib/docker目录到目的路径: mv /var/lib/docker /root/data/dockerln -s /ro 阅读全文

posted @ 2018-10-31 09:32 NothingLZ 阅读(324) 评论(0) 推荐(0)

ubuntu安装驱动问题
摘要:网友答案:https://blog.csdn.net/jasonzhoujx/article/details/80469139 阅读全文

posted @ 2018-09-29 10:22 NothingLZ 阅读(178) 评论(0) 推荐(0)

ubuntu16.04下怎么关闭x server
摘要:按住ctrl+alt+f1,进入命令行。输入sudo /etc/init.d/lightdm stopsudo /etc/init.d/lightdm status重启xserver?输入sudo /etc/init.d/lightdm restart 阅读全文

posted @ 2018-09-29 09:18 NothingLZ 阅读(13948) 评论(0) 推荐(0)

Ubuntu 下解压tar.xz方法
摘要:参考地址:https://www.cnblogs.com/baby123/p/6611169.html 阅读全文

posted @ 2018-09-11 09:10 NothingLZ 阅读(837) 评论(0) 推荐(0)

Python 解决: from pip import main ImportError: cannot import name 'main'
摘要:此次报错是因为 pip 升级出的问题: from pip import mainif __name__ == '__main__': sys.exit(main()) 改为: from pip import __main__if __name__ == '__main__': sys.exit(__ 阅读全文

posted @ 2018-09-04 12:06 NothingLZ 阅读(430) 评论(0) 推荐(0)

re正则匹配使用
摘要:如果在匹配语句中有括号,group(1)就是提取第一个括号的内容,以此类推。 扩展思考:如果要从文本中匹配出目标字符串可以使用括号加group选择的方式进行匹配。 搜索匹配到第一个结果,就会输出。 补充: 注释:\1 保持原有字符在后面追加 阅读全文

posted @ 2018-05-29 15:55 NothingLZ 阅读(153) 评论(0) 推荐(0)

git push文件到远程github或者gitlab
摘要:1 Git global setup 2 3 git config --global user.name "luozeng" 4 git config --global user.email "354020912@qq.com" 5 6 Create a new repository 7 8 git clone https://gitlab.com/luozeng/blog... 阅读全文

posted @ 2018-05-28 21:44 NothingLZ 阅读(475) 评论(0) 推荐(0)

Linux系统如何模拟Http的get或post请求?
摘要:一、get请求: 1、使用curl命令: curl “http://www.baidu.com” 如果这里的URL指向的是一个文件或者一幅图都可以直接下载到本地 curl -i “http://www.baidu.com” 显示全部信息 curl -l “http://www.baidu.com” 阅读全文

posted @ 2018-04-24 16:10 NothingLZ 阅读(8128) 评论(0) 推荐(0)

ASCII码对照表
摘要:ASCII值控制字符ASCII值控制字符ASCII值控制字符ASCII值控制字符 0 NUT 32 (space) 64 @ 96 、 1 SOH 33 ! 65 A 97 a 2 STX 34 " 66 B 98 b 3 ETX 35 # 67 C 99 c 4 EOT 36 $ 68 D 100 阅读全文

posted @ 2018-04-02 17:10 NothingLZ 阅读(235) 评论(0) 推荐(1)

tar 解压缩命令详解
摘要:以下是对tar命令的一些总结: 解压操作: tar 解压缩命令详解 这五个是独立的命令,压缩解压都要用到其中一个,可以和别的命令连用但只能用其中一个。下面的参数是根据需要在压缩或解压档案时可选的。 下面的参数-f是必须的 -f: 使用档案名字,切记,这个参数是最后一个参数,后面只能接档案名。 出处: 阅读全文

posted @ 2018-03-30 09:48 NothingLZ 阅读(240240) 评论(0) 推荐(4)

导航