首页 软件开发 ( Page 1709 )

软件开发 20540

#Shell
linux通用清理脚本

#!/bin/sh ########################### #delete log # in_day_num: like 1 2 is delete 2day ag…

2014-10-21 549

#Python
系统监控

#! /usr/bin/env python #coding=utf-8 import sys,os ###得到系统当前路径 ##1 :根据文件名 得到当前路径名 print os…

2014-10-21 817

#Shell
网络军刀netcat nc发动弹

nc www.oschina.net 80 < 1.txt>>1.log

2014-10-21 915

#Python
爬取和保存豆瓣小组图片

#!/usr/bin/env python3 #-*- coding=utf-8 -*- import requests import time import random imp…

#Python
自己编的汉诺塔游戏过程

def tower(a,b,c,n): if n==1: print "put 1 from b to a." elif n==2: print "put 1 from %r to…

2014-10-21 313

#Shell
Powershell模拟世界时钟

<# " Satnaam WaheGuru Ji" Author : Aman Dhally E-Mail : amandhally@gmail.com website : …

2014-10-20 799

#Ruby
Rails 在 Session 中存放数据

class HelloController < ApplicationController def there @counter1 = 1 if(session[:count…

2014-10-20 310

#SQL
DB2批量插入测试数据

INSERT INTO USER (USERID, MOBILE) SELECT CHAR(ROW_NUMBER() OVER()) AS USERID, CHAR(1390000…

sql
2014-10-20 462

#APS/Basic
判断客户端是否安装了.Net 2.0并且操作系统是Vista

If InStr(window.clientInformation.userAgent, ".NET CLR 2.0") And InStr(window.clientInform…

2014-10-20 867

#Shell
curl 无限循环发包post (windows 批处理goto)

:g curl -k -i --raw -o 0.dat -X POST -d "keyword=%%E6%%88%%91%%E6%%98%%AF%%E5%%B9%%BF%%E5%…

2014-10-20 776