This will probably be one of the Android code snippets that I will need to go back to from time to time. I’m sharing the codes we need to show an Android confirm dialog to prompt the user to click “yes” or “no”, or in my case, “OK” or “Cancel”. The following code for Android […]
programming
Android Studio dark theme (change into Darcula theme)
You might feel more comfortable with a dark theme in Android Studio, but the default theme is light in color. I’m one of the developers who always code in dark screens since it’s less tiring to the eyes. If you’re like me who prefers dark themes while coding, then I’ll show you how to change […]
How to change app name in Android Studio
I’m trying to learn how to build a simple app in Android just to satisfy my curiosity. This will also be a very handy skill because I use Android phones often, and there are times that the apps I download from Google Play Store lack features that I need. This will be a very simple […]
Google Maps get coordinates on click or drag and drop
With this tutorial you’ll see how we can place a Google map with search box on your web page, and then get coordinates (i.e. latitude and longitude) based on where you click or where you drag and drop the marker into. The JavaScript API of Google Maps will help us achieve this. This kind of […]
Log the date & time each time you turn on your Windows computer
In the morning, I sometimes forget the time I log into the time-tracking system in my workplace so I stay a bit longer to make sure I don’t get an “undertime”. I thought that my computer at work could help me with this issue somehow. I hoped there was a Windows program that can record […]
How to make a basic “Login via Facebook” with PHP & JavaScript
You’ve seen how some popular websites let you register or login via Facebook — Pinterest, Vimeo, Lifehacker, and many more. In this blog post, I’ll show you the very basic setup of the Facebook login button for your website. It is up to you to enhance the functions of your registration system. Note: There are […]
SSH: Basic usage of Shell Screen
If you are often running scripts in SSH, especially ones that have a long execution time, you might have experienced termination of your script before it actually finishes its task(s). Maybe you closed the terminal window by accident, or you lost Internet connection for a moment. What you can do is run your script persistently […]
Java: Strings
First off, if you are in need of a good Java programming reference book, I suggest that you try Head First Java. In this blog entry, basics in Strings in Java programming will be briefly discussed. Assumption: You have already set up your Java development kit on your computer. (Environmental Variables, paths, etc…)
Cobol Compilers free download: MFCICS, Microsoft Cobol 2.20, Cobol IDE
I used to have several Cobol compilers available for free download in my old blog, Poochycat.com. That blog has gone, months ago, I think. I’m putting up all those Cobol compilers in this post. 🙂
Assembly Language: a simple shop/store program
A small program I made a year ago in Turbo Assembler. It’s a shop displaying four items, each item having 9 stocks. The user is first prompted for which item he/she wishes to buy, for the quantity of the purchase, and if he wants to buy again. The program closes once the shop runs out […]