Skip to content

ThirteeNov

My personal blog about coding and internet

Menu
  • About me
  • About Zofia Kreasi
  • Cart
  • Checkout
  • Making an airplane game from scratch in Unity
  • My account
  • Privacy Policy
  • Privacy Policy – zkLeaderboard
  • Sample Page
  • Shop
  • Tutorials on Learning JavaScript
  • ZKAccounts – Privacy Policy
Menu

How to generate random text using JavaScript

Posted on April 27, 2018August 4, 2020 by Habibie

In this post I’m going to share a JavaScript function, if you call it (and assign some number as length of randomized text you want), it will return random text.

Read more

JavaScript codes to only accept alphabet letters and numbers from your users

Posted on April 27, 2018August 4, 2020 by Habibie

Sometimes we ask our users to type in something and we only accept alphabet numbers and/or letters, so they should not type something like #$%!@$&%(…

Read more

Picking an Image and Taking Photo in Android – Java source code

Posted on April 27, 2018August 4, 2020 by Habibie

This is Java source code for Android, providing you with two functions: to take a photo using camera and to pick an image from gallery.

Read more

Getting user’s latitude and longitude in Android – Java source code

Posted on April 26, 2018August 4, 2020 by Habibie

In this example, user’s device is showing it’s current latitude and longitude every 5 seconds. Coordinates are displayed inside Android Toast.

Read more

Pick an Image from Android device and upload it to server using PHP

Posted on April 25, 2018August 4, 2020 by Habibie

To upload an image from Android device to online server using PHP, first we need to create a PHP script to handle “post” request and store the image to a folder. So write this simple script on your server:

Read more

How to make Android’s WebView opens a link inside or outside current app?

Posted on April 24, 2018August 4, 2020 by Habibie

Initially if we use a WebView in our Android app, if there is a link and we click it, an intent manager is being called and asking how do we want to open that link. But we can manage it to open that link inside current that WebView or regular web browser.

Read more

How to create an HTML input box with search icon inside it?

Posted on April 23, 2018August 4, 2020 by Habibie

We can make an interesting search input by styling it with css, by adding search icon like what we see in this image:

Read more

JavaScript Table of Contents Generator

Posted on April 23, 2018August 4, 2020 by Habibie

I had a project to create table of contents of huge text files with .html format, it was thousands. Then I’ve developed a JavaScript Table of Contents generator that detect some text to be included as TOC.

Read more

Trim a text and show an ellipsis instead full text with CSS

Posted on April 22, 2018August 4, 2020 by Habibie

In case we have a div element with fixed width, for example 100 pixels, and we only want to show an excerpt of text instead showing full text, let’s use this simple css trick.

Read more

How to use zklevedit (tile and level editor for Phaser)

Posted on April 11, 2018August 4, 2020 by Habibie

I’ve created a kind of level and tile editor for making games with Phaser. Please watch my video tutorial about how to use it here:

Read more

Phaser basics and useful snippets

Posted on March 28, 2018August 4, 2020 by Habibie

Phaser is a really good JavaScript library for creating games that you can play it in web browsers. In this post I’ll share basic stuffs how to use Phaser.

Read more

Another Simple JavaScript Encryption

Posted on March 25, 2018August 4, 2020 by Habibie

Somebody asked me how to do an encryption just like if we type “a” it should return “d” (3 letters after “a” position).

Read more

Another example for find and replace using regex in Notepad++

Posted on March 23, 2018August 4, 2020 by Habibie

In case we have a long text contains a group of numbers followed by dot like 435. blabla, 4546. blablabla, 343432. a text… and we have it so much in a file in a single line text. Then we want to separate them like this:

Read more

Selecting any non latin characters in Notepad++

Posted on March 23, 2018August 4, 2020 by Habibie

We can select any non latin characters in Notepad++ by using regular expression.

Read more

Python useful snippets

Posted on February 28, 2018August 4, 2020 by Habibie

In this post you can find useful and frequently used Python snippets. Just copy and paste it!

Read more

How to use jQuery to perform a Quick Search

Posted on February 27, 2018August 4, 2020 by Habibie

In this post I’m going to share a source code for performing quick search functionality using jQuery.

Read more

How to save an image from html5 canvas

Posted on February 26, 2018August 4, 2020 by Habibie

With HTML5’s Canvas we can draw nice graphics. But how we can save it as an image? Of course we can right click on the canvas and download that image. But here I’m going to share a script to download it programmatically by a clicking a link.

Read more

.htaccess tutorial : Removing .php extension

Posted on February 22, 2018August 4, 2020 by Habibie

If you have a page with .php extension and you don’t want to show that extension in page’s url in address bar, you will need an .htaccess file.

Read more

A useful PHP function to use Google reCAPTCHA

Posted on February 20, 2018August 4, 2020 by Habibie

This one php function snippet can return true or false value after user submitted a form with Google reCAPTCHA in it.

Read more

PHP useful snippets

Posted on February 20, 2018August 4, 2020 by Habibie

This page is dedicated for a bunch of PHP useful snippets and codes that we often use it in web development.

Read more

Posts pagination

  • Previous
  • 1
  • …
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • Next
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Python
  • Uncategorized
  • Unity
  • WordPress

Recent Posts

  • Make objects like wires and cables easily in Unity using Ciihuy Curved Mesh
  • [SOLVED] Can’t Add Custom Domain to Blogger After Losing CNAME Verification
  • iOS App Icon Generator by CiihuyCom
  • Advanced Blinking Marker Script to show objects position in your game canvas
  • Ciihuy Images Merger – Fast & Easy Online Image Combiner
© 2025 ThirteeNov | Powered by Superbs Personal Blog theme