Sometimes you might wanna change the alert controller’s text alignment, let say, from center to right. Then following tip is for you. Just simply open a playground and run these code The most important thing is the key “attributedMessage”, an alert controller can change its text alignment value by using this key. References: [Gist]… Continue reading UIAlertController Text Alignment
Just for a reminder, here are steps as a note to let anyone who wanna install HHVM + Nginx + MySQL on Google Cloud Platform (a.k.a GCP) like me. So, here we go.
How to solve MySQL Error 1045(28000) when you try to login your SQL. To see how I solve this issue.
When you wanna setup dp value in you code instead of using that in you layout xml file. Then, how do do that?
In ubuntu system, sometimes you might need to add a repository in system source list and do some installation. But when you wanna try to use add-apt-repository, your system just said that it can’t find this command. In this situation, you need to use the following command to solve. Let your system have python properties.… Continue reading Why can’t add-apt-repository command?