手机ip67级防水
2017-10-20IP是Ingress Protection Rating的缩写,它是指一个界面对液态和固态微粒的防护能力。IP67后面的二位数字,第一位数字是固态防护等级(它的范围是0-6);第二个数字是液体防护等级(它的范围是0-8)。数字越大,表示它的防护能力越强。 阅读全文...
colcrt
2017-10-18colcrt 命令的典型使用是 阅读全文...
top命令
2017-10-18top命令display Linux processes 阅读全文...
3阶魔方CFOP
2017-10-17CFOP的意思是我们要分四步还原魔方,分别是,Cross(底层十字)->First 2 layers(简称f2l)->Orientation of last layer(简称oll)->Permutation of last layer(简称pll),也就是:底层十字->同时对好前两层->调整好最后一层的朝向->调整好最后一层的顺序(排列)。 阅读全文...
gdisk
2017-10-16GPT fdisk 阅读全文...
redis介绍
2017-10-13Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. 阅读全文...
pwd显示ln的源路经
2017-10-11ln -s /opt/help /help,执行pwd只能显示/help。为了知道确切的路径,需要用pwd -P。 阅读全文...
Bash的24个陷阱分析
2017-09-30bash编程常见错误。 阅读全文...
linux安装xfsprogs
2017-09-29XFS是SGI公司开发的文件系统,相比于其他的文件系统有很多的优势,比如扩展性(支持最大的文件和分区)、性能、快速恢复、日志型的有效结构等。 阅读全文...
linux查找文件中含有某个字符串
2017-09-26我们经常需要在某个目录查找某个文件,但是只记的某个字符串。 阅读全文...
CentOS 5.11 yum通过iso镜像安装软件
2017-09-23CentOS 5.11已经EOL,不在被支持,为了安装软件,我们可以访问vault.centos.org或archive.kernel.org/centos-vault或准备iso镜像文件。 阅读全文...
Python报错AttributeError: ‘module’ object has no attribute’xxx’
2017-09-22Python脚本完全正常没问题,但执行总报错"AttributeError: 'module' object has no attribute 'xxx'"。这其实是.pyc文件存在问题。 阅读全文...
python 编码问题 u'汉字'
2017-09-21python内部使用的是unicode编码, 阅读全文...
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
2017-09-21python2.7.14或3.6.2配置nagios发送微信报错:[SSL: CERTIFICATE_VERIFY_FAILED] 阅读全文...
id_rsa和id_rsa.pub是否匹配
2017-09-21ssh-keygen -y -f id_rsa > id_rsa.pub2
diff id_rsa.pub2 id_rsa.pub 阅读全文...