07 2020 档案

摘要:OpenVPN Assign static IP to client Published by Tobias Hofmann on September 21, 2018 Download PDF version 2 min read After configuring the overall Ope 阅读全文

posted @ 2020-07-25 17:24 刘应杰 阅读(2) 评论(0) 推荐(0)

摘要:Python3之命令行参数处理 sys模块常用单元getopt模块optparse模块argparse模块 sys模块 sys模块代表了Python解释器,主要用于获取和Python解释器相关的信息,其中 sys.argv 可以获取命令行参数 在Python交互式解释器中可以先导入sys模块 imp 阅读全文

posted @ 2020-07-23 15:36 刘应杰 阅读(771) 评论(0) 推荐(0)

摘要:基于 Laradock 环境 Project 的总结 149 / 0 / 发布于 8个月前 / 本地 Laradock 测试环境的安装 云服务器上 Laradock 生产环境的安装 1 . 安装 docker 相关 以下操作在云服务器上运行(%) 安装 docker % curl -fsSL htt 阅读全文

posted @ 2020-07-23 13:15 刘应杰 阅读(407) 评论(0) 推荐(0)

摘要:Typora功能新发现-自动复制图片到指定目录下 Nisus_Liu关注 0.5672018.04.19 15:32:16字数 543阅读 6,628 Typora一款小巧, 清新, 简洁易用的Markdown文件编辑器. 个人较为喜欢. 但是之前一直有个"缺陷"让我不满意. 即插入图片不是很方便: 阅读全文

posted @ 2020-07-23 10:51 刘应杰 阅读(1239) 评论(0) 推荐(0)

摘要:ubuntu 18.04 设置静态ip方法 posted @ 2019-09-26 19:56 姚红 阅读(17172) 评论(0) 编辑 收藏 分类: 操作系统-ubuntu undefined 目录 1. 前言 2. 确认你要修改的网卡号 3. 默认的网卡配置文件 4. 设置静态IP 5. 应用 阅读全文

posted @ 2020-07-22 19:45 刘应杰 阅读(333) 评论(0) 推荐(0)

摘要:vscode 同时编辑多处,多个光标 快捷键 好菜的程序媛 2019-06-11 11:22:08 17507 收藏 12文章标签: 多个光标快捷键版权一、重命名变量 1、首先看看自己需要同时修改多处的代码是不是要重命名一个变量,如果是的话,有现成的快捷键f2。选中一个变量,按f2,弹出一个小窗口, 阅读全文

posted @ 2020-07-18 20:11 刘应杰 阅读(3425) 评论(0) 推荐(1)

摘要:使用pam_tally2锁定和解锁SSH失败的登录尝试 2019-08-28阅读 1.2K0 pam_tally2模块可于用于在对系统进行一定次数的失败ssh登录尝试后锁定用户 pam_tally2模块分为两部分,一部分是pam_tally2.so,另一部分是pam_tally2。它基于PAM模块, 阅读全文

posted @ 2020-07-18 10:26 刘应杰 阅读(4269) 评论(0) 推荐(1)

摘要:让Vim查找字符忽略大小写 转自: http://www.360doc.com/content/13/0116/14/8547696_260509353.shtml Vim默认是对大小写敏感的,下面是让Vim忽略大小写的几种方法: :set ignorecase 再查找 “include”,现在它将 阅读全文

posted @ 2020-07-17 01:24 刘应杰 阅读(3689) 评论(0) 推荐(3)

摘要:How to Add a User to Sudoers on Ubuntu Updated June 29, 2020By Jamie ArthurUBUNTU HOWTO In Linux philosophy, running privileged tasks as the root user 阅读全文

posted @ 2020-07-16 16:23 刘应杰 阅读(247) 评论(0) 推荐(0)

摘要:Docker 批量删除images Xushd529 2019-02-13 13:57:27 2631 收藏 3分类专栏: 经验 学习版权删除所有容器docker rm `docker ps -a -q`1删除所有镜像docker rmi `docker images -q`1删除所有没有tag的镜 阅读全文

posted @ 2020-07-16 13:06 刘应杰 阅读(3727) 评论(0) 推荐(0)

摘要:解决 Laradock 安装时候出现 Can't open /home/laradock/.nvm/nvm.sh 的问题 2020-05-23阅读 820 疫情在家都是用的 Mac 电脑,来公司 Laradock 突然启动不了了。无奈之后把所有镜像、容器重新删掉,重新编译。可是启动编译的时候一直出现 阅读全文

posted @ 2020-07-16 00:14 刘应杰 阅读(1704) 评论(0) 推荐(0)

摘要:Add User To Docker Group In Ubuntu Linux By default, the docker command should run with root privileges. To run Docker as a non-root user in Ubuntu, y 阅读全文

posted @ 2020-07-15 23:32 刘应杰 阅读(1109) 评论(0) 推荐(0)

摘要:Parted分区和创建逻辑卷LVMParted分区过程:1. parted -l #查看所有磁盘状态2. parted /dev/vdb #通过parted工具来创建大于2T的分区3. mklabel gpt #创建创建磁盘标签4. mkpart primary 0% 100% #创建整个分区5. 阅读全文

posted @ 2020-07-15 22:57 刘应杰 阅读(2218) 评论(0) 推荐(0)

摘要:How To List Users and Groups on Linux written by Schkn On Linux, as a system administrator, you often want to have a complete list of all the users an 阅读全文

posted @ 2020-07-15 17:54 刘应杰 阅读(452) 评论(0) 推荐(0)

摘要:Top 10 Super Useful Packages to Improve Laravel applications in 2019 September 11, 2019 by Yogesh Koli Leave a Comment Today I am going to provide the 阅读全文

posted @ 2020-07-14 10:11 刘应杰 阅读(206) 评论(0) 推荐(0)

摘要:Jun 29, 2018 - 16 Comments Node JS is the popular Javascript runtime environment that is widely used by many developers, and npm is the accompany pack 阅读全文

posted @ 2020-07-13 17:33 刘应杰 阅读(238) 评论(0) 推荐(0)

摘要:Manage ESXi Hosts Without vCenter using VMware Pallas BY BRANDON.LEE ON FEBRUARY 10, 2020FLINGS For many, there may exist a use case for being able to 阅读全文

posted @ 2020-07-11 10:59 刘应杰 阅读(295) 评论(0) 推荐(0)

摘要:How to manage snap updates Tags: snapcraft.io , snapd , Snaps , updates Updates are an integral part of the software lifecycle. Quite often, they brin 阅读全文

posted @ 2020-07-11 10:30 刘应杰 阅读(315) 评论(0) 推荐(0)

导航