For a web developer who used mostly PHP and JavaScript for several years, plunging into Java can be challenging especially when it comes to data types. PHP and JavaScript are loosely typed languages, while Java is strict about types. I was told that in Android, List<String> is very commonly used, even more than arrays. And […]
Technology
Android confirm dialog box with OK and Cancel button
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 […]
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 […]
CCNA V5 Curriculum Download – Portable Offline Study (Routing & Switching)
An older blog post about CCNA Exploration 4.0 Curriculum was one of my most popular pages in this site. A guest requested that I share CCNA V5 Curriculum Download links here for Routing and Switching, and I decided to try to fulfill such request because I think this will help a lot of people who […]
SSH without password: PuTTY or Git Bash
We access remote Linux servers everyday from our Windows computers. Having different servers for different projects, it can be difficult having to enter the passwords over and over in everyday. And so, I suggest that we use SSH Keys instead for authentication to save us some time and boost productivity. SSH keys should also make […]
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 […]
How to install Laravel 5 in Windows with XAMPP
This short tutorial is based on my own installation of Laravel 5 on XAMPP that is running on Windows 7. In this Laravel 5 tutorial, you will need: Composer – click here for installation instructions command prompt Internet connection XAMPP There have been major changes in the following: New Folder Structure, Contracts, Route Cache, Route […]