Shibuya Crossing

After always seeing this scene in drama, documentary and anime, I finally saw it for myself!

I can cross ‘Shibuya crossing’ off my bucket list now.

p/s: Excuse the temperamental exposure during the recording. My phone is as excited as I am, I guess.

Bonus: Slow-motion capture of sushi making.

Bootstrap 3: Handling Modal within Modal

If you’re working on a web application built using bootstrap as it’s core framework, you might come across instances where there will be a need to have a modal window that is opened within another modal window. Even though this is not really a good UX practise, there are instances where it is unavoidable.

Opening a modal within a modal is technically supported with just the bare Bootstrap code, but take note of this caveat:

Overlapping modals not supported
Be sure not to open a modal while another is still visible. Showing more than one modal at a time requires custom code.

Continue reading Bootstrap 3: Handling Modal within Modal

Renewing Lapsed Motorcycle Road Tax Experience

Following on my post about how to renew lapsed motorcycle road tax, I finally managed to get it done. However, my experience is not exactly smooth, due to one overlook and some unexpected turn of events.

What is this ‘lapsed motorcycle road tax’?

Basically, once your road tax expires, you have a grace period of one year from the road tax’s expiry date to renew your road tax. Once you go over this period, you will have to have your vehicle inspected before you can renew your road tax again.

Continue reading Renewing Lapsed Motorcycle Road Tax Experience

Note to self: “env: python\r: No such file or directory” error

On one of the Python project we are handling at work, it always spit up this error when we try to directly run the .py file:

$ ./manage.py runserver
env: python\r: No such file or directory

At first I thought it was that my PATH is botched up. But the other Python apps are running perfectly fine.

Continue reading Note to self: “env: python\r: No such file or directory” error

Note to self: How to create new database and user in MySQL

Note: These ‘Note to self‘ series of posts are mainly for me to remember stuffs that I always forget. It might be handy to some, however.

Okay Ross, here’s how you create MySQL user and assign him/her to a specific database.

$ mysql -uroot -p
 
mysql> CREATE DATABASE 'DATABASE_NAME';
mysql> GRANT usage ON *.* TO 'USER_NAME'@'HOSTNAME' IDENTIFIED BY 'USER_PASSWORD';
mysql> GRANT ALL privileges ON 'DATABASE_NAME'.* TO 'USER_NAME'@'HOSTNAME';
mysql> FLUSH privileges;

Monosaurus: One-page Responsive HTML5 Template

Monosaurus is originally a template that I made in order to quickly start any one-page website. This includes some kind of microsite, event site, or a portfolio site. I thought of putting this template out in the wild and hopefully it will benefit some people out there.

Continue reading Monosaurus: One-page Responsive HTML5 Template