转:http://www.williamlong.info/archives/3983.htmlGoogle持续被封,很多人发邮件问我怎么才能访问Google,我早先曾经写了多篇文章介绍如何访问Google,今天我就介绍一个最简单的访问Google的方法,修改Hosts文件。 Google的域名体....
分类:
其他好文 时间:
2014-12-06 16:38:32
阅读次数:
542
一开始看这道博弈题的时候我就用很常规的思路去分析了,首先先手取1或者2个coin后都会使剩下的coin变成线性排列的长条,然后无论双方如何操作都是把该线条分解为若干个子线条而已,即分解为若干个子游戏而已,我想起刘汝佳的大白书上有类似的例题(不过复杂好多),于是便用同样的方法去做了,以sg(x)表.....
分类:
其他好文 时间:
2014-12-06 16:40:11
阅读次数:
187
在使用Convert.ToBase64String()对字符串进行Base64编码时,注意的几点: 例:string s = "Hello"; byte[] bytes = Convert.FromBase64String(s); 以上代码在运行时会抛出FormatException异常.提示...
分类:
其他好文 时间:
2014-12-06 16:38:00
阅读次数:
158
题目链接http://poj.org/problem?id=3070刚刚学了矩阵,自己写了个Fibonacci ,这题看了一下输入输出,直接贴上代码,就AC了。矩阵真是个好方法。代码#include#include#define mod 10000__int64 a[5];__int64 b[3][...
分类:
其他好文 时间:
2014-12-06 16:37:28
阅读次数:
152
#include#include#includeusing namespace std;string sa[10];int ia[10];int main(){ const size_t array_size = 10; int ia[array_size]; for (size_...
分类:
其他好文 时间:
2014-12-06 16:37:39
阅读次数:
177
public class AbAppUtil { /** * 描述:打开并安装文件. * * @param context the context * @param file apk文件路径 */ public static void in...
分类:
其他好文 时间:
2014-12-06 16:36:06
阅读次数:
246
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=2752这道题其实想到线段树并不难,而且如果正确的推出了公式写起来也就是有点恶心而已= =实现不太容易出错。但是公式推起来确实比较的酸爽,加上我的公式又比较的迷,然后跑的飞慢= =这道题对于一个区...
分类:
其他好文 时间:
2014-12-06 16:38:24
阅读次数:
203
https://github.com/47deg/android-swipelistviewhttps://github.com/47deg/android-swipelistview-sample/swipeFrontView-ListView Item正常显示的控件Id,且必须与Item的布局文...
分类:
其他好文 时间:
2014-12-06 16:36:18
阅读次数:
150
真的是渣渣啊我!!解决方法一:#include ....... system("pause") pause:暂停解决方法二:#include ........ fflush(stdin);getchar();//后面两句都要有,亲测。至于ctrl +F5 不行(网上他们这个可以,不过我没事出来)。....
分类:
其他好文 时间:
2014-12-06 16:36:03
阅读次数:
170
模板类vector模板:1 vectorvt(n_elem);其中n_elem可以是整型常量,也可以是整形变量。如:1 #include2 ...3 using namespace std;4 vectorvi;//大小为05 int n;6 cin>>n;7 vectorvd(n);模板类arra...
分类:
其他好文 时间:
2014-12-06 16:37:59
阅读次数:
110
SMF(Simple Machines Forum)这个开源,专业级的论坛软件包可以让你在几分钟之内就能够搭建属于你自己的在线社区。 它强大,可定制的模板引擎使你可以完全掌控整个论坛的界面和布局。SMF还提供一种自己独特的SSI(Server Side Includes)技术,它的功能是让你...
分类:
其他好文 时间:
2014-12-06 16:35:14
阅读次数:
193
public final class AbBase64 { /** The Constant base64EncodeChars. */ private static final char[] base64EncodeChars = new char[] {'A', 'B', '...
分类:
其他好文 时间:
2014-12-06 16:36:32
阅读次数:
167
var gameover=0;//Flugzeug an und abschalten. Wird später interessant. Game Over || Turn on and off the airplane code. Becomes interesting at a later p...
分类:
其他好文 时间:
2014-12-06 16:36:38
阅读次数:
150
1、char[] 转换为 LPWSTR解决方案: 思路一: 使用CA2W字符转换宏(ATL and MFC String Conversion Macros)。 根据MSDN描述,这个宏用于将ANSI转换为Wide Character(UNICODE) 代码如下: ...
分类:
其他好文 时间:
2014-12-06 16:35:00
阅读次数:
291
Charles是一个web代理器,用来记录和展示你所发出和接收到的所有数据。主要特性:SSL Proxying——易清晰地文本展示SSL请求和响应Bandwidth Throttling是用来模拟包括潜在的慢的网络连接AJAX debugging——以文本或树形模式来展示XML和JSON的请求和响应...
分类:
其他好文 时间:
2014-12-06 16:35:34
阅读次数:
9899
无意之中找到了一个周立功的1114开发板。找了半天资料将他驱动起来,本文作为记录。 周立功官网教程文档地址:http://www.zlgmcu.com/NXP/LPC1000/lpc1110/TinyM0_um.pdf 板子上有一个1114的核心芯片+CK100仿真芯片。下载程序的话可以通过...
分类:
其他好文 时间:
2014-12-06 16:34:34
阅读次数:
300