搜索到与相关的文章
Android

android 详解 SharedPreferences

SharedPreferences存储类效率分析SharedPreferences是Android平台上一个轻量级的存储类,主要是保存一些常用的配置比如窗口状态,一般在Activity中重载窗口状态onSaveInstanceState保存一般使用SharedPreferences完成,它提供了Android平台常规的Long长整形、Int整形、String字符串型的保存,它是什么样的处理方式呢?SharedPreferences类似过去Windows系统

系统 2019-08-29 23:28:21 3073

ASP.NET

Deleting Directory in ASP.net 2.0

http://www.vikramlakhotia.com/Deleting_Directory_in_ASPnet_20.aspxHaveyoutriedtodeleteadirectoryprogrammaticallyinASP.Net2.0?Don’ttryit;itcancausegreatproblemstoyoursiteespeciallyifyouareusingin-procsession.Youwilllosetheentireses

系统 2019-08-12 09:26:45 3073

数据库相关

SQL语句-计算中间值

问题:计算一列数字值的中间值(中间值就是一组有序元素中间成员的值)。例如,查找DEPTNO20中工资的中间数。如下列工资:selectsalfromempwheredeptno=20orderbysalSAL----------8001100297530003000中间数为2975。解决方案除了Oracle解决方案(用函数计算中间数)之外,其他所有解决方案都是以Rozenshtein、Abramovich和Birger在OptimizingTransact

系统 2019-08-12 01:52:10 3073

Tomcat

tomcat的maxThreads、acceptCount(最大线程数

tomcat6的Connector配置如下其中最后两个参数意义如下:maxThreads:tomcat起动的最大线程数,即同时处理的任务个数,默认值为200acceptCount:当tomcat起动的线程数达到最大时,接

系统 2019-08-12 01:32:57 3073

编程技术

CodeForces Round 197 Div2

这次出的题水爆了,借着这个机会终于把CF的号变蓝了.A.HelpfulMathstimelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputXeniathebeginnermathematicianisathirdyearstudentatelementaryschool.Sheisnowlearningtheadditionoper

系统 2019-08-12 01:32:40 3073

编程技术

使用 Nginx 提升网站访问速度

使用Nginx提升网站访问速度#log_formatmain'$remote_addr-$remote_user[$time_local]$request'#'"$status"$body_bytes_sent"$http_referer"'#'"$http_user_agent""$http_x_forwarded_for"';#access_logoff;access_loglogs/access.log;#日志文件名使用Nginx提升网站访问速度

系统 2019-08-12 01:32:36 3073

Linux

32bit / 64bit co-exist Linux, ld-linux.so, l

beforethis,confirmthatyoudon'thave32bitlibsnotably32bitlibc,e.g.youhave/lib64/ld-linux-x86-64.so.2butnot/lib32/ld-linux.so.2https://wiki.debian.org/MultiarchrunfollowingonDebian64bittoaddbasicsupportfor32bitprograms(anywayyouneedl

系统 2019-08-12 01:31:59 3073

编程技术

[小结]对比实现自动编号功能的几种方法

--自动编号:Oracle建表createtablet1(autoidnumber(10)primarykey,namechar(4));创建序列createsequenceseq_t1_autoid;添加数据insertintot1(autoid,name)values(seq_t1_autoid.nextval,'a');insertintot1(autoid,name)values(seq_t1_autoid.nextVal,'b');commit;

系统 2019-08-29 22:22:36 3072

MySql

安装ipv6后再安装mysql配置时提示error nr.2003

安装ipv6后再安装mysql配置时提示:errornr.2003can'tconnecttomysqlserveron'localhost'(10061)http://blog.itpub.net/post/42951/520997说来惭愧啊,其实前段时间遇到过此问题,可是后来稀里糊涂的就解决了,详情可以找找我前面发表过的文章.这不这次就又遇到了,errornr.2003can'tconnecttomysqlserveron'localhost'(100

系统 2019-08-12 09:30:30 3072