Process pr = new Process(); pr.StartInfo.FileName = ""; pr.StartInfo.Arguments = "-r"; pr.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; pr.Start(); pr.WaitForExit();
Month: April 2016
Power of 2
x & (x-1) == 0
How to delete Windows.old Windows.~BT
takeown /F C:\$Windows.~BT\* /R /A icacls C:\$Windows.~BT\*.* /T /grant administrators:F rmdir /S /Q C:\$Windows.~BT\
Java feature/bug
1.
public static void main(String[] args) { System.out.println(Byte.valueOf((byte) 48) == Byte.valueOf((byte) 48)); System.out.println(Byte.valueOf((byte) 248) == Byte.valueOf((byte) 248)); System.out.println(Integer.valueOf(48) == Integer.valueOf(48)); System.out.println(Integer.valueOf(248) == Integer.valueOf(248)); }
Answer
true true true false
Personality traits
competitive
patient
lazy
reliable
affectionate
organized
sociable
shy
bossy
responsible
imaginative
hardworking
charming
self-confident
ambitious
aggressive
jealous
moody
manipulative
relaxed
spoilt
selfish