勤&快

          問題其實就是你期望的東西和你體驗的東西之間的差別
          隨筆 - 55, 文章 - 0, 評論 - 68, 引用 - 0
          數據加載中……

          如何訪問google doc

          解決google doc google 文檔不能訪問的問題。
          最近發現google doc不能訪問。我很多文檔都在上面。
          上網查了一下,是DNS的問題。
          需要自己的本機的DNS表中,加入google doc的地址就可以了,方法如下:

          Windows系統:
          編輯HOSTS文件,具體位置在:
          C:"Windows"system32"drivers"etc"hosts
          在hosts文件的結尾加上:

              72.14.235.100 docs.google.com
              72.14.235.100 spreadsheets.google.com

          而后保存退出。重新啟動瀏覽器之后就可以正常訪問Google Docs and Spreadsheets服務了。

          轉載
          http://www.williamlong.info/archives/1723.html

          linux系統:
          在/etc/hosts中加入  
              72.14.235.100 docs.google.com
              72.14.235.100 spreadsheets.google.com

          posted @ 2009-03-12 09:18 daning 閱讀(3392) | 評論 (0)編輯 收藏

          windows下使用latex寫文檔

          1. 到ctex下載中心,下載并安裝ctex最新版和ctex字體安裝包。這里使用的是2.4.6

          http://www.ctex.org/CTeXDownload
          ftp://ftp.ctex.org/pub/tex/systems/ctex/2.4/CTeX-2.4.6-Full.exe
          ftp://ftp.ctex.org/pub/tex/systems/ctex/ctex-fonts/CTeX-Fonts-2.4.6.exe
          記得,一定要安裝字體。不然中文就是亂碼。

          2. 安裝好之后就算搞定了。

          使用一個例子試試吧。

          \documentclass{article}
          \usepackage{CJK}
          \begin{document}
          \begin{CJK
          *}{GBK}{song}
          中文
          \end{CJK
          *}
          \end{document}

          在WinEdt中編輯,并且編譯為pdf。

          posted @ 2009-03-11 14:10 daning 閱讀(702) | 評論 (0)編輯 收藏

          在線參考文獻管理

          最近看論文,太多,有些亂,哪些看過哪些沒看過,哪些有哪些筆記,都不記得了。Endnote需要購買,開源的JadRef似乎不夠強大。發現了2個在線管理參考文獻的工具,
          1. http://www.citeulike.org/
          2. http://www.connotea.org/
          我在用第一個,感覺還不錯。是springer贊助的。可以通過參考文獻的網頁地址,直接獲得作者年份等各種信息。很不錯,并且提供生成BibTex的功能。可惜我暫時還是用MS Word,用空把論文用LaTeX重新弄一下。

          好處:
          1.在線管理,隨時隨地,不同電腦可以同步。
          2. 記錄哪些看過哪些沒看過
          3. 可以做筆記
          4. 支持tag,方便分類和查找

          posted @ 2009-03-10 22:25 daning 閱讀(292) | 評論 (0)編輯 收藏

          使用mylyn在eclipse中同步google code的issuse

          google code不錯,穩定,好用。
          mylyn可以方便開發任務和開發計劃。
          但是mylyn官方默認支持bugizla, jira, trac,對與google code的支持是通過
          http://download.eclipse.org/tools/mylyn/update/incubator
          進行eclipse update更新。
          原文地址如下:
          http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Task_Progress_Indicators

          使用的時候還需要一些配置,參考下文:
          http://eclipse.dzone.com/articles/using-mylyn-with-google-code-u

          The instructions I previously posted to set up Mylyn to work with Google Code do not seem to work with Eclipse 3.4 (Ganymede). Luckily, readers of the previous post have kindly left comments with updated instructions on how to make this tool work again (many thanks to Christopher Barber, RoSt, Sergey Kolos and LI Daobing.)

          Here we go:

          1. Update Mylyn to version 3.0.2.

            1. Go to the "Software Updates" dialog (menu "Menu" / "Software Updates...")
            2. Once in the dialog, select the "Installed Software" tab and press the "Update..." button
            3. Eclipse will look for updates of all the Eclipse plugins installed (warning: this is painfully slow)
            4. Once the list of "Available Updates" is generated, select Mylyn, accept the license terms and press the "Finish" button
            5. Restart Eclipse once the update process is complete
          2. Download the Web Templates Connector for Mylyn.

            1. Go to the "Software Updates" dialog (menu "Menu" / "Software Updates...")
            2. Once in the dialog, select the "Available Software" tab
            3. Add a new site with the URL http://download.eclipse.org/tools/mylyn/update/incubator (Mylyn Incubator)
            4. Select the connector Mylyn Connector: Web Templates (Advanced)
            5. Press the "Install" button (warning: this is also painfully slow)
          3. Open the "Task Repositories" View (menu "Window" / "Show View" / "Other...")


          4. Click on the "Add Task Repository" button.
          5. In the "Add Task Repository" wizard, select "Web Template (Advanced)" and click "Next."


          6. Select "Eclipse Outliner (Google Code)" from the drop-down (this is the provided template.)


          7. Change the server link and label (in my case I used http://code.google.com/p/fest and "FEST," respectively)
          8. Change the query request URL to
            ${serverUrl}/csv?can=1&colspec=ID+Status+Type+Owner+Summary
          9. Change the query pattern to
            "({Id}[0-9]+?)","({Status}.+?)","({Type}.+?)","({Owner}.+?)","({Description}.+?)""s
          10. Right-click the new task repository and create a new query.
          11. Voilà! Now you can see all the tasks in your repository, including the completed ones!





          posted @ 2009-03-04 20:49 daning 閱讀(901) | 評論 (0)編輯 收藏

          使用maven2管理eclipse插件工程

          發現eclipse插件工程的依賴關系,不太容易使用maven2管理。
          誰有好辦法,請不吝賜教。
          <add>
          http://tinyurl.com/c5zjzq
          http://mojo.codehaus.org/pde-maven-plugin/

          posted @ 2009-03-03 19:26 daning 閱讀(435) | 評論 (0)編輯 收藏

          自動部署

          最近在做一個自動部署的項目。就是希望能夠實現J2EE應用的自動部署,包括解決對與數據源,消息隊列等資源的依賴。還有組件間的依賴關系。
          現在參考這個開源項目buildprocess。
          有沒有熟悉這個方面的朋友,請多提寶貴建議。

          posted @ 2009-02-23 23:53 daning 閱讀(171) | 評論 (0)編輯 收藏

          使用linux命令統計java代碼行數

          想看一下自己寫的代碼行數,google了一下,參考這里[http://www.80x86.cn/article.asp?id=1722]
          #!/bin/bash
          count
          =$(find -name "*.java" -type f -exec cat {} \; | wc -l)
          echo 
          "Total >$count"


          posted @ 2008-08-22 17:34 daning 閱讀(676) | 評論 (0)編輯 收藏

          預防頸椎病和腰間盤病

          長期坐在電腦前面,還要經常熬夜,身體狀況變的越來越差。所以要堅持一些鍛煉。免得年齡大了各種病都會找上身。
          比如,到了30幾歲,因為年輕時不注意,造成的頸椎病,會導致經常惡心,胸悶,頭昏等等。所以,現在就要注意了。
          預防頸椎病
          1. 每一個小時或者2個小時,講脖子后仰,10分鐘。簡單的后仰,閉上眼睛,放松10分鐘。
          2. 晚上睡覺盡量睡薄枕頭。
          預防腰間盤病
          1. 每天晚上回家之后,躺下,腳和上身分別拉伸。也就是相當于上身向頭的方向拉伸,腳往腿的方向拉伸。這個效果相當于醫院的牽引療法。

          其他有益的運動,要經常堅持
          1. 跑步,每天最好堅持10分鐘。至少要慢走一下。
          2. 游泳。一周一次。
          3. 羽毛球。不定期。
          4. 俯臥撐,仰臥起坐
          5. 啞鈴
          6. 背飛鳥

          無數個鮮活的例子教育我們,沒有健康的身體,就沒有了生活的基礎,即使賺了再多的錢也沒有福氣享受。所以,一定要注意身體。

          posted @ 2008-08-21 10:50 daning 閱讀(147) | 評論 (0)編輯 收藏

          maven的一些筆記

          1. mvn -Dtest=WikiModelXHTMLParserTestSuite
          執行一個測試,可以用在正則表達式
          2. mvn install -Dmaven.test.skip=true
          不進行測試直接安裝
          3. mvn test -Dmaven.test.failure.ignore=true
          忽略測試時候的failure
          3.mvn exec:java -Dexec.mainClass=com.sonatype.maven.weather.Main
          執行一個class,這樣可以自動解決classpath問題。

          參考:http://www.sonatype.com/book/reference/customizing.html

          posted @ 2008-08-20 17:53 daning 閱讀(187) | 評論 (0)編輯 收藏

          Girl Who Silenced the UN For 5 Minutes

          posted @ 2008-07-18 00:13 daning 閱讀(124) | 評論 (0)編輯 收藏

          僅列出標題
          共6頁: 上一頁 1 2 3 4 5 6 下一頁 
          主站蜘蛛池模板: 辽阳市| 利川市| 德钦县| 满洲里市| 南宫市| 武穴市| 乐陵市| 瓮安县| 上虞市| 措勤县| 军事| 芜湖县| 建始县| 昆明市| 牟定县| 叙永县| 沅陵县| 水城县| 商城县| 樟树市| 嘉义县| 五指山市| 邹平县| 新巴尔虎左旗| 沂源县| 三河市| 揭西县| 开鲁县| 博白县| 达日县| 东源县| 洪洞县| 高密市| 新和县| 锡林郭勒盟| 苏尼特左旗| 湄潭县| 海晏县| 鄂托克前旗| 娄底市| 安远县|