Skip to main content

Posts

Amazon EC2 instance with LAMP and Git and multiple Git collaborators

Brace yourself, this is going to be --long. I'm not going to explain a lot. I basically followed what was here , but procedures are outdated and can be confusing if you don't know what you're doing. I'm just going to give an overview of what's different from that page now:  When you launch a new EC2 instance, the wizard is now different. You will no longer have a choice between "Classic Wizard", "Quick Launch Wizard" etc. Select Ubuntu server 14.04 64-bit with HVM (not PV). Remember to add an EBS volume or expand the root volume. I don't recommend expanding root volume, but rather to use another volume to store your data. That way you can wipe you root volume and start over again without data loss. (I almost did, coz I stupidly sudo rm * in an important directory - but I managed to recover.) You won't be creating key pairs in the wizard itself. You will be asked to do so after you click on Launch to start up the instance. The proce...

Is the OnePlus 2 really the 2016 Flagship Killer?

Making a recording of the VR launch, watching it several times, watching many review videos and articles about the NEW OnePlus 2 has left me thinking and wanting to post my own two cents. First, watch the VR launch (non-VR version) if you haven't: Is the OnePlus 2 really the 2016 Flagship Killer? The answer is both Yes AND No . Yes, because it has some of the top hardware you can get. No, because it doesn't live up to the hype.

Install a flat file blog in a subfolder in an existing Google App Engine website

 NOTICE:  This post is not very useful as a guide. It is documenting the failures I encountered trying to set up a flat file blog in a subfolder in GAE. Read for your pleasure, but don't try to follow it. Google App Engine (GAE) allows you to set up a simple PHP website easily and for free with generous quotas - more than enough for a low traffic site. There are several guides on how to get one working . However, GAE works differently from traditional web hosting. Access is tightly controlled through app.yaml file; the static files and application files are separate from each other; and the application file system is not writable. As WordPress requires a MySQL database (chargeable under Google Cloud SQL), I looked for a flat file blogging alternative . Dropplets looks too simple and feature-poor. It doesn't have a comment system integration out-of-the-box, but Disqus can be added later. There is no rich text editor - plain text editing required in Markdown syntax....

Disable auto save in JetBrains IDE software (IntelliJ IDEA, PyCharm, PhpStorm)

JetBrains provides the following IDE software: IntelliJ IDEA PhpStorm PyCharm RubyMine WebStorm AppCode CLion Google also provides Android Studio which is powered by the IntelliJ platform. If you come from a different IDE such as Eclipse, you will be unpleasantly surprised to find that JetBrains-branded IDEs automatically save everything the moment you look away. The proponents argue that as you work on your project, you should not have to worry about saving files. But to others, this auto-save behavior which is enabled by default is a curse that catches them by surprise, and a shocking departure from the workflow they are very much used to. You can change the behavior by altering some settings.

WhatsApp voice call feature bans regular mobile network calls

With the recent introduction of WhatsApp voice call feature for their Android users (without requiring an invite from one of your friends who have the feature), the WhatsApp client has outright banned the use of regular mobile network to make calls through the app's interface. The WhatsApp developer team (now under Facebook) has decided to make it simply impossible to do what you used to be able to do in their Android client. Many users have found it very handy to place regular calls to their WhatsApp friends through the app's interface, but with this change, they are forced to take the longer route of going to their home screen, opening the phonebook/contacts list, finding the contact and making a regular call. Or perhaps the slightly better (provided you know about it) but still longer route of opening the "Contact info" screen in WhatsApp, choosing "View in address book" in the menu and making a regular call. Before the free calls were introduced, Wha...

How to clean up your Blogger Reading list

How to clean up your Blogger Reading list and stop following old blogs you no longer want to follow: If you tried to stop following blogs using the gear icon next to the Reading list in your Blogger home page, you will now get this error: We are unable to load your FriendConnect data at this time. We apologize for the inconvenience. Please try again shortly. There is no need to try again shortly, because FriendConnect was partially shut down in 2011 and this broke its integration with the Reading List feature of Blogger. Fortunately, there is another way to clean up your reading list and remove those antique blogs you no longer care about: Go to Google Friend Connect http://www.google.com/friendconnect/user/overview Click on one of the Settings links next to the blogs. A pop-up will appear. If it asks to sign-in, sign in with your Google account. If you had to sign in, the pop-up will close. Click on the Settings link again to re-open the pop-up. On the left side, click on ...

Setting up a local Oracle XE database and importing DMP file

The experience of setting up a local Oracle Express Edition database is not a straight-forward as it should be. The following is supposed to outline what could go wrong and how to go about it the right way. It also includes importing a DMP file (a dump) from another system. First of all, download the installer from Oracle website . You will need to sign-in to download - the account creation is free. Be sure to choose the correct bit as per your computer (x64 or x86). Extract the download and install XE by running DISK1\setup.exe (and feel nostalgic of the floppy disk era) . During installation, you will need to choose a new password. There will also be some details displayed after you enter the new password, such as folders and ports. Be sure to save both password and details in a text file for future reference. I saved it as C:\oraclexe\details.txt . Save password only if it's generic and you are likely to forget. The installation will take a while, but usually, no rest...