require 'win32ole' excelobj = WIN32OLE.new("excel.application") excelobj['Visible']=TRUE e…
require 'net/http' def get_web_document(url) uri = URI.parse(url) response = Net::HTTP.get…
+ (void)limitTextFieldLength:(UITextField *)textField maxLength:(NSInteger)maxLength { NSS…
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh…
#! /usr/bin/env python #coding=utf-8 import sys,os ###得到系统当前路径 ##1 :根据文件名 得到当前路径名 print os…
#!/bin/sh ########################### #delete log # in_day_num: like 1 2 is delete 2day ag…
nc www.oschina.net 80 < 1.txt>>1.log
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…
CLLocationManager* activity = [[UIActivityIndicatorView alloc]initWithFrame:CGRectMake(100…