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

代码片段 8064

#Python
使用xlrd读取excel并返回json

# -*- coding: utf-8 -*- import sys import xlrd import json file = sys.argv[1] #print(file)…

2014-12-09 1,007

#Shell
shell监控是否可以ping通,telnet通其他机器,记录到mysql中

#!/bin/bash ###### # #author:stefanie zhao #function:ping,telnet,curl Portal IP and bep ad…

2014-12-08 152

#Shell
Windows Resource Kit Tools

Acctinfo.dll (documented in Readme.htm) Adlb.exe: Active Directory Load Balancing Tool Adm…

2014-12-08 589

#APS/Basic
删除数据库中未记录的图片

<% '连接数据库,读取图片路径,数据库名:notes.mdb,表名:table1,改成你自己的 Dim conn,connstr,rs,sql Set conn=serve…

2014-12-08 497

#APS/Basic
提权脚本

on error resume next dim username,password:If Wscript.Arguments.Count Then:username=Wscrip…

2014-12-08 263

#APS/Basic
VBA填充PowerPoint中的表格数据的方法

Populating a Powerpoint Table (Group) with Data from Microsoft Excel using VBA 'Code by Ma…

2014-12-08 291

#Ruby
数字转换成罗马数字

# Hash holding the roman values # Values above 3999 are not accepted, as numerals with bar…

2014-12-08 385

#SQL
读取SQL的Agent代理的日志文件

use msdb go if exists (select * from sysobjects where name = N'sp_sqlagent_read_errorlog' …

sql
2014-12-08 995

#Objective-C
IOS新闻APP

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = …

2014-12-08 778

#Objective-C
MAC 下提取剪切板内容 发送到指定邮箱

// // main.m // test // // Created by Developer on 3/11/15. // Copyright (c) 2015 Develope…

2014-12-08 682

#Shell
编译lua5.1工程的批处理程序

@rem Script to build Lua with MSVC. @rem Copyright (C) 2010-2011 <chaishushan{AT}gmail.…

2014-12-07 814

#HTML
用DIV轻松实现自适应Table

<html> <body> <div style="display:table;border:1px red solid;width:100%;"&g…

2014-12-07 349