随笔分类 -  linux

上一页 1 2 3 下一页

openshift 配置 bitbucket 的webhook
摘要:参考 https://docs.openshift.org/latest/dev_guide/builds/triggering_builds.html 阅读全文

posted @ 2018-04-25 18:43 Lemo_wd 阅读(335) 评论(0) 推荐(0)

关于 ubuntu 下 防火墙 ufw的使用
摘要:ufw 是 iptables 的一个语法糖。详细介绍 阅读全文

posted @ 2018-04-12 15:54 Lemo_wd 阅读(155) 评论(0) 推荐(0)

common lisp 里的几个操作符(2)
摘要:集合 (Set) member 函数 默认使用 eql比较对象,可传入关键字参数 :test,作为比较的函数。关键字参数 :key,指定在每个元素上应用这个函数。 直接找出满足条件的元素 函数 adjoin 像是条件式的 cons 。它接受一个对象及一个列表,如果对象还不是列表的成员,才构造对象至列 阅读全文

posted @ 2018-02-20 16:31 Lemo_wd 阅读(239) 评论(0) 推荐(0)

common lisp里的几个操作符
摘要:setf 赋值操作符,定义一个全局变量。返回值是最后一个赋值的结果。 let 局部变量操作符。let表达式有两部分组成。第一部分是任意多的变量赋值,他们被包裹在一个()中,第二部分是任意数量的表示式作为 let 的函数体。let 表达式的返回值为 最后一个表达式的求值结果。 cons 对象。 con 阅读全文

posted @ 2018-02-19 15:19 Lemo_wd 阅读(391) 评论(0) 推荐(0)

common lisp的几个基本概念
摘要:S-表达式 quote nil 与 () cons car cdr 真假 predicate 谓词与 t 与 nil null 函数 与 not 函数 if then else and 与 or defun recursion 递归 谓词 eql 与 equal format 与 read:form 阅读全文

posted @ 2018-02-19 14:38 Lemo_wd 阅读(139) 评论(0) 推荐(0)

archlinux 下使用 aria2+uget 作为下载工具
摘要:1.创建配置文件 sudo vim /etc/aria2/aria2.conf 创建 aria2.session 文件 配置 uget 注意 勾上 Lanch aria2 on startup end 阅读全文

posted @ 2018-01-21 17:11 Lemo_wd 阅读(3938) 评论(0) 推荐(0)

linux 压缩和解压
摘要:加参数 p,使文件保持原来的权限。 阅读全文

posted @ 2018-01-18 01:42 Lemo_wd 阅读(163) 评论(1) 推荐(0)

linux 系统全盘恢复
摘要:恢复备份 一、准备 1. 从 u盘启动,进入 live-cd 系统,配置好网络和镜像源,更新一下仓库的数据库。 2. 安装 timeshift 这个软件。 二、对硬盘进行分区 使用 gparted 分区工具。 三、开始恢复备份 根据 timeshift --help 的说明,执行以下命令: 之后会出 阅读全文

posted @ 2018-01-17 18:06 Lemo_wd 阅读(1419) 评论(0) 推荐(0)

linux 系统全盘备份
摘要:备份程序对比 - Synchronization and backup programs 之前用的 tar进行备份了,更新 grub引导需要重建目录和手动挂载,不是很方便。现直接使用 timeshift(内部使用rsync) 进行全盘备份。 0.准备 磁盘垃圾桶和缓存清理一下。 sudo pacma 阅读全文

posted @ 2018-01-16 15:51 Lemo_wd 阅读(6989) 评论(0) 推荐(0)

gnome-shell 扩展
摘要:application menu topicons plus dash to dock native window placement netspeed no topleft hot corner openweather user themes status menu buttons 阅读全文

posted @ 2018-01-16 13:41 Lemo_wd 阅读(177) 评论(0) 推荐(0)

arch 相关软件及脚本
摘要:安装 arch 脚本 安装 ssh 并开启服务 arch 清除已经下载的安装包 arch 安装开发工具 end 阅读全文

posted @ 2018-01-16 01:11 Lemo_wd 阅读(235) 评论(0) 推荐(0)

ffmpeg 转换 mp4 成 flv
摘要:① mp4 转 flv 参考资料: https://addpipe.com/blog/flv-to-mp4/ ffmpeg -i demo.mp4 -c:v libx264 -crf 19 demo.flv 或者 ffmpeg -i demo.mp4 -c:v libx264 -ar 22050 - 阅读全文

posted @ 2018-01-04 01:27 Lemo_wd 阅读(4266) 评论(0) 推荐(0)

centos7 与 archlinux用户 安装 python3模块 pytaglib
摘要:对于 centos7用户: 对于 arch 用户: 其他用户: https://pypi.python.org/pypi/pytaglib 阅读全文

posted @ 2017-11-18 19:25 Lemo_wd 阅读(1042) 评论(0) 推荐(0)

shadowsocks 使用
摘要:转到 阅读全文

posted @ 2017-11-04 23:21 Lemo_wd 阅读(4) 评论(0) 推荐(0)

Bash 脚本 去除注释
摘要:sed -i "/^#/d;/^ *$/d" /etc/squid/squid.conf 阅读全文

posted @ 2017-11-04 21:22 Lemo_wd 阅读(191) 评论(0) 推荐(0)

centos 安装 python36
摘要:centos6 安装 python36 临时方法: https://www.softwarecollections.org/en/scls/rhscl/rh-python36/ 方法二: http://blog.csdn.net/loyachen/article/details/51878653 c 阅读全文

posted @ 2017-11-03 15:39 Lemo_wd 阅读(829) 评论(0) 推荐(0)

linux 下实用软件工具推荐
摘要:截图:Deepin-Screenshot 音乐:deepin-music netease-music 绘图工具:Draw.io Desktop (chrome extension) / www.processon.com 看图软件:eog/imagemagick/gthumb/feh 字体:gnom 阅读全文

posted @ 2017-10-29 23:08 Lemo_wd 阅读(295) 评论(0) 推荐(0)

中州韻输入法框架 ibus-rime 修改样式
摘要:一键命令移植 Gnome-Shell 主题 手动方法: 找到你当前用的主题。然后修改其中 ibus的样式文件就可以了。比如:gnome shell下的 OSX-Arc-White 主题,则其样式文件为: 搜索 .candidate 关键字,定位到以下内容。对其进行修改: 修改结果如下: 效果: 阅读全文

posted @ 2017-10-23 19:25 Lemo_wd 阅读(2459) 评论(0) 推荐(0)

安装 powerline
摘要:使用说明: https://powerline.readthedocs.io/en/latest/usage.html ~ vim,在 .vimrc 中添加配置 ~ bash shell,在 .bashrc 中添加配置 阅读全文

posted @ 2017-10-10 20:46 Lemo_wd 阅读(157) 评论(0) 推荐(0)

bash 的相关配置
摘要:bash 参数自动补全 请安装 bash-completion bash 提示符 说明:参考文档 1. 简洁风格 效果 2. 多种颜色混合 效果 阅读全文

posted @ 2017-10-10 17:40 Lemo_wd 阅读(274) 评论(0) 推荐(0)

上一页 1 2 3 下一页

导航