Sometimes when I tried to login to my WordPress websites I see a popup asking me to sign in. Well, I tried to enter my WP username and password but it doesn’t work. You can try “human” as username and “password” as its password. After...
Author: Habibie
Google Play and Apple Play Store Icon SVG Codes for Web Pages
The common way to display an image on a web page is showing image files by using <img src=”blabla.jpg”> tag. But the problem is image files are not good enough if you scale up the web page, you will see the pixels. It’s time to...
Preventing multiple same ElectronJS apps to run at single time
I am building an EelectronJS app and successfully release it as an executable Windows program. But the problem is when the app is already running, if I double-click again that .exe file, the second window of this app is running, but buggy. I don’t want...
How to change WordPress footer text with JavaScript
There is a common way to edit footer text of a WordPress site theme, it’s by modifying footer.php file. But if you got a new update of your theme, you will lose that, the footer reverted back to the original footer file. But if you...
How to : Camera Follows Player Smoothly in Unity3D
Hi, in this video I’ll share with you some useful C# script for your Unity3D game camera so your camera can follow the player’s movements smoothly. Watch this video:
How to switch between multiple cameras in Unity3D
Let’s say you have three cameras in your Unity3D scene. So how do you switch between them? In this video I will show you how to do that.
Ciihuy SMTP Bulk Mail Sender
I’ve made a web application called Ciihuy SMTP Bulk Mail Sender for sending bulk/mass emails with a single click. But I must say that: We do not collect your input data on our server from this page. However if you have a bulk mail job,...
Very Easy and Simple PHP Login and Logout Tutorial
Login and Logout is a must have feature if you are creating a website. In PHP, I can show you the basic method and mechanism of Login and Logout without any database, at this point. Watch the video tutorial here:
Easy JavaScript Custom Encryption and Decryption Engine
Hello again! I’ve created a simple JavaScript program that can encrypt and decrypt basic texts. Watch this: And of course, this is the source code:
Basic Unity and Client-Server Request-Response with PHP
In order to make our Unity game connected to the online world, it must be able to send requests to and get responses from our server. In this tutorial you will see the basic way to make our game able to communicate to PHP server...
Creating a Menu System that Hides and Shows Divs and Sections
Hi, This is a short tutorial about creating simple menu system that if you click a menu item, it will show a div and hide another divs. With using this system you can make a single page web app nicely. Watch the video here:
How to Export HTML Table to Excel File with JavaScript
Let’s say we have a huge data in an HTML table. Now we need to export it as an Excel file. What to do? Basically, we can select entire table, copy and paste it into a blank Excel document. Or, if we code it in...
How to create and send HTML email from Gmail
In this video tutorial I will show you how you can create and send an HTML email from Gmail. Here is the source of this HTML email:
Array of cities in JS and show it on a div
In this example, I have a bunch of city names as an array variable in JavaScript. Then I want to make a list of links for all the city names. Here I do it using jQuery: <div id=”kotas”></div> <script> var kotas = [ “Banda Aceh”,...
How to check is the device connected to internet or not in Android
With this simple snippet, we can check is the device is connected to internet or not: private boolean isConnected(){ ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); return activeNetworkInfo != null && activeNetworkInfo.isConnected(); } So this “isConnected()” returns true if it’s connected, otherwise it...
Listing image files in a directory and populate a ListView from it in Android
I have a directory in sdcard called “mydir” and there are lot of .png image files with another files. Then I want to list only that .png files and populate a ListView from it. I do it like this: String path = “/sdcard/mydir”; File directory...
Simple clickable Android ListView example
Follow this short tutorial to create a ListView in Android. First let’s create the list view element in our layout file: <ListView android:id=”@+id/lblistview” android:layout_width=”match_parent” android:layout_height=”match_parent” android:layout_marginBottom=”8dp” android:layout_marginEnd=”8dp” android:layout_marginStart=”8dp” android:layout_marginTop=”8dp” app:layout_constraintBottom_toBottomOf=”parent” app:layout_constraintEnd_toEndOf=”parent” app:layout_constraintStart_toStartOf=”parent” app:layout_constraintTop_toTopOf=”parent” /> Then in your Java file: lblist = (ListView)findViewById(R.id.lblistview); String[] items =...
JSON to Object and Array in Java
Try this snippet to convert JSON text into object and/or array in Java: JSONObject object = new JSONObject(jsontext); JSONArray array = jsonObj.getJSONArray(“somearray”); for (int i = 0; i < somearray.length(); i++) { JSONObject item = somearray.getJSONObject(i); String somevalue = item.getString(“somekey”); } jsontext is your JSON...
Listing all files in a directory in Android
Let’s say we have a directory in device’s storage called “mydir” and there are files inside it. By using this snippet we can list all names of that files and folders: String path = Environment.getExternalStorageDirectory().getAbsolutePath() + “/maktabamajaziya”; String downloadedbooks = “”; File directory = new...
Requesting permission in run time in Android
If we are making an app for Android greater than SDK 23, we need to request some sensitive permissions (for example, to write file in external storage) in run time. Here is a snippet to do so: if (Build.VERSION.SDK_INT >= 23) { if (checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) ==...