Sometimes when trying to log in MySQL as root user using mysql -uroot -p
, the user account after login(select current_user()
) is actually “@localhost”, without permission to do anything in the database. The user may only see very few databases. Why is that and how to solve the problem?
Continue reading
When migrating to a new blogging system, one important is to migrate the comments in the posts. If you use Disqus as the comment system, you can use one of the three migration tools they provide to do the job. You can find the three tools through Admin -> Setup -> Migration tools.
Continue reading
This is my course project for CS290I(Mobile Imaging) in UCSB. The goal is to detect and recognize user-defined gestures using the camera of Android phone. A demo Android app that lets the user launch other applications using gestures is developed to show the real time performance.
Continue reading
How do we align multiple images on the same line in the TranquilPeak Hexo theme, especially when the images have different aspect ratio? Also how do we make sure that the aligment won’t be broken if the browser window is resized?
Continue reading
Yet another test on different elements of a markdown file.
Continue reading
Check out how Tranquilpeak theme display well HTML elements (title, paragraph, blockquote, table and more..). It’s simple and elegant.
Continue reading
A hello world test.
Continue reading