关于 KM 的一些路径

2017.07.05

文件夹:

C:\Program Files\KONICA MINOLTA\PrinterDrivers\

C:\Windows\System32\spool\drivers\w32x86\3\

注册表:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\W......

Perl Python 异同

2017.07.04

Perl:

use 5.016;

use Data::Dump qw/dump/;

my @rocks = qw/r1 r2 r3/;

foreach my $rock (@rocks) {

$rock .= "s";

}

say dump @rocks;

输出......

CentOS 安装 Nginx

2017.06.03

创建源配置文件:

cd /etc/yum.repos.d/

sudo vim nginx.repo

填写内容:

[nginx]

name=nginx repo

baseurl=http://nginx.org/packages/centos/$releasever/$basearch......

脚本执行 shell 命令

2017.06.01

Python

一般执行系统命令:

import os

os.system('date')

获取系统命令的输出:

import os

stdout = os.popen('date')

content = stdout.read().strip() ......

Ubuntu 下安装 MongoDB

2017.05.26

一直想试试使用 MongoDB, 今天终于决定要在 Linux 上安装了. 准备使用 apt-get 安装, 因为比较方便. 但是网上的教程有的提到了 mongodb-10gen, 有的提到了 mongodb-org, 不知道安装哪个. 查证后发现开发 MongoDB 的公司叫做 10gen, 现已......