本章重点提示:1):理解基础命令,df,fdisk.2):磁盘分区的理论基础。1:查看当前系统分区与挂载情况:[root@localhost ~]# df Filesystem 1K-blocks Used Available Use% Mounted on/dev/sda2 ...
分类:
系统相关 时间:
2015-08-04 00:24:28
阅读次数:
209
1, 动态的添加库路径。在程序运行过程中修改sys.path的值,添加自己的库路径import syssys.path.append(r'your_path')2, 在Python安装目录下的\Lib\site-packages文件夹中建立一个.pth文件,内容为自己写的库路径。示例如下C:\Use...
分类:
编程语言 时间:
2015-08-04 00:10:40
阅读次数:
505
// 顯示資料庫 show databases; // 選擇?mysql?db use?mysql; // 顯示 user 權限 show grants for username; // 開啟mysql?db 連線的ip grant all on dbname.* to ‘username’@‘localhost’ identified by ...
分类:
数据库 时间:
2015-08-03 17:06:52
阅读次数:
635
TopologyRequirements:1. Use the addressing scheme shown in the diagram.2. Configure OSPF with the networks shown in the diagram.3. Configure the OSPF ...
分类:
其他好文 时间:
2015-08-03 16:42:26
阅读次数:
218
A multiplication algorithm is an algorithm (or method) to multiply two numbers. Depending on the size of the numbers, different algorithms are in use....
分类:
其他好文 时间:
2015-08-03 16:35:17
阅读次数:
104
这是checkboxOptions前选框的用法use yii\grid\GridView;$this->registerJs(" $('#selection_all').click(function(){ $('input[name=selection_all]').click(); }); $('...
分类:
其他好文 时间:
2015-08-03 14:21:51
阅读次数:
255
use rc GODECLARE @nnn varchar(100)DECLARE cur1 cursor forselect [name] from sys.tableswhere name LIKE 'index_%'drop table #Tmp --删除临时表#Tmpcreate tab.....
分类:
数据库 时间:
2015-08-03 13:04:14
阅读次数:
334
题目如下:
Given any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation that is allowed to use? For example, to...
分类:
其他好文 时间:
2015-08-02 21:43:59
阅读次数:
130
hdu 3338 Kakuro ExtensionDescription
If you solved problem like this, forget it.Because you need to use a completely different algorithm to solve the following one.
Kakuro puzzle is played on a grid...
分类:
其他好文 时间:
2015-08-02 21:36:14
阅读次数:
143
A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the battleships. Ea...
分类:
其他好文 时间:
2015-08-02 21:29:51
阅读次数:
128