Counting
The Problem
Gustavo knows how to count, but he is now learning how write numbers. As he is a very good student, he already learned 1, 2, 3 and 4. But he didn't realize yet tha...
分类:
其他好文 时间:
2014-07-18 22:04:36
阅读次数:
322
先来看段儿代码: protected void Page_Load(object sender, EventArgs e){#if DEBUG Response.Write("Debug Information! ");#endif Response.Write("Normal Informatio...
分类:
其他好文 时间:
2014-07-18 21:10:56
阅读次数:
140
这个就不说了就是一个类 public static class EncryptionConfig { /* 加密配置节点 * Response.Write(EncryptionConfig.Encryption("connectionStrings"))...
分类:
其他好文 时间:
2014-07-18 16:35:37
阅读次数:
193
基于TCP-服务器1、创建一个socket,2、绑定IP地址、端口等信息到socket上,用函数bind()3、设置允许的最大连接数,用函数listen()。4、等待来自客户端的连接请求,用accept()5、收发数据,用函数send()和recv(),或者read()和write()6、关闭网络连...
分类:
系统相关 时间:
2014-07-18 16:11:39
阅读次数:
274
Faced with the upcoming exam, Some useful methods referred to file operation drew tremenous attention. Now I make a summary to reading file.
import java.io.BufferedReader;
import java.io.BufferedWri...
分类:
其他好文 时间:
2014-07-18 12:26:25
阅读次数:
274
#define EV_TIMER_RESOLUTION 1 /* 1 msec */#define EV_READ_EVENT EPOLLIN#define EV_WRITE_EVENT EPOLLOUTstruct ev_event;struct ev_timer;typedef void ...
分类:
其他好文 时间:
2014-07-17 22:37:16
阅读次数:
276
读写分离(Read/Write Splitting)。1.原理:让主数据库处理事务性增、改、删操作(INSERT、UPDATE、DELETE),而从数据库处理SELECT查询操作。2.诞生原因:2.1 为了确保数据库产品的稳定性,很多数据库拥有双机热备功能。也就是,第一台数据库服务器,是对外提供增删...
分类:
数据库 时间:
2014-07-17 14:24:57
阅读次数:
264
源:windows运行命令大全 winver 检查Windows版本 wmimgmt.msc 打开Windows管理体系结构(wmi) wupdmgr Windows更新程序 w脚本 Windows脚本宿主设置 write 写字板 winmsd 系统信息 wia...
1. 访问对象的属性class MyClass(): a='1' b='2' def __init__(self): pass def write(self): print self.a,self.bmyClass=MyClass()print d...
分类:
编程语言 时间:
2014-07-16 15:15:04
阅读次数:
302
1. 设置iis pool: cls Import-Module WebAdministration Get-ChildItem IIS:\apppools | ForEach-Object{ $name = $_.name Write-Host $_.name $pool = Get-Item I...
分类:
其他好文 时间:
2014-07-16 12:26:18
阅读次数:
1084