Author Archive for rockia
Studying Computing Engineering at Simon Fraser University, I am definitly a geek on technologies around me. From a child who can only destroy the clocks at home but not be able to assemble them back to a youth who’s crazy about computer technologies, and now finally on my way to my goal of life; I must say this is not easy and it’s a long path to walk on. School is still tough, and I have to admitted that it’s not easy, but whenever I have time, I will drop some words here.
LNMP 0.6 is out, but…
LNMP 0.6 is out, however, the software version didn’t got upgraded. One of the essential update of this compiler is the optimization of installation process. This update mainly increase the successful rate of installation and specially add a installation helper for Ubuntu. So my suggestion is that, if you have LNMP 0.5, just stick with [...]
PHP str_replace(): How to replace only one ordered occurrence for arrays
I am currently writing a script that requires the string to be replaced, the str_replace() function in PHP can take arrays as the parameters according to the PHP Manual: mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] ) This function returns a string or an array with all [...]
How to change Nginx file upload size limit
By default, the upload size limit of LNMP is 50MB, if you didn’t change the “client_max_body_size” while you set up the sever, you might encounter “IO error” if you want to upload file that’s over the upload limit. So, how do we make the change to increase or decrease the file upload limit? We have [...]
Sleepytime — Let the songs play while you sleep
Have you ever wanted to listen to music while you are in bed? Are you the type of person couldn’t sleep without music? You wanted to stick with music but don’t or couldn’t to turn off the music, because you are fallen asleep already? Well, here comes with the solution — Sleepytime on Macintosh. Sleepytime [...]
exFAT makes it easier to transfer files between Mac and PC
Background: Most of the people, especially the tech guys, won’t just stick to one system while they work. Take an example of myself, even I use Mac OS X most of the time, but when I need to transfer files to my friends, I might need to get in touch with Windows as well. To [...]
Easy Installation of LNMP 0.5 on CentOS, Debian or Ubuntu
A newer version of LNMP (Linux + Nginx + MySQL + PHP) has been released. The installation is pretty much the same as what I introduced on How to Set Up LNMP on Debian, CentOS or Ubuntu except the software version. To make it short, I just need to point out the difference here. In [...]
HyperDock — add more features to your dock on Mac OS X
Wondering if you can do more with your dock on Mac OS X? HyperDock is finally here to unlock them all for you. HyperDock adds long awaited features to your Dock: Select single application windows just by moving the mouse on a dock item, use mouse clicks to quickly open new windows and many more. [...]