码迷,mamicode.com
首页 >  
搜索关键字:minimum depth of bin    ( 47234个结果
shell读取文件的每一行
--shell读取文件的每一行-----------------------2014/06/13#!/bin/bashwhile read linedo echo $linedone < filename(待读取的文件)----------------------------------------...
分类:其他好文   时间:2014-06-15 08:42:17    阅读次数:197
Linux防CC攻击脚本
多数CC攻击在web服务器日志中都有相同攻击的特征,我们可以根据这些特征过滤出攻击的ip,利用iptables来阻止#!/bin/bash#by LinuxEye#BLOG: http://blog.linuxeye.comOLD_IFS=$IFSIFS=$'n'not_status=`iptabl...
分类:系统相关   时间:2014-06-15 00:54:09    阅读次数:340
爬虫--用cookie访问任意网页
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################## File : requestAnyURLWithCookie.py# Author : luc...
分类:Web程序   时间:2014-06-15 00:33:30    阅读次数:187
爬虫--登录网页
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################## File : loginMMVOIP.py# Author : lucasysfeng# Re...
分类:Web程序   时间:2014-06-15 00:18:13    阅读次数:245
poj2524(简单并查集)
#include #include #include #include using namespace std;int n,m;int bin[50001];int findx(int x){ int r=x; while(r!=bin[r]) r=bin[r]; int j=x,k; while(...
分类:其他好文   时间:2014-06-15 00:17:10    阅读次数:323
kickstart批量装机脚本
#!/bin/bash#安装必备的软件yum -y install dhcp tftp-server tftp xinetd syslinux vsftpdyum -y install *kickstart*#配置kickstart服务器端的DHCP服务>/etc/dhcpd.conf#######...
分类:其他好文   时间:2014-06-14 23:38:10    阅读次数:1548
Leetcode:Triangle
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:其他好文   时间:2014-06-14 19:46:12    阅读次数:251
根文件系统制作、NFS配置与安装及利用NFS挂载根文件系统
最近打算从头开始制作根文件系统,下面是开发过程。一、根文件系统的制作0、FHS(Filesystem Hierarchy Standard)标准介绍该标准规定了根目录下各个子目录的名称及其存放的内容:目录名存放的内容/bin必备的用户命令,例如ls、cp等/sbin必备的系统管理员命令,例如ifco...
分类:其他好文   时间:2014-06-14 19:23:38    阅读次数:353
python初始化父类错误
源码如下:#!/usr/bin/env pythonclass Bird(): def __init__(self): self.hungry = True def eat(self): if self.hung...
分类:编程语言   时间:2014-06-14 18:23:05    阅读次数:242
Centos 6.4上面用Shell脚本一键安装mysql 5.6.15
Centos 6.4上面用Shell脚本一键安装mysql 5.6.15#!/bin/bashif [ `uname -m` == "x86_64" ];thenmachine=x86_64elsemachine=i686fimysqlBasedir=/storage/server/mysqlmys...
分类:数据库   时间:2014-06-14 08:36:02    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!