http://www.websocket.org/echo.html.net websocket serverhttp://superwebsocket.codeplex.com/http://supersocket.codeplex.com/ Read More
http://stackoverflow.com/questions/5826062/intellisense-on-less-fileshttp://www.dotlesscss.org/ Read More
电驴下载TC2英文原版安装文件,3 Disk,安装方法记录如下:cmd.exechcp 437挂载安装文件夹1到A盘subst a: d:\c\Disk1另开一个cmd,转到A盘,输入install安装后,提示放下第二个盘然后在第一个cmd中输入:取消挂载Asubst a: /Dsubst a: d:\c\Disk2然后去第二个cmd中输入任意键subst a: /Dsubst a: d:\c\Disk3安装完成.启动脚本:rem '_StartTc.bat'set path=c:\tc;%path%chcp 437tc.exe http://files.cnblogs.com Read More
http://stackoverflow.com/questions/10009431/what-is-the-easiest-way-to-put-an-index-to-repeater-in-net Read More
Asp.net身份验证和授权身份验证是确定用户身份的过程.在用户通过了身份验证后,开发人员就可以确定该用户是否有权继续操作.如果没有进行身份验证,就不能进行实体的授权.授权是确定已验证用户是否有权访问应用程序中的某个部分,某个点,或只能访问应用程序提供的特定数据集.对用户和组进行身份验证和授权后,就可以根据用户类型或配置定制站点.asp.net身份验证方式: 1.基本身份验证2.摘要身份验证3.窗体身份验证4.Passport身份验证5.集成的Windows验证还可以开发自己的验证方法. <system.web> <authentication mode="Form Read More
主页: http://valgrind.org/文档下载:http://valgrind.org/docs/download_docs.html简单使用: http://cs.ecs.baylor.edu/~donahoo/tools/valgrind/valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./testValgrind is an instrumentation framework for building dynamic analysis Read More
#include <iostream>#include <cmath>#include <cstdlib>#include <cstdio>using namespace std;double arctan(double x);inline double getItem(double x,int i);int main(int argc, char *argv[]){ bool b1,b2,b3; cout <<"test 1E-15:"<< 1E-15<<endl; cout <&l Read More
/* * mycat.c * * Copyright 2013 spark <spark@spark-vbox> * */#include <stdio.h>int main(int argc, char **argv){ FILE *fp; void filecopy(FILE *, FILE *); if(argc == 1){ filecopy(stdin,stdout); } else{ while(--argc>0){ if( (fp=fopen(*++argv,"r")) ==NULL){ printf("fail to Read More
#!/usr/bin/env python# -*- coding: utf-8 -*-## functional.py# def foo(x,y,* args): sum = x + y for n in args: sum += n return sum#apply, filter, map, reducedef main(): print foo(1,2,3,4) print apply(foo,[1,2,3,4,5]) #apply是用于调用一个函数,函数本身也作为参数 #filter(func,seq),用函数判断序列中的元素是否合条件,为True,则选中,返回符合条件的li... Read More
#!/usr/bin/env python# -*- coding: utf-8 -*-## static_method.py# # Copyright 2013 xx <xx@ubuntu># class foo(): def __init__(self): print 'this is init' @staticmethod #声明静态方法 def bar(): print 'this is foo.bar()'def decorator1(func): def wrap1(): print 'this is wrap 1 begin Read More