博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年12月10日

摘要: So a little while back we wrote about the confusing crashes on the device that we eventually figured out were caused by [UIImage imageNamed:] running out of memory when it tried to cache lots of big i... 阅读全文

posted @ 2009-12-10 19:46 Jerry Hu 阅读(311) 评论(0) 推荐(0) 编辑

2009年11月30日

摘要: Jeff Perrin needed a function to return the first N words in a string (to create a small summary or a snippet thingy). He did it using the manual and awkward method of parsing the string manually. Tha... 阅读全文

posted @ 2009-11-30 10:05 Jerry Hu 阅读(204) 评论(0) 推荐(0) 编辑

2009年11月10日

摘要: Problem. You need help with DateTime formatting strings in C# or .NET languages. The framework provides powerful formatting capabilities, but the syntax is confusing and there are some tricks. Solutio... 阅读全文

posted @ 2009-11-10 15:29 Jerry Hu 阅读(16257) 评论(0) 推荐(0) 编辑

2009年10月22日

摘要: 不同服务器数据库之间的数据操作--创建链接服务器 exec sp_addlinkedserver 'ITSV ', ' ', 'SQLOLEDB ', '远程服务器名或ip地址 ' exec sp_addlinkedsrvlogin 'ITSV ', 'false ',null, '用户名 ', '密码 ' --查询示例 select * from ITSV.数据库名.dbo.表名 --导入示例... 阅读全文

posted @ 2009-10-22 09:51 Jerry Hu 阅读(249) 评论(0) 推荐(0) 编辑

2009年4月1日

摘要: SQL Server 的事务日志意外增大或充满的处理方法事务日志文件Transaction Log File是用来记录数据库更新情况的文件,扩展名为ldf。在 SQL Server 7.0 和 SQL Server 2000 中,如果设置了自动增长功能,事务日志文件将会自动扩展。一般情况下,在能够容纳两次事务日志截断之间发生的最大数量的事务时,事务日志的大小是稳定的,事务日志截断由检查点或者事务日... 阅读全文

posted @ 2009-04-01 12:28 Jerry Hu 阅读(3616) 评论(0) 推荐(0) 编辑

2006年8月30日

摘要: 前段时间在写RSS Feed。 经过了几次的修改,把相关的代码写成了单独的类。 感觉重用时还算比较方便。于是贴出来,大家一起研究研究。 阅读全文

posted @ 2006-08-30 16:55 Jerry Hu 阅读(1994) 评论(15) 推荐(0) 编辑

2006年8月11日

摘要: /**//////////////////////////////////////////////////////////////////////////////////SAMPLE:Generatesrandompassword,whichcomplieswiththestrongpassword//rulesanddoesnotcontainambiguouscharacters.////To... 阅读全文

posted @ 2006-08-11 15:16 Jerry Hu 阅读(907) 评论(3) 推荐(0) 编辑