原创 註冊表整理

         在很多時候需要整理註冊表,比如:卸載軟件。我曾經在重新安裝MySQL時,安裝不上,就是因爲之前的版本未卸載乾淨,這時就需要刪除註冊表中一些頑固的項。          向大家推薦一個很好用的軟件——冰刃。希望可以給您帶來

原创 如何編寫代碼塊?

            CSDN博客爲大家提供了一個寫筆記的平臺,現在發現把學習過程遇到的一些問題和解決方法或者一種新的技術記錄下來很有必要,畢竟各種技術太多,很難把所有的東西都記在腦子裏,所以經常翻看以前的博客,可以發現自己成長的軌跡,

原创 Velocity語法大全

轉自:http://www.cnblogs.com/likwo/archive/2010/05/13/1734936.html 一、基本語法 1、"#"用來標識Velocity的腳本語句,包括#set、#if 、#else、#e

原创 C++編程

轉載自:http://blog.csdn.net/abcjennifer/article/details/19423987 PAT 1070 基礎貪心 Mooncake (25) 時間限制 100 ms 內存限制 32000 kB 代

原创 解讀ClassLoader

http://www.iteye.com/topic/83978說得非常好! 點贊 收藏 分享 文章舉報

原创 Java HashMap源代碼詳解

轉自:http://blog.csdn.net/dyllove98/article/details/9207601一直對於containsKey方法的效率表示疑惑。未看源碼前自以爲有兩種實現方式,一種就是

原创 Java多線程(五)之BlockingQueue深入分析

轉載:http://blog.csdn.net/vernonzheng/article/details/8247564 一、概述: BlockingQueue作爲線程容器,可以爲線程同步提供有力的保障。 二、Blockin

原创 Eclipse報錯:an internal error occurred during building workspace以及jvm參數設置

http://blog.sina.com.cn/s/blog_4c538f6c01014ic5.html Eclipse導入了一個比較大的項目,出現了an internal error occurred during building w

原创 pat1020. Tree Traversals (25)

算法思路: 1、後序最後元素爲根,根將中序分爲左右子樹 2、層序遍歷利用隊列實現,java使用LinkedList import java.util.LinkedList; import java.util.Queue; import j

原创 String,StringBuffer與StringBuilder的區別??

轉自:http://blog.csdn.net/rmn190/article/details/1492013 String 字符串常量 StringBuffer 字符串變量(線程安全) StringBuilder 字符串變量(非線程安

原创 1045. Favorite Color Stripe (30)

Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her

原创 pat1010. Radix (25) BUG!!!

#include<stdio.h> #include<stdlib.h> #include<string.h> int c2int(char c){ if('0'<=c&&c<='9') return c-'0'; else

原创 JQuery Upload File插件上傳文件提示 Empty file upload result

JQuery Upload File 上傳文件提示  Empty file upload result ,經過查找發現問題出在js上 需要修改 jquery.fileupload-ui.js  73行如下      getFiles

原创 leetcode難度及面試頻率

轉載自:LeetCode Question Difficulty Distribution               1 Two Sum 2 5 array

原创 BlockingQueue的使用

1、BlockingQueue常用API如下: 截圖自:http://dlc-cdn.sun.com/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html/zh_CN/a