07 2019 档案

摘要:将markdown转换成html查看。 要将markdown文件转换成html文件,可以用discount或python-markdown软件包提供的markdown 或: 转换工作很简单: 如果要生成PDF,也很简单,可以用python-pisa提供的xhtml2pdf: 所以,你可以在文档目录下 阅读全文

posted @ 2019-07-18 22:58 rivsidn 阅读(2450) 评论(0) 推荐(0)

摘要:The default $PS1 in Ubuntu consists of three parts: \[\e]0;\u@\h: \w\a\] This is an escape sequence which will set the terminal title text to $USER@$H 阅读全文

posted @ 2019-07-15 22:30 rivsidn 阅读(174) 评论(0) 推荐(0)

摘要:实例如下: 参考资料 https://blog.csdn.net/david_dai_1108/article/details/70478826 阅读全文

posted @ 2019-07-15 22:18 rivsidn 阅读(205) 评论(0) 推荐(0)

摘要:shell 基础 shell 基础 shell 变量 shell 字符串 shell 数组 shell 参数传递 shell 运算符 shell 文件测试 shell 流程控制 shell 重定向中的 & 符号 shell 函数 shell 文件包含 shell 符号 shell 内建命令 shel 阅读全文

posted @ 2019-07-15 22:18 rivsidn 阅读(184) 评论(0) 推荐(0)

摘要:编译 GCC编译的几个步骤 【消除unused错误】https://blog.csdn.net/cfqcfqcfqcfqcfq/article/details/54382282 gcc产生类型转换告警 枚举之后define 变量(指针) 二级指针(二) 操作符 语句 函数 printf 函数 关键字 阅读全文

posted @ 2019-07-15 22:12 rivsidn 阅读(158) 评论(0) 推荐(0)

摘要:打印带颜色的输出 控制字符的通用格式如下: Esc[{attr1};...;{attrn}m 其中: Esc 是转义字符, 其值为"\033"; [ 是常量的左中括号; {attr1};...{attrn} 是若干属性, 通常是由一个有特定意义的数字代替, 每个属性之间用分号分隔; m 就是字面常量 阅读全文

posted @ 2019-07-15 22:11 rivsidn 阅读(327) 评论(0) 推荐(0)

摘要:概述 模拟异常,定位行号。 通过代码制造异常 oops.c makefile 加粗、下划线部分编译时候开始 -g 选项。 产生异常 sudo insmod oops.ko 定位异常到具体行号 参考资料 https://opensourceforu.com/2011/01/understanding- 阅读全文

posted @ 2019-07-13 16:08 rivsidn 阅读(1218) 评论(0) 推荐(0)

导航