
其他
totogogo
@CityU of HK
展开
-
[垃圾microsoft, 要啥缺啥] win 8.1下安装手写输入法
http://www.pinyinjoe.com/windows-8/win8-chinese-handwriting-and-display-language-packs.htm转载 2014-02-28 15:03:47 · 6211 阅读 · 0 评论 -
win 7 backup and restore
http://rondoyoyo.pixnet.net/blog/post/29644879-%5Bwindows%5D-windows-7-%E7%9A%84%E7%B3%BB%E7%B5%B1%E6%98%A0%E5%83%8F%E5%82%99%E4%BB%BD%E9%82%84%E5%8E%9F%E5%8A%9F%E8%83%BD转载 2011-11-07 17:28:39 · 601 阅读 · 0 评论 -
uninstall oracle 11g in win 7
http://hi.baidu.com/%B7%C7%C4%E3%B2%BB%B0%AEhiro/blog/item/8ccfdef8504d1492b801a03c.html转载 2011-08-03 10:00:07 · 794 阅读 · 0 评论 -
买楼注意事项
<br />朝向 (东南向为优)<br />楼层(高贵低平)<br />是否带装修<br />是否凶宅 (网上可以查到)<br />楼宇是否已经大维修过(通常20年中修,30年大修),可以打电话去其他地产查询<br />是否安静<br />水喉是否ok,是否漏水(尤其是厕所)<br />是否有白蚁(有就很严重)<br />是否通风,是否光猛<br />管理费多少 (沙田第一城 $1 ~ 1.5)<br />看中的单位的银行估价(check hsbc web site)原创 2011-04-08 01:53:00 · 1277 阅读 · 0 评论 -
Study Schedule
Day:1. Linux2. PHP3. MoodleNight:Java原创 2011-02-17 23:17:00 · 785 阅读 · 0 评论 -
安装synology DS210j
<br /><br /><br /> <br />1. 首先把它连到一个局域网内(最好是DHCP)。注意:现在局域网里安装,装好之后再放到真正的IP Port上。如果出街的IP是DHCP,则安装过程中则设置为”DHCP” mode,如果是固定ip,那么则在安装过程中设置ip setting。<br /> <br />2. 在我自己的电脑里放入DSM安装碟,运行autorun。这时如果看到中文画面,就把你的电脑先设置为英文,reboot之后再运行autorun。<br /> <br /原创 2010-10-20 12:30:00 · 3080 阅读 · 0 评论 -
map network drive issues
<br />为了用户永久不用输入密码,在map network drive时会勾上选项”登录时重新连接“,同时在输入密码时勾上选项”保存密码“<br /> <br />这样的设置有2个issue:<br />1. 若电脑之前是user A使用,现在给user B用,但之前保存的是user A的user name and pwd,如何清除user A的密码而之前保存的?<br />2. 若user A在server修改了密码,那么就导致每次进入network drive都要输入密码。<br />上面2个问题都原创 2010-10-11 18:05:00 · 3365 阅读 · 0 评论 -
如何给 windows7 分区——图文详解
<br />http://zaban001.com/node/windows7%E5%A6%82%E4%BD%95%E5%88%86%E5%8C%BA转载 2010-10-08 10:06:00 · 765 阅读 · 0 评论 -
export的csv file中文显示乱码
<br />以往解決web編碼問題的方式就是全程使用utf-8<br />網頁部份皆為utf-8編碼<br />網頁資料的存取皆可正常顯示<br />但使用export to excel功能時 (寫csv格式)<br />中文部份用excel打开皆為亂碼顯示,但用notepad打开则正常显示<br />----------------------------------<br />檢查後發現原因就出在網頁的utf-8編碼上<br />網頁輸出excel的方法之一是使用.csv的格式來转载 2010-09-08 10:31:00 · 6752 阅读 · 0 评论 -
USB ghost tool
http://free2sw4u.blogspot.com/2009/06/usb-ghost-backup-and-restore-system.html转载 2011-12-01 12:25:36 · 925 阅读 · 0 评论 -
web site development security
web site security包含以下几个方面:* XSSCross-site scripting (XSS) is a type of web application security risk that enables attackers to inject client-side script into Web pages.solutioncontent filter原创 2011-10-26 15:46:15 · 3361 阅读 · 0 评论 -
png compress tool
online tool: http://tinypng.org/ (limitation: max file size is 3mb)offline tool: http://pngmini.com/转载 2013-10-31 12:17:43 · 929 阅读 · 0 评论 -
各种开发语言的console output
Java: System.out.printlnasp.net:System.Diagnostics.Debug.WriteLine(...)it shows results in the Output window of Visual Studiohttp://stackoverflow.com/questions/137660/where-does-conso原创 2013-08-30 01:27:29 · 1141 阅读 · 0 评论 -
关于iphone/ipad同步,如何避免同步后目录和程序的顺序混乱
http://www.soft4fun.net/ipad-iphone/%E5%A6%82%E4%BD%95%E9%81%BF%E5%85%8D-iphoneipad-%E8%88%87-itunes-%E5%90%8C%E6%AD%A5%E6%99%82%E8%B3%87%E6%96%99%E5%A4%BE%E4%BA%82%E8%B7%91.htm原创 2012-02-16 14:43:53 · 1273 阅读 · 0 评论 -
JSON 入门指南
json介绍http://www.json.org/json-zh.htmlhttp://www.ibm.com/developerworks/cn/web/wa-lo-json/json格式及数据类型http://www.ruanyifeng.com/blog/2009/05/data_types_and_json.htmljson里大括号{ }和中括转载 2009-01-13 12:00:00 · 1859 阅读 · 0 评论 -
用程序发plain text email的换行问题
用程序来发plain text email,部分换行符在outlook中显示时会被转成空格,原因是:http://stackoverflow.com/questions/3931409/mailmessage-sent-string-as-body-without-newline-in-outlookhttp://support.microsoft.com/kb/287816解转载 2012-02-28 23:29:38 · 3770 阅读 · 0 评论 -
在outlook里删除邮件后,outlook.pst file size依然很大怎么办?
http://ask-leo.com/why_isnt_my_outlook_pst_getting_smaller_after_deleting_emails.html转载 2012-02-14 11:23:13 · 3295 阅读 · 0 评论 -
安装WINPE到移动硬盘,并通过winpe进行ghost备份
安装winpe到移动硬盘http://hi.baidu.com/nnffnn/blog/item/4988e71fa77222f6e0fe0ba1.html通过winpe进行ghost备份http://hi.baidu.com/wuslenovo/blog/item/09bac1ce903b4c4bf31fe72f.html转载 2011-12-29 12:24:51 · 1097 阅读 · 0 评论 -
open source CMS
alfresco (JAVA)http://www.alfresco.com/try/JBOSS PORTAL (JAVA)DotNetNuke (.NET)Joomla (PHP)Drupal (PHP)comparationhttp://web-cms.findthebest.com/compare/2-3-41-42-45/原创 2011-12-15 00:50:45 · 1004 阅读 · 0 评论 -
Win 7 防火墙端口屏蔽导致external无法访问mysql and web server
<br />在win 7装了apache and mysql,但在另一部机无法访问web site,也不能从另一部机直接连接mysql,原因是by default win 7防火墙屏蔽了端口。<br /> <br />解决方法:Open a Port in Windows 7’s Firewall<br />http://maximumpcguides.com/windows-7/open-a-port-in-windows-7s-firewall/<br /> <br />如果要屏蔽端口参看<br />h原创 2010-09-15 12:44:00 · 2797 阅读 · 1 评论 -
java读写中文内容的文件
<br />对于包含中文内容的excel文件,要把data导入database。我会先把其存为csv,然后用java写个程序生成insert sql script,但用java读取该csv时会出现乱码,其中一个原因就是该csv文件没有以utf-8形式保存。<br /> <br />那么做法应该是:<br />1. save excel file as csv<br />2. 把eclipse encoding设置为"utf-8"(必须的)<br />3. 在eclipse里创建一个csv file<br /原创 2010-09-03 00:25:00 · 1359 阅读 · 0 评论 -
Apache 2.2.X + SVN for windows
1 下载并解压apachesubversion for windows “svn-win32-1.6.5.zip” (我用的是v1.6.5),解压的目录下readme.txt最后部分有最update的安装svn的步骤其实svn完全不需要apache也可以使用。下面我们先讲解下如何单独使用svn。1)Add %svn_home%/bin to the SYSTEM PATH andreboot DOS窗口 (这使得在任何路径下都可以调用svn/bin里的命令,同时也可以使得all原创 2010-06-08 17:33:00 · 2991 阅读 · 0 评论 -
Why call java Cookie getDomain() method always return null??
AddCookieServletCookie cookie = new Cookie("mycookie", "juanjuan");cookie.setMaxAge(10); //10 means 10 secondscookie.setDomain(".cityu.edu.hk");response.addCookie(cookie);GetCookieServletCookie[] cook原创 2008-12-16 16:05:00 · 3698 阅读 · 0 评论 -
Configure DataSource without server.xml
1. in your web app, create "context.xml" in META-INF folder:context.xmlxml version="1.0" encoding="UTF-8"?>Context path=""> Resource name="jdbc/testDB" auth="Container"原创 2008-12-16 09:30:00 · 765 阅读 · 0 评论 -
目前的工作体会
1、所做的事要看清楚、想清楚、搞清楚原因才答复2、(IMPORTANT)来自其他人的信息(如果只有自己知道)要share to other members of team3、If email enquery is from student, neednt add my name in the signature4、做份内事一定要上心5、before add external us原创 2009-02-04 09:29:00 · 598 阅读 · 0 评论 -
(转) 重写equals()和hashCode() 以及如何设计hashCode()
http://zhangjunhd.blog.51cto.com/113473/71571转载 2008-11-26 21:22:00 · 675 阅读 · 0 评论 -
Solution of facebook session key problem
I created an application named "HelloWorld" in facebook. And then use Java Facebook API to do something by calling "HelloWorld", the codes like: FacebookJsonRestClient facebook = new FacebookJso原创 2008-11-20 17:36:00 · 1832 阅读 · 1 评论 -
使用Apache Common Lang:编写更少的代码
见 http://www.ibm.com/developerworks/cn/edu/j-dw-java-lessismore-i.html 讲解了如何使用Apache Common Lang Package来帮助实现实现对象契约,例如 equals 和 hashCode。实现 Comparable 接口的 compareTo 方法实现toString 方法使转载 2009-01-15 11:50:00 · 2417 阅读 · 0 评论 -
FileChannel tryLock/lock method
写了几个测试程序for tryLock/lock method,分成几种情况:Case 1: your java app lock file, then other software (e.g. notepad) cant modify and save the locked file Case 2: When another software (e.g. Excel) loc原创 2008-10-22 11:35:00 · 4539 阅读 · 2 评论 -
端口被占用的解决办法
在启动tomcat时,有时会发现8081端口被占用了,无法启动,那么怎样查看端口占用情况并解决它? 进入CMD,输入netstat -ano就可以很清楚的看到本地80口占用程序的PID,然后再去任务管理器里查找到PID所对应的进程(如果任务管理器没有PID,选择菜单“查看-->选择列”),停掉该进程即可原创 2008-02-25 22:01:00 · 2129 阅读 · 0 评论 -
Thinkpad T61 XP启动后键盘鼠标声卡偶而失灵??
IBM Thinkpad T61 装的原装XP系统,有时开机启动后,键盘、鼠标、声卡10%概率会失灵,解决办法:控制面板--添加删除程序--(找到带有UltraNav或point driver字样)的驱动程序--卸载--"yes"--重启验证有效!原创 2009-05-06 11:03:00 · 2611 阅读 · 0 评论 -
转:如何激活window 7 & 如何验证windows7是否正版
激活:Right click "Computer" and select "Properties", scroll down to the bottom of the page, you will find the activation link. 最新验证windows7是否正版的方法为了配合windows7的正式发行,目前微软暂时关闭了正版验证系统,所以大家暂时也无法进转载 2009-12-08 10:35:00 · 8271 阅读 · 2 评论 -
Apache 2.2.X + SSL for windows
<br />1.下载并安装带ssl的apache (带ssl的apache安装之后bin目录下会有openssl.exe)<br />Win32 Binary including OpenSSL 0.9.8i (MSI Installer): apache_2.2.11-win32-x86-openssl-0.9.8i.msi<br /><br />2. 在dos下%apache_home%/bin目录下执行下列命令生成证书<br />openssl req -new -x5原创 2010-06-08 09:46:00 · 1419 阅读 · 0 评论 -
(晚上)桂林机场去柳州
方案1:看有没有人可以一起拼一架的士回柳州0772-8818899问一下桂林机场有顺路返程出租车咩方案2:坐机场巴士到桂林民航大厦,然后打的到桂林火车站(不是桂林北),然后看坐下列班次的火车K157 北京西至湛江 正点22:47到桂林 凌晨1:22到柳州K315 / K318 西安至南宁 正点22:55到桂林 凌晨1:37到柳州K1191 南京至南宁 正点23:26原创 2010-05-19 23:07:00 · 4972 阅读 · 0 评论 -
推荐网站:精品绿色便携软件
<br />http://www.portablesoft.cn/原创 2010-07-05 11:47:00 · 2157 阅读 · 0 评论 -
download video from "ku6" web site and change to mp3
1. download 酷6网视频下载器2. use it to download video (video format is mp4, one video is separated to multiple mp4 files)3. use "Any Audio Converter" (http://www.any-audio-converter.com) to change mp4 t原创 2010-04-08 15:35:00 · 63514 阅读 · 0 评论 -
十年一遇
玩了十年,终于得偿所愿,做个纪念原创 2010-04-11 02:14:00 · 769 阅读 · 0 评论 -
转:gmail outlook settings
gmail帐号——OUTLOOK的设置:以下是关键步骤:服务器信息接收邮件服务器 (POP3): pop.gmail.com邮件发送服务器 (SMTP): smtp.gmail.com登录信息用户名:输入您的 Gmail 用户名(包括”@gmail.com“)密码:输入您的 Gmail 密码单击”其他设置…“,然后单击”发送服务器“转载 2010-01-14 15:52:00 · 1186 阅读 · 0 评论 -
正则表达式
正则表达式30分钟入门教程http://manual.phpv.net/regular_expression.html PHP 中的正则表达式http://www.phpv.net/html/1590.html转载 2010-03-15 10:51:00 · 549 阅读 · 0 评论 -
xp sp3 update fail
one possible reason is RDP 6.0 MUI PACK (Update for Windows XP (KB925877). Before you can update to XP SP3, you must uninstall KB925877: Control Panel > Add and Remove Programs > tick "show u原创 2009-12-10 20:50:00 · 642 阅读 · 0 评论