What are you looking for?
Press ESC to cancel
Sharing best practices
We believe the more you share the more you learn and learning never ends.
Mar 20, 2020
Scroll Image within a DIV tag with CSS
How to Scroll Image within a DIV tag with CSS. Preview and download the code form codepen.
Oct 04, 2017
HowTo: Find all links on a page with PHP
While working on a project, I needed to find all links on a given page. This code will list all links specified in an anchor tag on a given page URL.
Sep 28, 2017
PHP - Flatten or Merge a Multidimensional Array
Here's a code snippet to flatten or merge multidimensional array. This is useful when we need to find if a value exists in any of the nodes in a multidimensional array.
Jul 02, 2017
How-To: Copy current directory path in Terminal
While working on multiple projects I always need to copy the current path of a directory in Terminal. I used to use the command pwd in the terminal which prints the current directory path in the
Jun 30, 2017
How-to: Get Current Url in PHP with or without Query String
In each PHP website, we need to find out the current URL of the page and here's the PHP code to find out the current URL of the page a user is browsing with or without the query string.
Jun 29, 2017
How-To: Create Easy Element Toggles with Data Attributes and jQuery.
While working on my latest WordPress plugin, I found myself using jQuery toggleClass on multiple elements and writing JS code for each was not at all a better solution. To fix this issue and keep
Jun 02, 2017
Sending email takes a long time on NGINX? Here's how to fix
I've recently switched our servers from Apache to NGINX. While testing our WP Form Builder Add-on, I found that my web server took pretty long time for the mail function to process, however, on the
May 14, 2015
Expand Images to parent DIV with jQuery and CSS
Working on a WordPress project where client demands all images within a post should extend and touch window borders, actually full-size images. The wrapper has a margin of 20px on both sides and it is
May 07, 2015
How-To: Create a Cron Job to start MySQL if it Stops
Sometimes server acts weird and stops some services due to any issue. I faced this issue with my CSSJockey.net WordPress demo sites server, where MySQL service stops after running the clean
Jul 17, 2014
How to create an easy to remember but super-strong password
Today we spend most of our time online, either on our personal computers, office work-station and most of the times on mobile phones. Today there's a web or mobile app for almost everything and
May 05, 2014
WordPress crashed while updating plugins?
Recently I was updating my plugins on my local server and somehow the page got refreshed and my WordPress installation got stuck at the following message:
Apr 24, 2014
Pure CSS Authentication Forms
Today's freebie is pure CSS authentication forms. I've been working on a project and created these forms in HTML and CSS so why not share the code. The zip file includes login form, register form