首页 软件开发 代码片段 ( Page 638 )

代码片段 8064

#SQL
SQL中的Agent日期和时间的处理问题

version: 1.0.0.1 last updated: 22 November 2002 SQL Agent uses two ways to represent date …

sql
2014-12-13 640

#Shell
Centos快速安装PPTP VPN

#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export…

2014-12-13 311

#Shell
检查Oracle数据库的最大连接

[root@hzvscmdb sql]# more check_connect_oracle.sh #!/bin/bash #functions: connect oracle s…

2014-12-13 434

#Python
分析日志

#!/bin/env python import json import time, datetime stackP = open("./outLog") for eachLine…

2014-12-13 821

#Shell
从一个host列表或者IP列表中对给定的URL进行遍历

#! /bin/sh # 由于数组在shell函数中传递实在蛋疼,尤其是还包括其他参数时,所以干脆变量全部用全局变量 random_v=$RANDOM trap "rm -f /t…

2014-12-13 445

#Python
初级爬虫

# -*- coding: utf-8 -*- #---------------------------- # 程序:百度贴吧的小爬虫 # 日期:2015/03/28 # 语言:P…

2014-12-13 693

#HTML
reset.css

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr…

2014-12-13 978

#Python
Python 实现简单的电话本功能

#!/usr/bin/python # -*- coding: utf-8 -*- import re class PhoneBook(object): '''这是一个电话簿脚本。…

#APS/Basic
随机文件

function RandomFile($folder='', $extensions='.*'){ // fix path: $folder = trim($folder); $…

2014-12-13 852

#Shell
随机生成10个8位密码shell脚本

#!/bin.bash for i in {1..10} do A=`head -c 500 /dev/urandom | tr -dc a-zA-Z | tr [a-z] [A-…

2014-12-12 1,011

#HTML
跨浏览器最小高度

#div { min-height: 500px; height:auto !important; height: 500px; }

2014-12-12 461