13 April 2008

BSOD (Blue Screen of Death) Screen Saver

BSOD Screensaver!

Hahah! this is cool! it actually emulates Microsoft BSOD crap, and it also emulates the windows bootup after a few minutes heheh.

Btw, it came from Windows Sysinternals
Get the download file here

or in my SkyDrive
Get the download file

Windows Live SkyDrive not available in Philippines? (eh! not for me)

















Windows Live SkyDrive

Windows Live SkyDrive, a free online storage service from Microsoft, just got better and bigger. They now provide 5 GB of storage space which is the same as offered by AOL XDrive.

By: Labnol
More reviews from SoftPedia

Anyway, as i've said, not available here in Philippines, well not for me. heheh. I just got it working here in my local machine. Though if you tried, you'll get a response "Not available in your region etc, etc.."

How I done it?
I just tried to login to SkyDrive using our server in UK and and it works! So I just copied the URL and pasted in my local browser and walla! I'm in! Thats it!

One bug i found in SkyDrive is after i pasted the URL and navigated in my local browser, the SkyDrive Desktop appears!! without my personal folders though, so you have to sign-in first before or after!

Cheers!

Hopefully soon, I don't have to do this anymore!

Thanks SkyDrive! Hopefully you'll come up with better plan!
and don't forget, Desktop version please ...

10 April 2008

A little class to help you with uri querystrings for Windows Forms



1public class URIQueryString
2{
3 string URIQuery = string.Empty;
4 Hashtable htURIQuerystring = new Hashtable();
5
6 public URIQueryString(string uriQuery)
7 {
8 this.URIQuery = uriQuery;
9 this.htURIQuerystring = Enumerate();
10 }
11
12 public Hashtable Enumerate()
13 {
14 Hashtable ret = new Hashtable();
15
16 // with HttpRequest object
17 //HttpRequest req = new HttpRequest(string.Empty, URIQuery, URIQuery.Substring(URIQuery.IndexOf('?') + 1));
18 //for (int i = 0; i < req.QueryString.Count; i++)
19 //{
20 // ret.Add(req.QueryString.GetKey(i), req.QueryString[i].ToString());
21 //}
22
23 // without HttpRequest object
24 string FullQuery = URIQuery.Substring(URIQuery.IndexOf('?') + 1);
25 string[] KV = FullQuery.Split('&');
26 for (int i = 0; i < KV.Length; i++)
27 {
28 string[] dat = KV[i].Split('=');
29 ret.Add(dat[0], dat[1]);
30 }
31
32 return ret;
33 }
34
35 public bool HasKey(string Key)
36 {
37 return htURIQuerystring.ContainsKey(Key);
38 }
39
40 public string GetURI()
41 {
42 return this.URIQuery.Substring(0, this.URIQuery.IndexOf("?"));
43 }
44
45 public void ChangeValue(string Key, string Value)
46 {
47 if (htURIQuerystring.ContainsKey(Key))
48 {
49 IDictionaryEnumerator dicEnum = htURIQuerystring.GetEnumerator();
50 while (dicEnum.MoveNext())
51 {
52 if (dicEnum.Key.ToString().ToLower() == Key.ToLower())
53 {
54 htURIQuerystring.Remove(Key);
55 htURIQuerystring.Add(Key, Value);
56
57 break;
58 }
59 }
60 }
61 }
62
63 public void RemoveKey(string Key)
64 {
65 if (htURIQuerystring.ContainsKey(Key))
66 {
67 htURIQuerystring.Remove(Key);
68 }
69 }
70
71 public string GetFullURI()
72 {
73 string ret = string.Empty;
74
75 IDictionaryEnumerator dicEnum = htURIQuerystring.GetEnumerator();
76 while (dicEnum.MoveNext())
77 {
78 ret += string.Format("{0}={1}&", dicEnum.Key, dicEnum.Value);
79 }
80
81 return GetURI() + "?" + ret.Remove(ret.Length - 1, 1);
82 }
83}

06 April 2008

A star, finally lights up again.

As for my another task given from my father, and a guide from my brother, I'm proud to say, my task is complete.


To you, you blessed one.
Now that your pain in your soul is gone, be happy and be free.
You have your new gift from your father, so take good care of it.
Be strong, your brother is always there to guide you.