码迷,mamicode.com
首页 > Windows程序
JS代码的window.location属性详解
转载:http://www.5icool.org/a/201105/a564.html如果你稍微懂一些JS代码,一般都会知道 window.location.href 这个属性。并且用该属性获取页面 URL 地址:window.location.href = window.location.href...
分类:Windows程序   时间:2015-02-04 16:00:54    阅读次数:177
WCF 、Web API 、 WCF REST 和 Web Service 的区别
WCF 、Web API 、 WCF REST 和 Web Service 的区别 The .Net framework has a number of technologies that allow you to create HTTP services such as Web Service,....
分类:Windows程序   时间:2015-02-04 16:00:55    阅读次数:164
Windows下Nginx的安装与配置
http://www.cnblogs.com/wenanry/archive/2012/01/18/2325140.htmlNginx("engine x") 是一款高性能的,轻量级的HTTP Web服务器 和反向代理服务器及电子邮件IMAP/POP3/SMTP代理服务器。Nginx是由俄罗斯的程序...
分类:Windows程序   时间:2015-02-04 16:01:35    阅读次数:170
#include <winsock2.h>报错的问题
#define PORT 5150 #define DATA_BUFSIZE 8192 typedef struct _SOCKET_INFORMATION { CHAR Buffer[DATA_BUFSIZE]; WSABUF DataBuf; SOCKET Socket; WSAOVERLAPPED Overlapped; DWORD BytesSEND; DWORD By...
分类:Windows程序   时间:2015-02-04 14:43:59    阅读次数:534
OpenFire源码学习之三十三:windows打包
需要软件  1.install4j_windows_4_0_8.exe  2.windows-x86-1.6.0_18.tar.gz 安装    安装install4j_windows_4_0_8.exe到默认路径 下一步: 安装完后查看自己的安装目录: 将文件windows-x86-1.6.0_18.tar.gz复制到/jres目下 打包 修改b...
分类:Windows程序   时间:2015-02-04 14:37:51    阅读次数:264
打开Excel时总是运行Windows Installer(Visual studio)解决方法
问题描述:安装完Microsoft Visual Studio 2010 Ultimate之后,打开Excel时,总是出现"Windows 正在配置Microsoft Visual Studio 2010 Ultimate - CHS,请稍候...",点击取消按钮之后可以打开Excel。解决方法:打...
分类:Windows程序   时间:2015-02-04 14:17:48    阅读次数:247
View and Data API Tips: how to make viewer full screen
By Daniel Du If you have not heard of View and Data API, here is the idea, the View & Data API enables web developers to very easily display 3D (and 2...
分类:Windows程序   时间:2015-02-04 14:17:12    阅读次数:244
Spark API编程动手实战-06-对搜狗日志文件深入实战操作
本节中所用到的内容是来自搜狗实验室,网址为:http://www.sogou.com/labs/dl/q.html 我们使用的是迷你版本的tar.gz格式的文件,其大小为87K,下载后如下所示: 上传到服务器后,解压并查看: 查看Sogou文件内容:...
分类:Windows程序   时间:2015-02-04 13:10:35    阅读次数:181
C# 分部类和方法 (partial)
可以将类、结构、接口和方法的定义拆分到多个源文件中。每个源文件包含类型或方法的部分定义,在编译时,这些部分会被组合起来。   1.Partial Classes 在以下几种情况需要拆分类定义: 对于大型项目,将一个类分部为多个独立文件可以让多个程序员同时对该类进行处理。 使用自定生成的源文件时,不用修改文件就可以将代码添加到类中。Visual Studio 在创建 Window...
分类:Windows程序   时间:2015-02-04 13:07:46    阅读次数:246
环境配置(window+Apache+Php)
来自(http://www.cnblogs.com/yuan-yifan/archive/2012/05/06/2486556.html)环境配置(window+Apache+Php)如果配置过忘了,呢么紧跟红字引导哦~如果很讨厌配置环境这种工作的朋友,呵呵,搜"XAMPP"吧~安装包里应有尽有哦!...
分类:Windows程序   时间:2015-02-04 12:48:30    阅读次数:236
C#读写txt文件的两种方法介绍
1.添加命名空间 System.IO; System.Text;2.文件的读取 (1).使用FileStream类进行文件的读取,并将它转换成char数组,然后输出。 byte[] byData = new byte[100]; char[] charData = ...
分类:Windows程序   时间:2015-02-04 12:41:54    阅读次数:236
c# 获取 本周、本月、本季度、本年 的开始时间或结束时间
#region 获取 本周、本月、本季度、本年 的开始时间或结束时间 /// /// 获取结束时间 /// /// Week、Month、Season、Year /// /// ...
分类:Windows程序   时间:2015-02-04 12:37:24    阅读次数:192
How to setup a native windows server 2003 tftpd
expand tftpd.ex_ %windir%\system32\tftpd.exeinstsrv tftpd %windir%\system32\tftpd.exereg add hklm\system\currentcontrolset\services\tftpd\Parametersre...
分类:Windows程序   时间:2015-02-04 12:38:11    阅读次数:231
2015 UESTC Winter Training #10【Northeastern Europe 2009】
2015 UESTC Winter Training #10Northeastern Europe 2009最近集训都不在状态啊,嘛,上午一直在练车,比赛时也是刚吃过午饭,状态不好也难免,下次比赛提前吃饭休息一会儿吧。。一开始卡在B题,后来发现是题意理解错了,没有看见above,就是不可以回到原点,...
分类:Windows程序   时间:2015-02-04 12:34:16    阅读次数:233
拖动文件蕴含的windows消息机制
当文件拖放至窗体中后,系统将向窗体发送WM_DRAPFILES事件定义触发过程:procedureWMDROPFILES(varMsg:TMessage);messageWM_DROPFILES;启用窗口支持拖放DragAcceptFiles(Handle,True);//true为支持返回文件总数...
分类:Windows程序   时间:2015-02-04 12:35:18    阅读次数:203
C# 正则表达式替换制定关键词后面的所有内容
如题,将 {OUTSCIPTE} 关键词后的所有内容替换为string.Empty(包含关键字)这个正则该怎么写?我是 {OUTSCIPTE}(.*)$ 写的但是什么反应也没有string str=Regex.Replace("字符串",@"(?exp)或者(?'name'exp)其中name是分组...
分类:Windows程序   时间:2015-02-04 12:33:16    阅读次数:266
C# CryptoStream
using System;using System.IO;using System.Security.Cryptography;namespace RijndaelManaged_Example{ class RijndaelExample { public static ...
分类:Windows程序   时间:2015-02-04 12:26:27    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!