Loading

Paid 420k Yen (approx. 4600 USD) to Embassy for the so-called tax, to extend the passort

Paid 420k Yen (approx. 4600 USD) to Myanmar Embassy for the so-called tax, to extend the passort.

Detail: 10k Yen per month for 3 year and few months => 420k Yen


420 000 Japanese yen = 4 679.22 U.S. dollars


I asked Chinese, Indians, Phillipinos, even Bangladesh, they don't have such things.

So this kind of tax is only for Myanmar Citizens who working in foreign.

NTT Sucks!!!

NTT Sucks!!!

They recently blocked almost everything for internal internet, which includes google search, yahoo search, even stackoverflow. Damn it!

#Memo - Feb 1 ~ Feb 2


Some snow in Tokyo

#Memo - Some Quotes

"When people are lame, they love to blame."


"Inside of every problem lies an opportunity."


"You have to be smart. The easy days are over."

CopyPasted from Ko Ei Maung's Post

Writing Proxy Server for particular site in PHP with one line (HTTP GET only)

I cannot get access to stackoverflow today again.

So here it is tiny proxy server for http get request, I've written today.

<?php echo preg_replace('|"\/|','"/?x=',file_get_contents('http://stackoverflow.com/'.$_GET["x"]));?>

Cheers,

Memo# Couldn't get access to stackoverflow.com

I couldn't get access to stackoverflow.com almost all the days (only about an hour in the evening, its fine)

- downforeveryorjustme says its down there too
- but just-ping says its almost fine from most place
- it could be my company banned it for local machines
- superuser and serverfault got banned page, but stackovflow and meta aren't, just got
The remote server refuses to perform the request. This address is not available.
- I got it works around 1 hours with Opera Turbo.
- It could be my company banned Opera Turbo too, but some others site like whatismyipaddress.com are fine with Opera Turbo
- Or Stackoverflow banned Opera Turbo? may be because of high traffic on same ip (because its shared by many users?)
- I got 1 hour ok, so its mean banning is not permanent, may be just for few hours for high traffic?

still no clue till now. hopes it will be ok later. or I need to tunnel something with my servers.

Memo# Loop with index in Ruby (alternative to enumerate in Python)

irb(main):033:0* d={"a"=>"x","b"=>"y","c"=>"z"}
=> {"a"=>"x", "b"=>"y", "c"=>"z"}

irb(main):052:0> d.each_with_index{|(k,v),i|puts "key: %s, value: %s, index: %i"% [k,v,i]}
key: a, value: x, index: 0
key: b, value: y, index: 1
key: c, value: z, index: 2
=> {"a"=>"x", "b"=>"y", "c"=>"z"}

PowerShell - Scripting with Windows PowerShell

http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx

I just gave it a try. most of linux commands are implemented as alias.

and there is regex, array, lots of things there.

to do a text analysis for english its very easy to do like this

it will count words, lines, characters,

cat alice.txt | measure –word –line -character

 Lines                         Words                     Characters
 -----                           -----                       -------------
     4                           137                              707

Nice huh? you should give it a try.

က်ေနာ္ဖတ္ေသာ အျခား ဘေလာ့ / ဆိုဒ္မ်ား