Sunday, December 11, 2011

Clearing Squid Cache

I've some squid servers running on linux vps(s). 
Sometimes, I faced the problem with either squid cannot cannot process anymore or it runs too slow because of Squid Cache. Here's the quick way to clear the squid cache. 


log on to you server or machine. 


Shit it down the Squid first. 


squid -k shutdown 


And remove the old squid cache. 


rm -f /var/lib/squid/cache/*


Initialize the new directory by running


squid -z 


Then starts the Squid again .


service squid start
 Anyway, you can do 'squid -z' directly without doing the earlier steps of clearing the files but it creates the new cache directories. It will not remove the old cache.
 

Monday, July 18, 2011

စာမရေးပဲ သီချင်းတွေချည်း တင်နေတာ ကြာပါရော့လား .. ကြာတော့ ကိုယ့် Blog လည်း သီချင်း blog ဖြစ်တော့မယ် ထင်ပါ့...

ကြားရက်မယ်  အလုပ် ၊ အိမ်ပြန်လာတော့လည်း ဟိုလှည့် ဒီလှည့်နဲ့ ပါတ်ရှုပ်နေပါရော ။


August 9,  National Day Parade အတွက် အပါတ်စဉ် စနေနေ့တိုင်း Marina ကို သွားပြီး Rehearsal လုပ်ရပါတယ်။ Facebook NDP page မှာ ဘာတွေ လုပ်ကြသလဲ ကြည့်လို့ရပါတယ်။

အဲဒီနေ့အတွက် Army , Navy, Air Force, Civil Defense, Police, National Cadet Corps, Nanyang Polytechnic, စသဖြင့် အစိုးရ ၊ အရပ်ဘက် အဖွဲ့အစည်း မျိုးစုံကနေ ပါဝင်ကြပါတယ်။ mobile column မှာ နောက်ဆုံးထွက် Leopard Tank , Motorized Infantry Battalion စတဲ့ ဟာတွေကို Story Line တစ်ခုနဲ့ ဇာတ်လမ်း ဆင်ထားပါတယ်

နောက်ဆုံးမှာ Firework တွေနဲ့ အဆုံးသတ်ပါတယ်








( Photo are from NDP Facebook Photos by Fans )

သူများ တကာ စနေ့နေ့ Holiday ပေမယ့် ကိုယ့်မယ် မိုးလင်းကနေ မိုးချုပ် လုပ်ရတာ. အိမ်ပြန်ရောက်တော့ သန်းခေါင်ကျော် ..

ဆရာမ ဂျူး ရဲ့ စာလေး ဖတ်မိတော့မှ ..

    လူတိုင်းလူတိုင်းဟာကိုယ့်ဒဏ်ရာကိုပဲမြင်နိုင်ကြတာပဲ ကိုယ့်အဖြစ်ကိုယ်မှဆိုးလှပြီလို့ ထင်နေကြတာချည်းပဲ (ချစ်သူရေးတဲ့ကျွန်မရဲ့ညတွေ)

 အင်း .. ငါ့ထက် ဆိုးတဲ့ သူတွေလည်း ရှိပါသေးတယ် လို့ .. Monday Off ပြန်ရတော့တော့ မဆိုးပါဖူးပေါ့လေ ..



ဂျူးစာအုပ်တွေကို အရင်တုန်းက ဆရာ တက္ကသိုလ်ဘုန်းနိုင် ၊ မင်းသိင်္ခ ၊ တာရာမင်းဝေ ၊ မင်းခိုက်စိုးစန် စတဲ့ သူတွေရဲ့ ebook , paper-back စာအုပ် ရသမျှ ရှာ, ဝယ်ပြီး ဖတ်ဖြစ်သလို ဖတ်မိတယ် ..

ဒီလိုနဲ့ တစ်ပါတ် ပီးပြန်ပါရောပေါ့

Saturday, June 18, 2011

Always be with you


If even there's Tomorrow we're not together, there's something you must always remember.

You are braver than you believe , stronger than you seem, and smarter than you think.

But the most important thing is, if even we're apart,.. I will always be with you.



I just saw on fb accidentally. it's nice.

Saturday, June 4, 2011

I love you this Big

it'd be my 200th post of this blog ..

I am stuck with Army and I miss my love ones. and under stress.
However, the world is more beautiful if you can think positively.
let's forget the past, the bright future is coming ahead. and I am with you :)

and I LOVE YOU THIS BIG




I love you this big
Eyes have never seen... this big
No-one's ever dreamed... this big
And I'll spend the rest of my life
Explaining what words cannot describe but, I'll try
I love you this big

just dedicated to you my girl. =)

Saturday, May 14, 2011

Google I/O 2011 : Fireside Chat with Google Android Team

Fireside Chat with the Android Team

 

Dan Bornstein, Debajit Ghosh, Dave Sparks, Xavier Ducrohet, Jeff Hamilton, Andrew Stadler, Dan Morrill, Dianne Hackborn, Rebecca Schultz Zavin, Chris Di Bona, Ficus Kirkpatrick.
To check detail about Android Team personal. 
http://www.google.com/events/io/2011/sessions/fireside-chat-with-the-android-team.html


 

Some cool questions about the Fireside chat ( via AndroidCentral )  
I filled up objectively some links about the terms you might be confused or haven't known yet. 



Question: Will developers have access to the new cloud music player, and will we be able to write apps that can play music from the cloud?
Answer: The Android team doesn't know.  (Seriously, there's no BS involved here.  The Android team is very forthcoming, and tells it like it is.  Refreshing.)

Question: Will Android and Chrome ever merge?
Answer: Bring that up at the Chrome team fireside chat (with a big grin)

Question: Any plans for an Android app layout tool?
Answer: Yes, an official one is in the works now. (All the developers cheered)

Question: Any plans on better support in official Android support forums?
Answer: The team agreed that more is needed.  Tim Bray says they will all try to blog more, and that they need to teach the teachers and provide a more seamless interface with the end user. Huzzah!

Question: What about a better Android emulator?
Answer: We're working on it.  Not a lot to announce at this time, maybe we'll get to see a demo tomorrow (May 11) at the developers tools breakout session. (Again, cheering)
Information: The Android mascot's official name is bugdroid.  Lloyd, however, is still Lloyd.

Question:  When will the Android Market open more countries outside the US to carrier billing?
Answer: We're always looking for ways to integrate with more carriers.  We want paid apps available to as many people as possible.

Question: Will Google ever release a handset that runs completely on open-source software?
Answer: The Nexus S is that way with most of its components.  We're working with chipset vendors for the rest.  You can build a 100 percent working system from AOSP and have all hardware supported.  Software like radio interface libraries are transparent to Android (meaning they do nothing with them, or special for them, they need to just work with the system as-is).  They went on to say this is not the kind of war you can win, it's better than it was two years ago, and even better than just last year.
 
Question: Are there plans to allow apps bigger than 50 MB on the Market? 
Answer: Yes. Be sure to come see us tomorrow (May 11)

Question: Honeycomb source -- will it ever be released? (And no, it wasn't me who asked, but I was in line to :) )
Answer: Because of the way GIT works, all the changes will be available eventually.  But when asked if there will ever be a branch folks can download and build, or if they ever plan to release something for the current legacy tablets, the answer was "Ask us in Q4." (which happens to be the target for Ice Cream Sandwich.)

Question:  What are the challenges to have a full Chrome browser for Android?
Answer: There is no version of Chrome for Android.  There would be too many challenges, ask the Chrome guys.

Question: Are there any plans of open-sourcing Google Apps?
Answer: That's a no.  There's too much IP that's important to Google, and if the products are open-sourced there is no leverage to make sure hardware partners build fully compliant devices.

Question: Any chance for Android Market gift cards?
Answer: That's something were looking at.
I told you this place was Android Geek heaven

To download the video ..
http://cloud.mmdroid.com/6lmJ ( part1 - 97 MB )
http://cloud.mmdroid.com/6l9e  ( part 2 - 97 MB )
http://cloud.mmdroid.com/6kff  ( part 3 - 34 MB )


Cheers!

Saturday, April 16, 2011

ကျွန်တော်နဲ့ သနပ်ခါးပွင့်ကလေး

စစ်မက်ပြိုင်မိုး
ကြယ်ကလေးတွေ စီချင်း မထိုးကြပါနဲ့။

မိုးချုပ်အိမ်ပြန်
လမင်းကို ပန်တဲ့ မိန်းကလေး
ငြိမ်းချမ်းရေးနဲ့ အိပ်စက်နေလို့ပါကွယ်။

တာရာမင်းဝေ

http://www.poemscorner.com/post-type/myanmar-poems/964