电子灵魂

golang,go,C#,JAVA,PYTHON,PHP

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

04 2015 档案

摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System... 阅读全文
posted @ 2015-04-29 10:49 conncent 阅读(835) 评论(0) 推荐(0) 编辑

摘要:using System; using System.Threading; //引用多线程 namespace ThreadTest { public class Alpha { public void Beta() { while (true) { Console... 阅读全文
posted @ 2015-04-29 10:44 conncent 阅读(545) 评论(0) 推荐(0) 编辑

摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 乘法运算表for { class Program { static void Main(string[] args) { for (... 阅读全文
posted @ 2015-04-29 10:39 conncent 阅读(1653) 评论(0) 推荐(0) 编辑

摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; //引用系统调用 namespace win32_Api { class Program { [DllImport(... 阅读全文
posted @ 2015-04-29 10:33 conncent 阅读(452) 评论(0) 推荐(0) 编辑

摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; using System.Runtime.InteropServices; namespace rmb { class... 阅读全文
posted @ 2015-04-29 10:24 conncent 阅读(7321) 评论(0) 推荐(0) 编辑

摘要:using Microsoft.Win32; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows... 阅读全文
posted @ 2015-04-29 10:17 conncent 阅读(388) 评论(0) 推荐(0) 编辑

摘要:DialogResult reset; reset= MessageBox.Show("请检查您的输入信息是否按照规则输入的", "信息输入好像有问题哦", MessageBoxButtons.OKCancel, MessageBoxIcon.Hand); if (reset == DialogResult.OK) { ... 阅读全文
posted @ 2015-04-29 10:10 conncent 阅读(298) 评论(0) 推荐(0) 编辑

摘要:HeScripts script = new HeScripts(); //A窗口中实例化B窗口 string okscripts = "test"; //设置字段内容 script.oktess = okscripts; //设置获取的B窗口获取的字段类型(string)写入数据到B窗口 script.ShowDialog(); // 打开并显示B窗口 SrcTextBox.AppendTe... 阅读全文
posted @ 2015-04-29 10:02 conncent 阅读(539) 评论(0) 推荐(0) 编辑

摘要:主程序的使用方式以及调用方法字段、属性、方法 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime; using System.Runtime.InteropServices; namespace demo学习控制 { class... 阅读全文
posted @ 2015-04-29 09:50 conncent 阅读(752) 评论(0) 推荐(0) 编辑

摘要:private void button1_Click(object sender, EventArgs e) { FileStream fs = new FileStream("123.txt", FileMode.Append); StreamWriter ws = new StreamWriter(fs); ... 阅读全文
posted @ 2015-04-29 09:43 conncent 阅读(736) 评论(0) 推荐(0) 编辑

摘要:我们知道,一般使用Ghost时,都是在DOS提示符后先键入“Ghost”,然后再进入Ghost的图形界面操作;那么可不可以让Ghost也只通过命令行的方式工作呢?答案是肯定的,在键入“Ghost”后再添加参数来指挥其工作,这些参数其实就是Ghost中的Option选项,这里只不过以命令行的形式出现而已。以下举例说明: 这里假设要备份安装了操作系统的C盘,Ghost文件目录在“D:\ghost... 阅读全文
posted @ 2015-04-25 22:55 conncent 阅读(3105) 评论(0) 推荐(0) 编辑

摘要:一般在官方下载的文件是MSU格式的后缀文件,这个文件属于系统升级包补丁;下载完毕之后直接点击安装会报错,错误提示如下:安装程序遇到错误:0x80070422 无法启动服务,原因可能是已被禁用或与其相关联的设。请将如下文件保存为.bat批处理文件,主要是解决手工点击微软MSU升级文件报错:0x80070422 代码如下: sc config wuauserv start= auto sc conf... 阅读全文
posted @ 2015-04-16 13:47 conncent 阅读(8214) 评论(1) 推荐(1) 编辑

摘要:获取中国IP段办法 1、到APNIC获取亚太最新IP分配 http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest 2、全选复制保存为IP.tx t 3、用EXCEL打开IP.txt,弹出导入窗口 3.1选择‘分隔符号’ 3.2 分隔符... 阅读全文
posted @ 2015-04-14 00:59 conncent 阅读(2033) 评论(0) 推荐(0) 编辑

摘要:图片内容包涵 从创建VPN 以及设置VPN的详细截图,这个主要是VPN链接说明:XP的暂时不支持,只支持WIN7以上系统,apple 产品均不支持,相关协议并没完善。手机目前只测试过apple产品包涵手机和IPAD其他产品没经过测试。 如果是在一个局域网下面,并且由任意支持IPV6的设备连接到路由器上面是支持IPV6网络的,当然也包括WIFI了。目前测试仅仅在移动端下面连接VPN是不支持IPV... 阅读全文
posted @ 2015-04-14 00:35 conncent 阅读(421) 评论(0) 推荐(0) 编辑

摘要:https://support.google.com/chrome/answer/126299?hl=zh-Hans 官方链接介绍 https://www.google.com/chrome/browser/desktop/index.html?system=true&standalone=1 最新版离线下载地址 http://googlechromereleases.bl... 阅读全文
posted @ 2015-04-14 00:22 conncent 阅读(1130) 评论(0) 推荐(0) 编辑

摘要:chain=dstnat action=dst-nat to-addresses=172.16.10.246 to-ports=80 protocol=tcp dst-address-type=local dst-port=8089 log=no log-prefix="" 阅读全文
posted @ 2015-04-14 00:21 conncent 阅读(1361) 评论(0) 推荐(0) 编辑

摘要:解决方案: 一.可以通过DOS命令shutdown来解决 在 Win7 中,shutdown实现自动关机的方法如下: 开始->运行->cmd 运行"shutdown -s -t 3600”, 其中"3600"为离关机的时间秒数,运行 "shutdown -a"取消定时关机! 或是编写批处理文件:关机一分钟前提醒即将关机,可自行修改定时关机时间. @echo off at 22:5... 阅读全文
posted @ 2015-04-14 00:17 conncent 阅读(3092) 评论(0) 推荐(0) 编辑

摘要:光一秒钟30万公里,绕地球7.5圈,1秒钟=1000毫秒,则绕地球半圈速度是1000/15=66毫秒,数据返回需要同样的时间.加上双方到海缆之前经过的路由处理时间,中美服务器之间的ping值,最好的期望值,是180ms ! 阅读全文
posted @ 2015-04-14 00:15 conncent 阅读(828) 评论(0) 推荐(0) 编辑

摘要:内容全部是自己手工原创写作的参考内容,完全排除从其他网站COPY的内容信息。如有雷同实属巧合。 奉献给有需求的人士,也给各位解决FLASH安装头疼的问题,正常在线下载安装运气不好的安装半天。运气好的也许一会就搞定了。 以下内容主要是送给那些运气不好的朋友。。。。也不知道你是不是其中一个运气不好的。。。。相信你看到我的文章内容之后,很高兴的告诉你,你是一个很幸运的人。。。 完... 阅读全文
posted @ 2015-04-14 00:14 conncent 阅读(4050) 评论(0) 推荐(0) 编辑

摘要:miktorik ros IPSec Dynamic End points 阅读全文
posted @ 2015-04-14 00:10 conncent 阅读(342) 评论(0) 推荐(0) 编辑

摘要:#Script for changing IPSEC address when DNS changes. #Script will iterate through all peers looking for addr_ in the comments. It will then #check for changes in the IP for that DNS name if the ip ... 阅读全文
posted @ 2015-04-14 00:06 conncent 阅读(979) 评论(0) 推荐(0) 编辑

摘要:/ip firewall filter add chain=forward connection-state=new action=jump jump-target=block-ddos add chain=forward connection-state=new src-address-list=ddoser dst-address-list=ddosed action=drop add ... 阅读全文
posted @ 2015-04-14 00:02 conncent 阅读(435) 评论(0) 推荐(0) 编辑

摘要:http://blogs.msdn.com/b/dotnet/p/dotnet_sdks.aspx .NET SDK和下载 您可以通过下载.NET框架针对包和软件开发工具包,并使用它们与Visual Studio搭建多种平台和服务应用程序。退房的.NET Framework博客关于新版本的信息。 可用的下载量相差的Visual Studio版本。使用下面的按钮挑选你的Visual Stud... 阅读全文
posted @ 2015-04-13 23:57 conncent 阅读(1325) 评论(0) 推荐(0) 编辑

摘要:我们知道1个千兆端口的线速包转发率是1.4881MPPS, 百兆端口的线速包转发率是0.14881MPPS,这是国际标准,但是如何得来的呢? 具体的数据包在传输过程中会在每个包的前面加上64个(前导符)preamble也就是一个64个字节的数据包,原本只有512个bit,但在传输过程中实际上会有512+64+96=672bit,也就是这时一个数据包的长度实际上是有672bit的千兆端口线速包转... 阅读全文
posted @ 2015-04-13 23:56 conncent 阅读(1489) 评论(0) 推荐(0) 编辑

摘要:http://msdn.microsoft.com/zh-cn/library/ae5bf541(VS.80).aspx 正则表达式是一种文本模式,包括普通字符(例如,a 到 z 之间的字母)和特殊字符(称为“元字符”)。模式描述在搜索文本时要匹配的一个或多个字符串。 下面是正则的一些常用语法举例: \ 将下一个字符标记为特殊字符或字面值。例如"n"与字符"n"匹配。"\n"与换行符... 阅读全文
posted @ 2015-04-13 23:50 conncent 阅读(505) 评论(0) 推荐(1) 编辑

摘要: 阅读全文
posted @ 2015-04-13 23:48 conncent 阅读(718) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-04-13 23:42 conncent 阅读(436) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-04-13 23:39 conncent 阅读(1960) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-04-13 23:36 conncent 阅读(389) 评论(0) 推荐(0) 编辑

摘要:行号 品牌 料号 品名规格 库存 1 molex 09-65-2028 Molex 5273-02A 600 2 tyco 103648-2 AMP 03... 阅读全文
posted @ 2015-04-13 23:30 conncent 阅读(622) 评论(0) 推荐(0) 编辑