Saturday, November 13, 2010

Happiness



"Happiness is a mood not a destination?"

Just heard of this quote today. Is it true?

Each one of us try to pursuit that happiness that which suited our own definition.
We are trying so hard to reach that. A dream job, a brand new car, latest iphone ...

Well, it's that happiness or just our alter ego?

May be if we accept happiness is a mood then, may be, we will be more happy ...

Friday, October 22, 2010

猴子的故事











-道德的起源-

把五只猴子关在一个笼子里,上头有一串香蕉
实验人员装了一个自动装置
一旦侦测到有猴子要去拿香蕉,马上就会有水喷向笼子
而这五只猴子都会一身湿
首先有只猴子想去拿香蕉,当然,结果就是每只猴子都淋湿了
之後每只猴子在几次的尝试後,发现莫不如此
於是猴子们达到一个共识:不要去拿香蕉,以避免被水喷到
後来实验人员把其中的一只猴子释放,换进去一只新猴子A
这只猴子A看到香蕉,马上想要去拿
结果,被其他四只猴子海K了一顿
因为其他四只猴子认为猴子A会害他们被水淋到,所以制止他去拿香蕉
A尝试了几次,虽被打的满头包,依然没有拿到香蕉
当然,这五只猴子就没有被水喷到
後来实验人员再把一只旧猴子释放,换上另外一只新猴子B
这猴子B看到香蕉,也是迫不及待要去拿
当然,一如刚才所发生的情形,其他四只猴子海K了B一顿
特别的是,那只A猴子打的特别用力(这叫老兵欺负新兵,或是媳妇熬成婆 ^O^)
B猴子试了几次总是被打的很惨,只好作罢
後来慢慢的一只一只的,所有的旧猴子都换成新猴子了,大家都不敢去动那香蕉
但是他们都不知道为什麽,只知道去动香蕉会被猴扁
这就是道德的起源


-阶级的起源-

实验人员继续他们的实验,不过这一次他们改变了喷水装置
一旦侦测到有猴子要去拿香蕉,马上就会有水喷向拿香蕉的猴子,而不是全体
然后实验人员又把其中的一只猴子释放,换进去一只新猴子C
不同以往的是猴子C特别的孔武有力
当然猴子C看到香蕉,也马上想要去拿
一如以前所发生的情形,其他四只猴子也想海K猴子C一顿
不过他们错误估计了C的实力,所以结果是反被C海K了一顿
于是猴子C拿到了香蕉,当然也被淋了个透湿
C一边打着喷嚏一边吃着香蕉,美味但是也美中不足
A、B、D、E没有香蕉吃却也比较快乐,毕竟没有被淋到嘛
后来C发现只有拿香蕉的那个才会被淋到,他就要最弱小的A替他去拿
A不想被K,只好每天拿香蕉然后被水淋
B、D、E越发的快乐了起来,这就叫比上不足,比下有余嘛
于是五只猴子有了三个阶级
这下子阶级也随着道德的起源了


-道德的沦丧-

天变热了,笼子里的猴子们想冲凉却找不到地方。终于出现了一位反潮流英雄,猴子
HERO。HERO在无意中碰到了香蕉,理所当然的引来了一顿饱打。但在挨打的过程中,猴子
们享受到了冲凉的乐趣。等身上 的水干了之后,猴子A在无意中碰撞了HERO,使HERO
又一次接触到了香蕉,于是,猴子们享受了第二次冲凉,HERO遭到了第二次痛殴。
在此之后,只要大家有冲凉的需要,就会有一只猴子X挺身而出,对HERO进行合理冲撞。
大家对HERO的态度也有了明显的不同,在平时大家会对HERO异常温和,以弥补在冲凉时
为维护规则而不得不对它进行的暴力举动。
一天,在大家冲凉时,饱受折磨的HERO闻到了香蕉的清香,生物本能使它在别的猴子心
有旁鹜时将香蕉吃了。而且此后没有了新的香蕉来填补空缺。猴子们陷入了另一个尴尬
境地:没有冲凉的水,也没 有香蕉,只有HERO。
于是,另一个规则形成了。猴子在烦躁的时候会痛打HERO出气,HERO不得反抗。
当笼子里的旧猴子被新猴子换掉时,新猴子会在最快的时间内学会殴打HERO。
终于有一天,老天有眼,历尽沧桑的HERO被另一只猴子代替了。猴子们失去了发泄的
对象,只能任意选取一个目标进行攻击。从此以后,笼子里的猴子们不吃不喝不冲凉,
唯一的举动就是打架。
这就是道德的沦丧。


-道德的重建-

实验人员对猴子们的争斗不休感到不安。为了重建道德秩序,他们决定继续供应香蕉。
一天,正在混战的猴子们发现头顶多了一串香蕉,它们其中的一个A不顾身上的剧痛,把
香蕉摘了下来。于是久违的甘露出现了,未曾尝过甜头的猴子们先是茫然失措,继而争
先恐后的加入冲凉的行列。香蕉反而被遗忘了。当猴子B、C、D、E发现A在享受淋浴的同
时还吃着美味的香蕉,嫉妒心使它们暂时团结起来,共同K了A一顿,将A吃剩的香蕉夺过
来,但是,此刻的香蕉成了匹夫怀里的宝玉,得到它的猴子虽然可以享受美味,但付出
的代价也是巨大的。
实验人员不断放入香蕉,却发现战斗比以前更激烈了。分析清楚原因后,他们用木头做了
一个假香蕉扔进了笼子。此时猴子们已经学聪明了,它们知道触摸香蕉可以享淋浴,
而试图独占香蕉则会遭到痛扁。于是,一个新的现象出现了,当猴子们有冲凉的需要时,
会有一只猴子将香蕉拿起来,而当它发现有遭到攻击的可能时,它会马上放下香蕉逃到
一边去。这样,猴子们都能冲凉,但是又不至于再象以前那样N败俱伤。
没有猴子发现那个香蕉是假的。


-信仰的起源-

五只猴子A、B、C、D、E三个阶级快乐地生活了很久
他们精确的给出了三个阶级的定义,即吃香阶级、拿香阶级和干看着阶级
可惜猴子A由于长期的水中作业无可避免地引发了它肺部功能的衰竭
一天他在例行的拿香蕉作业中跌倒了就再也没有爬起来
于是实验人员又送进了一只同样孔武有力的猴F
当然他还是对屋顶的香蕉很有兴趣
不幸的是他最终以微弱的劣势被以C为首的群猴再次海K
第二天,又到了拿香蕉的时候
猴子C很无所谓,反正他还要吃香蕉,反正他不会被水淋到
真正恐慌的是B、D、E三猴
F是那么的健壮,他们这些媳妇是熬不成婆了
他们将面临一个艰难的抉择,谁该去步A的后尘?
猴子B、D、E展开了激烈的争论,讨论谁最应该做下一个拿香阶级
猴子F很奇怪也很好奇,什么叫“拿香阶级”呢?
猴子B、D、E解释道:所谓“拿香阶级”就是猴子界勇敢者的阶级
需具备一不怕苦二不怕死的大无畏精神方能得此殊荣
猴子F闻听不禁有些神往,有些跃跃欲试
当然他最终达到了目的,作了唯一的拿香阶级
再后来,B、D、E三猴陆续被换出局,换来的猴子个个健壮如C
他们继续大大出手,不过目标不是香蕉,而是那个唯一的拿香阶级
于是信仰也出现了


-迷信的起源-

迷信的起源
后来A终于被好心的实验人员拉出了苦海。
新来了猴子F
C觉得有必要维护自己的阶级地位,B、D、E则生怕自己顶了A的缸……
在各种复杂心情的作用下,B、D、E在C的带领下爆扁了F一顿,然后强令
F做拿香蕉阶级。
F开始不乐意,后来慢慢在B等的劝说下等“待多年的媳妇熬成婆”这一宿
命。
慢慢的老资格的B、D、E猴子渐渐被淘汰,C发现自己在体力上不再占有
优势,很难再通过武力让这一游戏规则继续下去,觉得十分苦恼。
这时,一只最有希望升级为吃香蕉阶级(暨C的理所当然接班人)也是C谋
臣的H向C进言。于是君臣定计。
H开始依靠自己多懂几种猴语而在其他若干猴面前树立的权威形象向其他猴
鼓吹:“每一只新来笼子的猴子都是有罪的,这种罪责来自血统。……只有
摘香蕉的猴子才能被(实验人员)送到天堂。”
事实上,因为被水冲很容易得肺炎病倒而被实验人员淘汰掉,猴子们不知道
反而以为被淘汰的猴子真的进了天堂。
渐渐,猴子都相信了这套理论,并且讲给每一只新猴子听。
然后就这么流传下去越传越神奇。以至于后来摘香蕉阶级的猴子都为了能摘
香蕉而大打出手。……
这些都是C没有想到,H没有看到的,那时他们都已经死了。
然而迷信就这么诞生了。


Wednesday, September 22, 2010

Ctrl-Alt-Del in Remote Desktop

Today i need to change a service account password by remote connect to another machine in another domain.

As usual was using the Ctrl-Alt-Del but this seems like trigger my local windows lock screen instead.

After googling.. finally found out the correct combination:

Ctrl-Alt-End


Saturday, August 14, 2010

Number Operation

Give an array with 1 to N except 1 number. Find the missing number.

public static int FindMissingNumber(int[] a)
{
if (a == null || a.Length <= 1)
return 0;

int sum = 0;
for (int i = 0; i < a.Length; i++)
sum = sum ^ a[i] ^ (i+1);

return sum ^ (a.Length+1);
}

This solution is better:


a ={1,3}   Missing 2


using XOR characteristic when XOR same= number it will become 0 :  A XOR A = 0.


1st pass : 1 XOR 1 = 0


001 XOR 001 = 000


2nd pass : 0 XOR 3 XOR 2 = 1        


000 XOR 011 XOR 010 = 001


Final : 1 XOR 3 = 2


001 XOR 011 = 010


* Avoid using n*(n+1)/2 – sum approach as this will introduce overflow for integer data type.

Wednesday, August 11, 2010

String Operation

Naive / Brute Force

public static bool NaiveFindString(string text, string pattern)
{
if (string.IsNullOrEmpty(text)
|| string.IsNullOrEmpty(pattern)
|| text.Length < pattern.Length)
return false;

for (int i = 0; i <= text.Length - pattern.Length; i++)
if (text.Substring(i, pattern.Length) == pattern)
return true;

return false;
}

 

public static bool NaiveFindStringV2(string text, string pattern)
{
if (string.IsNullOrEmpty(text)
|| string.IsNullOrEmpty(pattern)
|| text.Length < pattern.Length)
return false;

for (int i = 0; i <= text.Length - pattern.Length; i++)
{
int c = 0;

while (c < pattern.Length && pattern[c] == text[i + c])
c++;

if (c == pattern.Length)
return true;
}

return false;
}

Boyer Moore

public static int[] BuildBadChar(string pattern)
{
int[] badCharMoves = new int[256]; // ASCII

for (int i = 0; i < badCharMoves.Length; i++)
badCharMoves[i] = -1;

for (int i = 0; i < pattern.Length; i++)
badCharMoves[pattern[i]] = i;

return badCharMoves;
}

public static bool BoyerMooreFindString(string text, string pattern)
{

if (string.IsNullOrEmpty(text)
|| string.IsNullOrEmpty(pattern)
|| text.Length < pattern.Length)
return false;

int[] badCharMoves = BuildBadChar(pattern);

for (int i = 0; i <= text.Length - pattern.Length;)
{
int count= pattern.Length - 1;
char ch = char.MinValue;
while (count >=0 && pattern[count] == (ch=text[i + count]))
count--;

if (count < 0)
return true;

i = i + Math.Max(count - badCharMoves[ch],1);
}

return false;

}

Remove duplicates

public static string RemoveDuplicate(string text)
{
if (string.IsNullOrEmpty(text) || text.Length == 1)
return text;

char[] s = text.ToCharArray();
int tail = 1;

for (int i = 1; i < s.Length; i++)
{

int m = 0;

for (; m < tail; m++)
if (s[m] == s[i])
break;

if (tail == m)
{
s[tail] = s[i];
tail++;
}

}

StringBuilder sb = new StringBuilder(tail - 1);

for (int i = 0; i < tail; i++)
sb.Append(s[i]);

return sb.ToString();
}

Reverse a string

public static string Reverse(string text)
{
if (string.IsNullOrEmpty(text) || text.Length == 1)
return text;

int first = 0;
int last = text.Length - 1;

char[] s = text.ToCharArray();

while (first < last)
{
char c = s[first];
s[first] = s[last];
s[last] = c;

first++;
last--;
}

return new string(s);

}

Sunday, July 25, 2010

VS 2010 Keyboard Shortcuts

VS 2010 Keyboard Shortcuts for C#, VB, C++, F# Now Available in Letter (8.5x11in) and A4 (210×297mm) Print-Ready Sizes [Download]

Recursion

2 types of recursion exist:


Tail

Non-Tail

void Tail(int i)
{
if(i > 0)
{
Console.WriteLine(i);
Tail(i-1);
}
}
void NonTail(int i)
{
if(i > 0)
{
NonTail(i-1);
Console.WriteLine(i);
NonTail(i-1);
}
}


Tail Recursion



  • The simplest case. A glorified loop.
  • Can simply be replace by iterative method.
  • The basic idea behind Tail Recursion is to eliminate the storage of any state information across the recursive steps. All information that would ever be needed at any single step is passed as a parameter to the function instead of being stored at some higher level in the recursion stack.
  • In tail recursion, the recursive call should be the ONLY last statement, and there should be no earlier recursive calls whether direct or indirect.
  • Used to implement loops in languages that do not support loop structures explicitly (e.g. prolog).

Example convert Tail recursion to iterative:


for loop syntax

for(init; condition; increment)
statement;










Tail


Iterative

void Tail(int i)
{
if(i > 0)
{
Console.WriteLine(i);
Tail(i-1);
}
}
void Tail(int i)
{
for(; i>0; i--)
Console.WriteLine(i);
}


Tail Recursion Examples:

public static void f1(int n)
{
Console.WriteLine(n);

if(n > 0)
f1(n - 1); //last statement with recursive call
}
public static void f3(int n)
{
if(n > 6)
{
Console.WriteLine(2*n);
f3(n – 2); //last statement with recursive call

} else if(n > 0)
{
Console.WriteLine(n);
f3(n – 1); //last statement with recursive call
}
}

Non - Tail recursion













Non Tail


Iterative

double Power(double x, int n)
{
if(n == 0)
return 1.0; //condition
else
return x * Power(x, n-1);

}

double Power(double x, int n)
{
double result = 1.0; //stack

for(result = x; n > 1 ; n--)
result = result * x;

}

string Reverse(string s)
{
if (s.Length == 1)
return s;

return Reverse(s.Substring(1)) + s[0].ToString();
}
string Reverse(string s)
{
string result = string.Empty;

for (int i = s.Length - 1; i >= 0; i--)
{
result = result + s[i].ToString();
}

return result;
}

Converting Non – Tail Recursion  to Tail Recursion



  • A non-tail recursive method can often be converted to a tail-recursive method by means of an "auxiliary" parameter. This parameter (A.K.A Accumulator) is used to form the result.
  • The idea is to attempt to incorporate the pending operation into the auxiliary parameter in such a way that the recursive call no longer has a pending operation.
  • The technique is usually used in conjunction with an "auxiliary" method. This is simply to keep the syntax clean and to hide the fact that auxiliary parameters are needed.












Non Tail


Tail

long Factorial (int n) 
{
if (n == 0)
return 1;
else
return n * Factorial (n – 1);
}

long Factorial(int n) 
{
return FactAux(n, 1);
}

long FactAux(int n, int result)
{
if (n == 0)
return result;
else
return FactAux(n-1, n * result); //using result as accumulator
}

int Fib(int n){
if (n == 0 || n == 1)
return n;
else
return Fib(n – 1) + Fib(n – 2);
}

int Fib (int n) {           
return FibAux(n, 1, 0);
}

int FibAux (int n, int next, int result) {
if (n == 0)
return result;
else
return FibAux(n – 1, next + result, next);
}


Common errors



  • Post increment and decrement operators must not be used since the update will not occur until AFTER the method call - infinite recursion.
public static int SumArray (int[ ] x, int index) 
{
if (index == x.length)return 0;
else
return x[index] + SumArray (x, index++);
}



  • Local variables must not be used to accumulate the result of a recursive method. Each recursive call has its own copy of local variables.
public static int sumArray (int[ ] x, int index)
{
int sum = 0;
if (index == x.length)return sum;
else {
sum += x[index];
return sumArray(x,index + 1);
}
}



  • Wrong placement of return statement.
incorrect version (always return initial pass in result)
public static int Sum(int n, int result) 
{
if (n >= 0)
Sum(n - 1, n + result);
return result;
}


correct version:

public static int Sum(int n, int result)
{
if (n == 0)
return result;
else
return Sum(n-1, n + result);
}

3 Days Rule


3 DAYS RULE
Uploaded by tehiiv. - Watch more comedy videos and sitcoms.

Sayz Biiiiinnnnnnng!

iPhone 4 Ads Parody

Saturday, July 24, 2010

iPhone 4 vs HTC EVO 4G

Crying Baby - Best Actor

Social Media Revolution 2 (Refresh)

Did You Know 4.0

Revenge of the Fallen

I’m always a big fans of tower defense style action game.

Recently found some that worth to try out:

Autobot Strong Hold [Play at here]

This game has free 50 stages to play with and the audio and graphics are awesome.

image

image

Canyon Defense [Play at here]

For this one, the graphic is so so. But it is a good time pass. You can also download this in iphone app store for free.

image

Robo Defense

For android lover, you can download this in the market. Very addictive game.

image

image

Optimus Prime: Sam, fate rarely calls upon us at a moment of our choosing.

Fate is in our hands, autobots transform …. and roll out!

Thursday, July 22, 2010

Color My World – Syntax highlighter

crayon

Finally found a syntax highlighter for my blogger site. It's called Syntax Highlighter [Official Site]. Duh!

Steps to enable syntax highlighter into your blog site:

1.  Go to Design > Edit Html  image

2. Find the syntax </head>.

3. Copy and Paste below statements BEFORE syntax </head> 

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/> 
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeRDark.css' rel='stylesheet' type='text/css'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPowerShell.js' type='text/javascript'/>
<script language='javascript'>
SyntaxHighlighter.config.bloggerMode=true;
SyntaxHighlighter.config.clipboardSwf=&#39;http://alexgorbatchev.com/pub/sh/current/scripts/clipboard.swf&#39;;
SyntaxHighlighter.all();
</script>
 
&nsbp;

4. If you’re using windows live writer, you can integrate syntax highlighter using Precode Code Snippet Manager plug-in [Download here].


image


5. Here is example of Syntax Highlighter in action:

         public void ConvertStringDecimal(string stringVal) {
decimal decimalVal = 0;

try {
decimalVal = System.Convert.ToDecimal(stringVal);
System.Console.WriteLine(
"The string as a decimal is {0}.", decimalVal);
}
catch (System.OverflowException){
System.Console.WriteLine(
"The conversion from string to decimal overflowed.");
}
catch (System.FormatException) {
System.Console.WriteLine(
"The string is not formatted as a decimal.");
}
catch (System.ArgumentNullException) {
System.Console.WriteLine(
"The string is null.");
}

// Decimal to string conversion will not overflow.
stringVal = System.Convert.ToString(decimalVal);
System.Console.WriteLine(
"The decimal as a string is {0}.", stringVal);
}


If you don’t like to use the plug-in, you can directly surrounding your code snippet with <pre> </pre>, example:

<pre class="brush: js">     
/** * SyntaxHighlighter */
function foo()
{
if (counter <= 10)
return; // it works!
}
</pre>

Last, Welcome to my colorful world!

Saturday, July 10, 2010

Anders Hejlsberg

Visual Studio 2010 Professional , Premium and Ultimate features comparison

image

image

image

Source: Microsoft Visual Studio 2010

天使的祝福

child-angel-field-625a

一。传说,
一个女孩的诞生,也意味着一个天使的诞生。
天使的使命是守护着女孩。

二。蜕变
女孩也长大了,变成少女。
天使还是继续默默守护着少女。

三。情愫
天使由守护,变成了爱慕。
天使已经爱上了少女。

四。心蚀
少女恋爱了。
少女已不需要天使的守护与祝福。
少女已经找到了自己的幸福。

五。诅咒
伤心的天使不再守护,不再祝福少女。
天使发现自己已经不能守护少女了。
失去了守护能力的天使,是一种诅咒。

六。幻灭
天堂是没有眼泪的。
天使的眼泪,代表着天使的终结。
流泪的天使,注定要消失。
消失前,天使献上了最后的祝福,愿少女永远幸福。

七。新生
原来天使并没有消失。
天使的终结,代表一个男人的诞生。
男人会找到他所爱的女孩。
男人会永远守护着女孩,让女孩幸福。

The Road Not Taken

decision

Robert Frost (1874–1963).  Mountain Interval.  1920.

The Road Not Taken

TWO roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;     

Then took the other, as just as fair,
And having perhaps the better claim,
Because it was grassy and wanted wear;
Though as for that the passing there
Had worn them really about the same,  

And both that morning equally lay
In leaves no step had trodden black.
Oh, I kept the first for another day!
Yet knowing how way leads on to way,
I doubted if I should ever come back.   

I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I—
I took the one less traveled by,
And that has made all the difference.

Friday, July 9, 2010

Breathe new life into your laptop: Windows Server 2008 R2 as workstation

image

Forget about Windows 7 and Windows Vista, Windows Server 2008 R2 is the new bad boy for your laptop.

It runs blazing fast ,uses less hardware resources and more robust. It also equips with lots of server features such as Hyper-V, IIS 7.5, PowerShell 2.0, etc.

Best of all, it is x64 bits OS (Don’t worry, your old faithful x86 apps will still run as normal).

To run Windows Server 2008 R2 as workstation on your laptop, some customizations are needed:

  1. Install graphics and sounds drivers after installation.
  2. Enable Wireless networking
    • Click on Server Manager image besides your windows start button.
    • Inside Server Manager window, click on ‘Features’ at left panel image .
    • After that click on ‘Add Features’ at right panel image .
    • Inside Add Features Wizard window, checked ‘Wireless LAN Service’ if it is not installed. image
  3. Enable Windows Audio, Windows Media Player and Windows Photo Viewer.
    • Inside Add Features window (same as above), checked ‘Desktop Experience’ if it is not installed. image
    • After that, at Administrative Tools menu, click on ‘Services’ image .
    • Inside Services window, start ‘’Windows Audio’ service if it is not started. image
  4. Disable Internet Explorer enhanced security
    • Inside Server Manager windows (refer above step 2), click ‘Configure IE ESC’ at Security Information right panelimage
    • Click ‘Off’ radio button image
  5. Enable hibernation
    • Open a command window by typing ‘cmd’ in Run menu.
    • Inside command window, type ‘powercfg.exe –h  on’    image
    • Click on power icon at lower right of your desktop (A.K.A systray) image . Click on More power options.
    • Inside Power Options window, click on ‘Choose what closing the lid does’ image
    • Choose ‘Hibernate’ from drop down for ‘When I close the lid’ image
  6. Disable Shutdown Event Tracker
    • At Run menu, type ‘gpedit.msc’.
    • Inside Local Group Policy Editor, navigate to Computer Configuration>Administrative Templates>System image
    • Click on ‘Display Shutdown Event Tracker’ at right panel  image
    • Inside Display Shutdown Event Tracker window, click ‘disable’ radio button image
  7. Enable image thumbnails preview in windows explorer
    • At Run menu, type ‘SystemPropertiesPerformance’.
    • Inside Performance Options window, checked ‘Show thumbnails instead of icons’ image
    • Open windows explorer, then at menu bar choose Tools>Folder Options
    • Inside Folder Options window, unchecked ‘Always show icons, never thumbnails’ image

 

Now, stop drooling and start take action to give your old laptop a second life!

ServerUnleashed

Alicia Keys - Empire State of Mind, No one (South Africa 2010 FIFA World Cup)

Shakira - Waka Waka (South Africa 2010 FIFA World Cup)

Wednesday, July 7, 2010

Kick Ass - Time to go home scene

Kick Ass - Big Daddy warehouse shootout scene

Kick Ass - Hit Girl Rescue Scene

Ryan Dan - Tears of an Angel

Kaci Brown - Make you love me

Kaci Brown - Unbelievable

Bonnie Mckee - To Find You

DramaMC - Ice Ice Baby Mash Up

Bonnie McKee - Somebody

Egu-Splosion

Hamutsun Serve

U-Min

Baek Ji Young - Sarang An He

Jit Teun - Kyotte

Texas - Put Your Arms Around Me

Natalie Imbruglia - Shiver

Natalie Imbruglia - Counting Down The Days

Natalie Imbruglia - Beauty On The Fire