码迷,mamicode.com
首页 >  
搜索关键字:width    ( 32014个结果
VS 2013 链接不上TFS 但是web可以
?? VS2013无法链接到TFS(Visual studio online),错误TF31001,TF31002 TF31002: Unable to connect to VisualStudio Online with VS 2013 but I can using web access - Windows 8.1.    FIX: 1. Close all i...
分类:Web程序   时间:2014-07-22 23:05:53    阅读次数:531
codeforce Present from Lena 打印菱形
Vasya's birthday is approaching and Lena decided to sew a patterned handkerchief to him as a present. Lena chose digits from 0 to n as the pattern. The digits will form a rhombus. The largest digit ...
分类:其他好文   时间:2014-07-22 23:04:32    阅读次数:412
Codeforces Amusing Joke 题解
So, the New Year holidays are over. Santa Claus and his colleagues can take a rest and have guests at last. When two "New Year and Christmas Men" meet, thear assistants cut out of cardboard the letter...
分类:其他好文   时间:2014-07-22 23:03:53    阅读次数:521
打造IE6的position:fixed整理篇
fixed真的是一个很好的属性。特别是做弹层的时候。可惜的是“国内主流浏览器”IE6大大不支持。 一般的我们都会通过CSS中的表达式来解决这个问题。 .fixed { position:absolute; left:expression(eval(document.documentElement.scrollLeft)); top:expression(eval(document.doc...
分类:其他好文   时间:2014-07-22 23:03:15    阅读次数:318
codeforces Buttons 数学公式构建
这样的题目虽然不难,但是要构建个数学公式还真不容易的。 做多了,居然有感觉了,可以感知到大概公式是什么样的,然后验证它。 本题公式就是: S = n + (n-1) + (n-2) * 2 + (n - 3) * 3 ... 至于怎么想出来的?...
分类:其他好文   时间:2014-07-22 23:03:15    阅读次数:276
SparseArray替代hashmap
最近编程时,发现一个针对HashMap的一个提示: 翻译过来就是:用SparseArray来代替会有更好性能。 那我们就来看看源码中SparseArray到底做了哪些事情: 一、构造 从构造方法我们可以看出,它和一般的List一样,可以预先设置容器大小,默认的大小是10: [java] view plaincopy public Sp...
分类:其他好文   时间:2014-05-01 21:57:37    阅读次数:483
GDAL在java中乱码问题解决方案
[前序]     首先关于GDAL源码方面,GDAL开源项目源码是使用C++语言所写,通过源码的编译可以生成支持一系列语言如c++/java/php/csharp/perl/python/ruby开发所依赖的第三方包或头文件。GDAL的同时支持不同平台下的编译生成,在Win平台下使用起来出现的问题较多,比如编译时选择不同的编译选项32位或x64位产生出不同的依赖库,还有中文路径、中文读写问题...
分类:编程语言   时间:2014-05-01 17:53:24    阅读次数:1741
CodeForces Dubstep 题解
抽掉中间的WUB字符串。这个是用C++总是有点难度的。 本题还算简单的了,只要注意中间插入空格符就好了。 这里虽然是用了二次循环,但是实际时间效率是O(n)...
分类:其他好文   时间:2014-05-01 17:52:40    阅读次数:375
ios7 自定义UINavigationBar UIBarButtonItem 10px的偏移纠正的两种解决方案
方案一:利用UINavigationBar 自带的布局item(Fixed space Bar Button Item)来适配ios7. 其实就是在原来返回按钮的位置上在多加一个占位的Item 为UINavigationBar 写一个分类。UINavigationItem+correct_offset.h #import @interface UINavigationIte...
分类:移动开发   时间:2014-05-01 17:29:39    阅读次数:525
Cocos2d-x Layout简单使用
1、 Text* alert = Text::create("Layout", "fonts/Marker Felt.ttf", 30 ); alert->setColor(Color3B(159, 168, 176)); alert->setPosition(Point(widgetSize.width / 2.0f,...
分类:其他好文   时间:2014-04-30 22:23:38    阅读次数:421
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!