07 2013 档案

摘要:首先,是要下载android SDK,在http://developer.android.com/sdk/index.html这个页面选择操作系统,这有windows,mac OS,LINUX三个版本的SDK供下载,现在最新版本是10月更新的android-sdk_r07-windows.zip,嗯,这个网站不知道为什么让天朝GWF给墙了,最先我是找了个翻(河蟹啊)墙软件进去下载的,后面才知道,原来还有一个网站,不知道是不是Google android在国内的网站,反正上面内容跟http://developer.android.com/sdk/index.html完全一样的啦。网址是:http 阅读全文
posted @ 2013-07-29 12:05 94cool 阅读(14410) 评论(0) 推荐(0) 编辑
摘要:联系:Collection与Map属于同等关系,但Map依赖与Collection。Coolection接口的子类包含List(ArrayList、LinkedList等)、Set(HashSet、TreeSet等)区别:List及实现类是可变大小的列表,适用于按数组索引访问元素。Set接口继承了Collection接口,但是它不允许集合中存在重复项。Map中以键-值对形式存储数据。----------------------------------------------------------------------------------------------------------- 阅读全文
posted @ 2013-07-26 14:19 94cool 阅读(3183) 评论(0) 推荐(1) 编辑
摘要:from:http://blog.csdn.net/ilibaba/article/details/3741786查手册后才知道,介绍的信息少得可怜呐,没有介绍生成m-n范围的随机数...,就只是给你一个Math.random()了事.不过经过俺的小小努力之后,终于让俺摸着门道喽,问题也就理所当然滴解决掉.然后就写了个公式,这样应该可以消失掉这个用法了,公式:1.从1开始至任意值linenumparseInt(Math.random()*上限+1);2.从任意值开始至任意值linenumparseInt(Math.random()*(上限-下限+1)+下限);上面的公式使用了parseInt( 阅读全文
posted @ 2013-07-25 17:07 94cool 阅读(185) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.ComponentModel;namespace NetService{ public static class GenericParser { public static bool TryParse(this string input, out T output) { bool result = ... 阅读全文
posted @ 2013-07-24 14:16 94cool 阅读(262) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.IO.Compression;using System.Runtime.Serialization.Formatters.Binary;namespace NetMethod{ public class SerializerZip { public static byte[] Serialize(object obj) { ... 阅读全文
posted @ 2013-07-18 16:15 94cool 阅读(181) 评论(0) 推荐(0) 编辑
摘要:使用solidBrush新建画刷,定义画刷的颜色为透明色Brush b = new SolidBrush(Color.FromArgb(50, Color.Green));这里的50是透明度的设置,范围从0-255;0:无颜色 255:不透明 阅读全文
posted @ 2013-07-16 09:55 94cool 阅读(621) 评论(0) 推荐(0) 编辑
摘要:FLASH吸血鬼是众多网友用来从exe可执行文件中提取swf的利器,其直接读取内存,从内存中取出swf文件。经过分析,发现其原理还是比较简单的。第一步。通过GetWindowThreadProcessId函数获得进程PID。为以后基本的进程内存搜索奠定基础。第二步。通过OpenProcess打开前面获得的pid的进程对象。第三步。通过VirtualQueryEx函数和ReadProcessMemory函数遍历进程的内存,在内存中搜索swf文件的文件头“CWS”和“FWS”。如果搜索到,则进行解密,并输出swf文件。 阅读全文
posted @ 2013-07-12 14:02 94cool 阅读(510) 评论(0) 推荐(0) 编辑
摘要:1 public static class NetCDF 2 { 3 [DllImport("netcdf4.dll")] 4 public static extern int nc_put_att_uchar(int ncid, int varid, string name, NcType xty 阅读全文
posted @ 2013-07-04 10:33 94cool 阅读(7323) 评论(41) 推荐(1) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示