DHCP服务器:1、解析ip2、给客户端分配ip安装好dhcp软件包:刚装好dhcp服务软件包,系统默认是启动不起来的。3,dhcp服务的配置文件是没有的,需要cp模板:4、dhcp服务的配置文件几乎多数都为注释,有效行就这么几行:ddns-update-style
interim; /*dhcp支...
分类:
其他好文 时间:
2014-05-18 19:21:42
阅读次数:
392
Math:
https://projecteuler.net/about
Pygame:
http://nullege.com/
Python:
https://www.python.org/...
分类:
Web程序 时间:
2014-05-18 18:43:54
阅读次数:
325
在html文件中写python语法的内容,的注意事项:
1:python程序中的变量通过下面方法传入到html:
1:通过全局变量 :全局变量是不需要用$def with语法实现传递的,只要定义了
在html中就可以用,例子如下:
===================================================================
#模板公共变量,下...
分类:
编程语言 时间:
2014-05-18 10:33:55
阅读次数:
294
顺序表的C++语言描述基本运算的算法——置空表、求表的长度、取结点、定位运算、插入运算、删除运算、建立顺序表、输出顺序表#include using
namespace std;#define OK 1#define ERROR 0template class Linklist{public: .....
分类:
编程语言 时间:
2014-05-18 01:12:51
阅读次数:
404
采用C++模板类实现 1 #ifndef _List_H_ 2 #define
_List_H_ 3 #include 4 #include "stdlib.h" 5 template 6 class CNode 7 { 8 public:
9 T data; 10 ...
分类:
其他好文 时间:
2014-05-18 00:38:59
阅读次数:
407
sorted函数:iterable:是可迭代类型;cmp:用于比较的函数,比较什么由key决定,有默认值,迭代集合中的一项;key:用列表元素的某个属性和函数进行作为关键字,有默认值,迭代集合中的一项;reverse:排序规则.
reverse = True 或者 reverse = False,有...
分类:
编程语言 时间:
2014-05-17 23:36:24
阅读次数:
511
Machine learning with python Linear Regression
数据来自 cs229 Problem Set 1 (pdf)Data:q1x.dat,q1y.dat,q2x.dat,q2y.datPS1 Solution
(pdf)从左上往右下 batchG...
分类:
编程语言 时间:
2014-05-17 23:05:44
阅读次数:
525