1.图形图像 1.1打开图像文件 1 private void Form1_Paint(object sender, PaintEventArgs e)2 {3 string file = "sleep.jpg";4 Bitmap ...
分类:
其他好文 时间:
2014-07-23 12:51:06
阅读次数:
198
1.Warning: An incorrect timescale is selected for the Verilog Output (.VO) file of this PLL design. It's required that the timescale should be 1 ps wh...
分类:
其他好文 时间:
2014-07-23 11:56:06
阅读次数:
430
1. sudo apt-get install xinetd telnetd2. sudo vim /etc/xinetd.conf并加入以下内容进行下一步的Ubuntu Linux telnet设置: # Simple configuration file for xinetd # # So...
分类:
Web程序 时间:
2014-07-23 11:30:56
阅读次数:
296
一、简介Samba是一个能让Linux系统应用Microsoft网络通讯协议的软件,而SMB是ServerMessageBlock的缩写,即为服务器消息块,SMB主要是作为Microsoft的网络通讯协议,后来Samba将SMB通信协议应用到了Linux系统上,就形成了现在的Samba软件。后来微软又把SMB改名为CIFS(CommonIn..
分类:
其他好文 时间:
2014-07-23 00:26:08
阅读次数:
455
1、避免目录拼写错误shopt命令:演示一下:我想进入/home目录但是不小心拼写错了:[fulinux@ubuntu ~]$ cd /hoem-bash: cd: /hoem: No such file or directory如果使用了shopt命令情况就不一样了:[fulinux@ubuntu ~]$ shopt -s cdspell[fulinux@ubuntu ~]$ cd /hoem/...
分类:
系统相关 时间:
2014-07-23 00:03:37
阅读次数:
262
题目:DescriptionThere are only one case in each input file, the first line is a integerN (N ≤ 1,000,00)denoted the total operations executed by Mary.The...
分类:
其他好文 时间:
2014-07-22 23:37:37
阅读次数:
434
using (var md5 = MD5.Create()){ using (var stream = File.OpenRead(filename)) { return md5.ComputeHash(stream); }}orpublic static strin...
分类:
其他好文 时间:
2014-07-22 22:49:32
阅读次数:
206
作为一个完成的应用程序,数据存储操作是必不可少的。因此,Android系统一共提供了四种数据存储方式。分别是:SharePreference、SQLite、Content Provider和File。由于Android系统中,数据基本都是私有的的,都是存放于“data/data/程序包名”目录...
分类:
移动开发 时间:
2014-07-22 22:48:12
阅读次数:
392
import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileReader;import...
分类:
编程语言 时间:
2014-07-22 22:41:52
阅读次数:
190
*Author:Yuanhonglong *Date:2013-12-20 *1948281915 */package mine.algorithm.key.Des_Rsa; import java.io.File;import java.io.FileOutputStream;import ja....
分类:
其他好文 时间:
2014-07-22 22:39:52
阅读次数:
231