TinyMCE is a rich-text editor that helps convert the HTML textarea element into a WYSIWYG editor. While working with it recently, I noticed that it doesn’t work well with AJAX out of the box. This article explains the problem and provides a solution.
Backend (Server-Side)
I code in several different programming languages and I post content relevant to the different languages on this website. Software development tools and languages evolve very dynamically. What's hot today may be forgotten tomorrow. So, categorizing my content based on language is not very practical. Instead, I use client-server labeling to categorize my work with various programming languages. This section holds content that I consider to be back-end (or server-side) programming.
IP Address Lookup Tool [With Full Source Code]
Use this IP address lookup tool to find detailed information and geolocation of any IP address. Besides being a functional IP lookup tool, this page also provides the full source code for the tool. To lookup an IP, just type it in and press submit.
Meaning of Pss in /proc/PID/smaps (and some extra memory info)
If you have ever tried to figure out why Linux is running low on memory, you will agree that the memory usage information provided by the kernel is not easy to understand. This post explains what Pss means in the /proc/PID/smaps file.
Remove WooCommerce Page Title From Shop Page (But Leave On Archive Pages)
The title “Shop” shown on the WooCommerce shop page is just plain ugly in my opinion. Especially if you use the WooCommerce shop page as your site’s homepage. Here’s how to change/remove it from the homepage without affecting other archive pages.
Javadoc {@link} versus @see
Javadoc is used to generate API documentation in HTML format using Java code. Developers are sometimes confused about which type of link annotation ({@link} or @see) to use within their API documentation. This article clarifies this.
Adding Excerpts To Pages In WordPress
WordPress posts by default have an excerpt meta box where you can manually type in a custom excerpt. Pages don’t have this feature out-of-the-box. If you would like to enable excerpts on your WordPress pages, use the code in this post.