码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果
Linux主机配置网卡桥接之后出现报错
操作系统:CentOS6.5,最小化安装装完系统之后开始装KVM虚拟机,当所有的环境安装完成时,网卡的配置文件也都完正无误的配置好了,重启网络的时候却出现报错:Bringupinterfaceeth0:Deviceeth0doesnotseemtobepresent,delayinginitialization。在网上搜了半天终于解决了:解..
分类:系统相关   时间:2014-08-15 02:55:08    阅读次数:266
java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@450b2f48 异常处理
晕死的错误,改了半天也没想到是这样的原因,基础正要呀。。。先看一下警告信息:07-07 08:32:19.540: WARN/WindowManager(74): Failed looking up window07-07 08:32:19.540: WARN/WindowManager(74):j...
分类:移动开发   时间:2014-08-14 19:37:09    阅读次数:859
Launching the Debugger Automatically
You can set up your application to start Visual Studio when you launch the application from Windows. Visual Studio will load your application, ready f...
分类:其他好文   时间:2014-08-14 16:17:38    阅读次数:227
判断两个字符串是否是变位词 (keep it up)
写一个函数判断两个字符串是否是变位词。变位词(anagrams)指的是组成两个单词的字符相同,但位置不同的单词。比如说, abbcd和abcdb就是一对变位词 这也是简单的题。 我们可以排序然后对比, 也可以直接统计字符出现的个数来判断。这里给出统计字符来判断的代码: bool isAnagram1(const string& vLeft, const string& vRight) { ...
分类:其他好文   时间:2014-08-14 03:50:27    阅读次数:327
[leetcode]Rotate Image
Rotate ImageYou are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?CC上的原题,...
分类:其他好文   时间:2014-08-14 03:45:17    阅读次数:192
css绘制三角形
今天看到人家用css画了一个三角形,简简单单几行代码,惊讶css其实还有很多我们不知道的东西. 三角形其实还是可以用在很多地方的.其实就那么几行代码直接贴上: div.arrow-up?{ ????width:?0; ????height:...
分类:Web程序   时间:2014-08-13 19:36:17    阅读次数:277
hdu 3584 二进制0,1反转 三维树状数组 及三维树状数组模板
先贴自己类比二维树状数组写的三维树状数组模板: 开始的时候循环体内j=y,k=z,没写,以为自己思路错了,,,hehe..... 更高维的树状数组以此类比 const int MAXN = 100+10; int c[MAXN][MAXN][MAXN];int X,Y,Z; int N; inline int lowbit(int x){return x&(-x);} void up...
分类:其他好文   时间:2014-08-13 19:00:37    阅读次数:189
HDU 1698 Just a Hook (线段树区间更新)
Problem Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic sticks which are of the same...
分类:其他好文   时间:2014-08-13 18:59:07    阅读次数:226
do not back up IOS被拘处理
看到发的应用被拒了,还是很郁闷的,下图为证: 发过一些IOS项目,但没发过需要从服务器下载大数量文件的项目。  ios验证人员认为我的应用在icloud上存储了近20M ,在浪费用户空间, 对此我深表遗憾。 查阅资料,发现自己确实没搞懂IOS的存储规则,http://www.cocoachina.com/bbs/simple/?t86244.html  这篇博文(规范翻译)讲...
分类:移动开发   时间:2014-08-13 18:55:37    阅读次数:280
你珍惜一个人,一定是感动过
Don't forget the things you once owned. Treasure the things you can't get. Don't give up the things that belong to you and keep those lost things in m...
分类:其他好文   时间:2014-08-13 17:55:06    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!