搜索到与相关的文章
编程技术

简体良葛格学习笔记

花了一些时间,作了一些繁体转简体的工作,不依赖GoogleTranslate,有兴趣的,可以至这边观看…http://caterpillar.onlyfun.net/GossipCN/index.html简体良葛格学习笔记

系统 2019-08-29 23:20:01 2621

编程技术

为facebook添加html/iframe页面 Create A Faceb

提示:iframe或者img如果想要占满空间的话,长度最好设置为width:520px;DoyouwanttoknowansimplewaytocreateengagingandattactivelandingpagesonFacebook?InthispostI’llbesharingsixofthebestfacebookiframetabappsthatyoucanaddveryeasilytoyourfanpages.WhatAreCustomFa

系统 2019-08-29 22:55:06 2621

编程技术

安卓性能调优:内存使用分析和方法调用优化

Android应用的性能分析,优化,需要检查分析内存使用情况和方法调用情况。本文给出进行这两方面分析的工具和方法。内存使用分析1.分析内存使用虽然Android系统的Dalvik虚拟机有垃圾回收机制,但因手机内存使用存在不同于普通PC的更大的限制,内存使用方面的问题,我们更应多加注意。一些内存使用问题会非常明显,比如内存耗尽(不足)时触发的OutOfMemoryError可能会使App直接崩溃。另有一些内存问题则表现得不那么明显,但他们会让你的App以及系

系统 2019-08-29 22:35:22 2621

编程技术

exhaustive a char dictionary

May18,2007:May18,2007:Thereisasampleofexhaustiveachardictionary.importjava.util.regex.Matcher;importjava.util.regex.Pattern;importjava.util.*;publicclassTest...{publicstaticvoidmain(Stringargs[])...{newTest();}String[]chars=...{"a

系统 2019-08-29 22:30:21 2621

编程技术

弹出框插件——dialog

基于jquery和dot.js弹出框插件,兼容IE6+等其他浏览器。思想:弹出框元素插入body节点中,并在页面垂直居中显示(fixed定位),触发确定和关闭事件绑定。注意ie6包含两个问题:一、select、flash不能遮罩,采用iframe。二、fixed属性采用滚动时重新计算高度或在样式中采用表达式计算expression。源码分析:1、creatHtml:采用doT.js初始化元素添加到body中;2、show:设置宽度,高度,居中显示;3、ev

系统 2019-08-29 22:15:24 2621

Java

Errata in Effective Java Second Edition

onPage15Theexception’sdetailmethodshouldindicatewhichinvariantisviolated(Item63).IthinkitshouldbeTheexception’sdetailmessagesshouldindicatewhichinvariantisviolated(Item63).终于等到作者的回信了,小错误,无伤大雅,就怕我译本的如果错误。。。,就对不起了。。。附确认邮件:另一个我提交的被踢回

系统 2019-08-29 21:55:36 2621

Javascript

Event delegation in JavaScript

EventdelegationinJavaScriptPostedatJune30,200909:00ambyNicholasC.ZakasTags:Delegation,DOM,Events,JavaScript,PerformanceLastweek,IspokeatandattendedtheVelocitywebperformanceconferenceinSanJose.ItwasalotoffunandIlearnedalotintheothe

系统 2019-08-12 09:30:22 2621

编程技术

httpclient上传文件使用

org.apache.commons.httpclient.HttpClienthc=neworg.apache.commons.httpclient.HttpClient();hc.getHostConfiguration().setHost("localhost",80);org.apache.commons.httpclient.methods.MultipartPostMethodmpm=neworg.apache.commons.httpclie

系统 2019-08-12 09:30:18 2621

各行各业

Vector:no such file or directory解决

如果想在ios代码如果想使用stl的vector,在头文件里包含vector如#import编译报错为Vector:nosuchfileordirectory,我想其他的stl头文件也一样解决方法就是在XCode中选中项目所有源文件,右键选getinfo菜单,把头文件的filetype全部改成soucecode.cpp.h,实现文件的filetype全部改成soucecode.cpp.objcpp。另一种方法是选择项目-》Targets-》

系统 2019-08-12 09:27:24 2621