Author Archives: Kymair

About Kymair

A simple guy living in Zhuhai, likes reading, not go out often.

Backup your server data to Dropbox

Though personal blogs are not that serious comparing to your account data in the bank, it still worths some backup. Linode does offer sophisticated official backup service starting from $5 per month, however if your website doesn’t have huge traffic … Continue reading

Posted in Hosting | Leave a comment

WordPress 3.0 is out!

WordPress 3.0 “Thelonious” You may already know this, WordPress 3.0 is finally coming out! The new default theme called Twenty Ten is so sexy, and the admin page is just gorgeous as well!! Needless to say too much, please go … Continue reading

Posted in WordPress | Leave a comment

How am I connected to Twitter

My arsenal has Twip, Tweetie, Dabr and Metrist and Nginx. Twip is a simple script written in PHP which redirects HTTP request from user to Twitter official API endpoint, as long as you have a web hosting in U.S, you … Continue reading

Posted in Web | 1 Comment

MoinMoin + Nginx

Recently I’ve done quite a lot times of setting up LNMP(Linux + Nginx + Mysql + PHP). During this I notice there’s not much resource on the internet talking about the installation of MoinMoin on Nginx, so here’s what I’ve … Continue reading

Posted in Web | 1 Comment

If your company blocks port 22

Hmm..Then you won’t be able to access your own public server via SSH. Here’s a simple way to work around it. Just re-bind the sshd daemon of your server to port 443. # sed -i ‘s/Port\s22/Port 443/’ /etc/ssh/sshd_config # /etc/init.d/ssh … Continue reading

Posted in Hosting | Leave a comment

My First Time to modify .class file directly

I’ve been implementing a email dispatching and archiving program recently. To avoid reinventing the wheel, I simply did several searches on Google, one open source software called MailArchiva can get the archiving job done perfectly. It is built to support … Continue reading

Posted in Development | 1 Comment

Go ahead Chrome

Now I’m totally a Chrome fan. Speed is the very first thing Google has been always looking for, Firefox apparently is not fast enough. Let’s make the web faster! Chrome is surely one of the most important part. If it … Continue reading

Posted in IT | Leave a comment

Tabs Vs. Spaces

Yesterday I came across a weird problem which took me a whole day to troubleshoot but without luck. Speaking simply, one YAML configuration cannot be parsed due to whatever ParserException.. Alright this morning, I finally got it solved by editing … Continue reading

Posted in Development | Leave a comment

How do you get things done

Eventually I discovered the importance of being well organized by doing those things I hated to do before: make notes and manage to-dos. What I’ve got is a iPod touch, though there can’t be internet connection anytime anywhere, one sync … Continue reading

Posted in Thought | 2 Comments

Use ‘import static’ to simplify your code

To write very robust and safe code, you should always treat the client as a potential attacker, a bad guy. Consider he will do his best to break your function with invalid arguments.Therefore the good practice is, always validate the … Continue reading

Posted in Development | Leave a comment