We are coding. Are we engineers? Are we programmers? Are we coder? No, I want to be a hacker! Many good hacker are working under Linux or Mac, I only have a Windows and do not intend to move to anothe...
分类:
其他好文 时间:
2015-04-17 23:57:02
阅读次数:
311
1.添加引用2.将ExcelRender.cs和SqlHelper.cs两个类拷贝到App_Code文件夹下3.写后台代码 eg:根据部门和日期导出成绩表 1 /// 2 /// 点击导出Excel 3 /// 4 /// 5 /// 6 prote...
分类:
其他好文 时间:
2015-04-17 23:45:45
阅读次数:
152
第 0004 题:任一个英文的纯文本文件,统计其中的单词出现的个数。思路:用正则表达式匹配响应的单词和数字,然后让Counter计算单词的词频,再用most_common方法返回一个按照词频排序的包含该词语和该词语出现的次数的元组的列表。0004.统计单词.py#!/usr/bin/env python
#coding: utf-8
import re
from collections import...
分类:
编程语言 时间:
2015-04-17 22:17:56
阅读次数:
225
SACalendar效果图:IntroducingSACalendar- Easy to use and customizable iOS 7 CalendarSACalendar - 使用非常傻瓜,非常便于定制Only need 3 lines of code to set up. Every v...
分类:
其他好文 时间:
2015-04-17 22:12:17
阅读次数:
175
AQtGui.QPixmapis one of the widgets used to work with images. It is optimized for showing images on screen. In our code example, we will use theQtGui....
分类:
其他好文 时间:
2015-04-17 22:08:22
阅读次数:
187
做前端开发时常需要将网页中所有标签的格式清空,从而使各个浏览器标签样式一样。以下是网络上常见的CSS代码/* =s Reset (by YUI 3) */html{color:#000;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,fo...
分类:
Web程序 时间:
2015-04-17 21:49:31
阅读次数:
261
use [0325] --使用0325数据库 create table student --创建表格 ( code int primary key identity(1,1) not null, --列 name varchar(50)not null, --列 se...
分类:
数据库 时间:
2015-04-17 20:29:26
阅读次数:
159
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, d...
分类:
移动开发 时间:
2015-04-17 19:48:03
阅读次数:
5040
Magent介绍Magent是一款开源的Memcached代理服务器软件。项目地址:http://code.google.com/p/memagent功能列表:和每个memcacheserver保持多个长连接,效果是减少memcacheserver保持的连接数量及创建销毁连的开销。不过,memcache本身就支持大并发连接,这个功能也就没什么特..
分类:
其他好文 时间:
2015-04-17 18:35:43
阅读次数:
204
以1阶或2阶上一个n阶楼梯。百度之,斐波那契数列,即每个数是其前两个数的和。知道上面这个规律,答案就非常非常简单了。【my code】int climbStairs(int n) { if(n==1) return 1; if(n==2) return 2; ...
分类:
其他好文 时间:
2015-04-17 17:49:54
阅读次数:
121