Chinese New Year is around the corner. For the hungry souls in NTU, the following is the opening hours of various canteens and stores in NTU. To all, have a happy Chinese New Year ahead!
Have you ever been curious what commands you use most in Linux shell?
The following command helps you do just that.
1 |
history | awk '{if ($2=="sudo") {CMD[$3]++;} else {CMD[$2]++;} count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20 |
Transferring websites is never an easy task. Transferring WordPress sites is just a pain-in-an-ass. And the best part? You’ll never know it until you encounter it.
I encountered this “There has been an error cropping your image.” error in WordPress when I tried to crop an image for theme header.
The solution is surprisingly easy.
sudo apt-get install php5-gd
This will install the PHP GD library for image processing.
Update: You may need to restart apache server for it to come into effect.
Source: https://wordpress.org/support/topic/image-issues-cropping#post-6230879
A yearly ritual in summarizing my impression on the modules taken during the period. See also: Modules Taken during NTU Year 1 Computer Science, AY2013/14.
You have been warned, the recent 5.0 upgrade for Android app Google Calendar is a major revamp. It removes month view from phone, and also for week view and day view, you no longer can “zoom out” to see the overall availability.
Scheduler for Engineers
Setting:
Class 3 Manual,
Self-learn theory,
practical learn through Private Driving Instructor.
Failed once, passed on the second time.
We have all become like…
Bible is the word of God.
God’s word has different styles:
harsh, gentle, intense, subtle…