首页 软件开发 ( Page 1688 )

软件开发 20299

#Ruby
Ruby 检查 HTTP 回应的错误和重定向

require 'net/http' def get_web_document(url) uri = URI.parse(url) response = Net::HTTP.get…

2014-10-22 518

#Objective-C
UITextView/UITextField限制字数

+ (void)limitTextFieldLength:(UITextField *)textField maxLength:(NSInteger)maxLength { NSS…

2014-10-22 399

#HTML
来自渴切css:纯css透明解决方案兼容所有浏览器

.transparent{ filter:alpha(opacity=50); -moz-opacity:0.5;/**Firefox 3.5即将原生支持opacity 属性,所以…

2014-10-22 930

#Python
整数中1出现的次数(从1到n整数中1出现的次数)

# -*- coding:utf-8 -*- class Solution: def NumberOf1Between1AndN_Solution(self, n): count …

2014-10-22 802

#Python
python 爬虫 下载妹子图片

#coding:utf-8 import requests from bs4 import BeautifulSoup import re DownPath = "/jiaoben…

2014-10-22 700

#Python
python版实现文本左右对齐排版

# python版实现文本左右对齐排版 # 题目来源: http://www.bathome.net/thread-1246-1-1.html # 依山居 7:17 2015/11…

2014-10-22 498

#SQL
oracle查询表空间文件所在路径

select * from dba_data_files 查询数据库内所有的数据字典 select * from DICT

sql
2014-10-22 564

#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

#Objective-C
ios自带菊花转圈圈 等待动画

CLLocationManager* activity = [[UIActivityIndicatorView alloc]initWithFrame:CGRectMake(100…

2014-10-21 627

#HTML
检测浏览器是否支持HTML5

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>…

2014-10-21 494

#HTML
不同方式实现类似校内人人底部固定

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh…

2014-10-21 914

#Shell
linux通用清理脚本

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

2014-10-21 548