How to keep your PC clean & up-to-date


          The following step-by-step guide shows how I clean up and update my PC on a regular basis, to keep everything run smooth, fast and nice.
          Software used in this guide can be found on this website. Use the Search function on this page to find all.

          • First of all, I prefer to have the My Documents folder point to another partition or drive (D:\ in my case) to keep it seperated from my Windows installation on C:\. In My Documents, I try to sort my files/folders as good as possible:

            - Downloads (Contains all the new, unordered downloaded stuff. This is also my Shared Folder for programs like eMule and it's my default folder for downloads with all kinds of software.)
            - Documents (Contains all my text-documents, spreadsheets, etc.)
            - Drivers (Contains all the latest driver-versions for the hardware in my system.)
            - Firefox (Contains my Mozilla Firefox Profile.)
            - Flash (Contains my funny Flash Movies.)
            - Game-updates (Contains patches for my games.)
            - Homepages (Contains all my temporary, old, new and final versions of the websites I make.)
            - ISO (Contains ISO's of CD's I often use, for use with Daemon Tools. It keeps me from swapping discs all the time.)
            - Intranet (Contains my archived websites, downloaded with HTTrack Website Copier.)
            - Mail (Contains my Mozilla Thunderbird/Outlook Express Mail.)
            - My Backups (Contains all the backups I made with SyncBack or any other backup-program.)
            - My Music (Contains all my MP3-albums.)
            - My Video's (Contains all my temporary and final home video's, some ready and some almost ready for DVD-backup.)
            - My Pictures (Contains all my digital photo-albums.)
            - Nokia (Contains backdrops, ringtones, midlets for my mobile phone.)
            - Software (Contains my freeware collection [A's Absolute Freeware 2005 CD-ROM.)
            - Upload (This folder is use in my home network, and as uploadfolder on my FTP-server, so others can copy files to my system.)
          • If I have a new version of a program already installed on my system, I install SyncBack to easily make backups of the stuff I want to use later in the My Backups folder, like (1) configuration files, (2) savegames, (3) etc.
          • I pay a visit to WindowsUpdate to look for the latest updates for Windows.
          • I install MyUninstaller, run it, and remove (1) all the software I don't want to use anymore, (2) all the software for which I have a better alternative and (3) the software for which I have a new version (I don't like installing new over old software. I like to start from scratch whenever possible).
          • I install CCleaner (Crap Cleaner) and run it to remove all the crap from my PC.
          • I restart my PC and remove all the empty, half-empty and left-behind files/folders related to the software I've just removed. I do this by checking the following folders: (1) \Program Files, (2) \Documents & Settings\Username\Application Data, (3) the Desktop and all other locations I often use.
          • I install JV PowerTools and check the registry for keys related to software that I have uninstalled. I remove those keys. After that I run the Registry Cleaner from the Tools menu and search for all the keys that are save to remove, without the ignored items. When the program is done searching I select them all (CTRL-A) and remove them. Then I run the Registry Cleaner again and search for all the ignored items, and I review them one by one to decide which of those are safe to remove.
          • Then I update my Anti-Virus and Anti-Spyware data files.
          • Now I restart my PC again in Safe Mode and run the Anti-Spyware and Anti-Virus software to be sure my system's clean of that kind of crap.
          • Still in Safe Mode, I run a Defragmentation on all local drives. I use DIRMS to defrag my system. After that I keepBuzzsaw running every time I start Windows to defragment the drives on-the-fly.
          • After this I restart Windows back in Normal Mode and then I'm ready to install new and/or updated software. If needed I restore the configuration files, savegames, etc. to the appropriate folder using SyncBack.
          • I disable System Restore on all drives, and use ERUNT to make my registry backups instead.
          • I install Sysinternals PageDefrag to defrag my registry at boot.

          Now just see how smooth everything's running... ;)

          posted @ 2006-07-01 00:28 django 閱讀(886) | 評(píng)論 (0)編輯 收藏
           
          一開(kāi)始裝過(guò),不過(guò)不知道干嘛的,然后就刪掉了。后來(lái)在csdn的一篇什么05年100大科技創(chuàng)新的產(chǎn)品里面居然看到這個(gè)插件,又給裝上了。發(fā)覺(jué)真的很不錯(cuò)。
          說(shuō)簡(jiǎn)單點(diǎn),它就是一個(gè)人工篩選網(wǎng)頁(yè)的冬冬,你可以申請(qǐng)帳號(hào),然后選自己感興趣的category,然后在插件里面就會(huì)出現(xiàn)你選的category,點(diǎn)一個(gè)category,就會(huì)跳到經(jīng)網(wǎng)友篩選后的該category的一個(gè)網(wǎng)頁(yè),點(diǎn)"Stumble"又會(huì)跳到下一個(gè)。同時(shí),自己也可以把喜歡的網(wǎng)頁(yè)推薦上去。
          基本上跳轉(zhuǎn)到的網(wǎng)頁(yè)都是很不錯(cuò)的網(wǎng)頁(yè)。比如說(shuō)我用過(guò)的幾個(gè)category,"shareware", "open source", "Java", "online games", "Self improment"等等,都可以跳到很多以前沒(méi)去過(guò)的好網(wǎng)站。對(duì)于喜歡上網(wǎng)逛,發(fā)現(xiàn)好玩的東西的人來(lái)說(shuō),真的是個(gè)很好的工具。
          不過(guò)有一點(diǎn),好像Stumble幾次,跳轉(zhuǎn)的網(wǎng)頁(yè)就會(huì)重復(fù)。
          posted @ 2006-06-26 20:58 django 閱讀(490) | 評(píng)論 (0)編輯 收藏
           
          QuickRex提供了兩個(gè)eclipse視圖,一個(gè)可以輸入正則表達(dá)式和text進(jìn)行匹配,另外一個(gè)是正則表達(dá)式的文檔。可以選擇java.util.regex或者oro來(lái)作為parse的engin,也可以選擇parse的參數(shù),對(duì)于匹配的text,有高亮顯示,也可以顯示group出來(lái)的值。的確是學(xué)習(xí)和使用正則表達(dá)式的好工具。
          它的主頁(yè)好像一直上不去,不過(guò)這兒可以下載,exe文件,直接安裝就可以了。
          posted @ 2006-06-26 20:40 django 閱讀(814) | 評(píng)論 (0)編輯 收藏
           
          可以在eclipse的package或者navigator視圖下,右鍵點(diǎn)擊文件或文件夾,打開(kāi)windowns explore對(duì)應(yīng)的目錄。

          easy explore
          posted @ 2006-06-25 18:56 django 閱讀(631) | 評(píng)論 (0)編輯 收藏
           
          RUNit
          使用很方便,在桌面右鍵,就可以選快捷方式了。
           文件,文件夾,什么都可以打開(kāi)。還有g(shù)roup功能。
          posted @ 2006-06-24 00:38 django 閱讀(460) | 評(píng)論 (1)編輯 收藏
           
          被測(cè)試的類: Buffer.java

          package test;

          import java.util.HashMap;
          import java.util.Map;


          /**
           *
           * @author sting
           */
          public class Buffer {
              private static Buffer me = new Buffer();
             
              public static Buffer getInstance() {
                  return me;
              }
             
              private Map<String, Integer> buff;
             
              private Buffer() {
                  this.buff = new HashMap<String, Integer>();
              }
             
              public void put(String key, int value) {
                      if (!(this.buff.containsKey(key))) {
                          this.buff.put(key, value);
                  }
              }
             
              public int get(String key) {
                      if (this.buff.containsKey(key)) {
                          return this.buff.get(key);
                      }
                      return 0;
              }
          }


          TestCase: BufferTest.java
          package test;

          import net.sourceforge.groboutils.junit.v1.MultiThreadedTestRunner;
          import net.sourceforge.groboutils.junit.v1.TestRunnable;
          import junit.framework.TestCase;


          /**
           *
           * @author sting
           */
          public class BufferTest extends TestCase {
              private Buffer buff;
             
              protected void setUp() throws Exception {
                  super.setUp();
                  buff = Buffer.getInstance();
              }

              protected void tearDown() throws Exception {
                  super.tearDown();
              }

              public void test() throws Throwable {
                  TestRunnable[] runnables = new TestRunnable[] {
                          new WriteToBuffer(buff, 10),
                          new GetFromBuffer(buff, 10)
                  };
                 
                  MultiThreadedTestRunner testRunner =
                          new MultiThreadedTestRunner(runnables);
                  testRunner.runTestRunnables();
              }
             
              private static class WriteToBuffer extends TestRunnable {
                  private int value;
                  private Buffer buff;
                 
                  public WriteToBuffer(Buffer buff, int value) {
                      this.buff = buff;
                      this.value = value;
                  }
                 
                  @Override
                  public void runTest() throws Throwable {
                      buff.put("sting", value);
                  }
              }
             
              private static class GetFromBuffer extends TestRunnable {
                  private int value;
                  private Buffer buff;
                 
                  public GetFromBuffer(Buffer buff, int value) {
                      this.buff = buff;
                      this.value = value;
                  }
                 
                  @Override
                  public void runTest() throws Throwable {
                      assertEquals(value, buff.get("sting"));
                  }
              }
          }


          運(yùn)行該test case,結(jié)果如下:
          WARN [Thread-1] (MultiThreadedTestRunner.java:276) - A test thread caused an exception.
          junit.framework.AssertionFailedError: expected:<10> but was:<0>
              at junit.framework.Assert.fail(Assert.java:47)
              at junit.framework.Assert.failNotEquals(Assert.java:282)
              at junit.framework.Assert.assertEquals(Assert.java:64)
              at junit.framework.Assert.assertEquals(Assert.java:201)
              at junit.framework.Assert.assertEquals(Assert.java:207)
              at test.BufferTest$GetFromBuffer.runTest(BufferTest.java:75)
              at net.sourceforge.groboutils.junit.v1.TestRunnable.run(TestRunnable.java:154)
              at java.lang.Thread.run(Unknown Source)

          把Buffer.java加上同步處理:
          public class Buffer {
              private static Buffer me = new Buffer();
             
              public static Buffer getInstance() {
                  return me;
              }
             
              private Map<String, Integer> buff;
             
              private Buffer() {
                  this.buff = new HashMap<String, Integer>();
              }
             
              public void put(String key, int value) {
                  synchronized (this) {
                      if (!(this.buff.containsKey(key))) {
                          this.buff.put(key, value);
                      }
                  }
              }
             
              public int get(String key) {
                  synchronized (this) {
                      if (this.buff.containsKey(key)) {
                          return this.buff.get(key);
                      }
                      return 0;
                  }
              }
          }

          測(cè)試通過(guò)。

          這里只是用最簡(jiǎn)單的code演示了一下如何使用GroboUtils里面提供
          TestRunnable和MultiThreadedTestRunner來(lái)編寫(xiě)多線程的測(cè)試代碼。其實(shí)也可以自己寫(xiě)code去測(cè)試,不過(guò)已經(jīng)有人寫(xiě)了,不用再重復(fù)去做了。Please refer to http://broboutils.sourceforge.net to get more information.
          posted @ 2006-06-24 00:27 django 閱讀(1732) | 評(píng)論 (0)編輯 收藏
          僅列出標(biāo)題
          共12頁(yè): First 上一頁(yè) 4 5 6 7 8 9 10 11 12 
           
          主站蜘蛛池模板: 精河县| 仪征市| 永寿县| 桦南县| 海口市| 磴口县| 高雄县| 淮北市| 安新县| 山东省| 郴州市| 嘉定区| 霍山县| 凯里市| 剑河县| 玉田县| 高阳县| 太和县| 正镶白旗| 手机| 乌兰察布市| 永和县| 和静县| 防城港市| 名山县| 桑植县| 建德市| 桦南县| 通海县| 博白县| 永春县| 雷山县| 包头市| 万州区| 吴桥县| 鱼台县| 堆龙德庆县| 陈巴尔虎旗| 昭苏县| 务川| 庆阳市|