
I’m trying to parse out an RSS feed for images. My original code grabbed the title, description, link, and pubDate just fine. I read a tutorial online on how to…
I’m trying to parse out an RSS feed for images. My original code grabbed the title, description, link, and pubDate just fine. I read a tutorial online on how to…
How do you monitor node.js instances on your server? I used to use the Forever package, but it has since been deprecated. PM2 is a great replacement and seems to…
I was trying to figure out a query to count the IP addresses I had in a table, tell me how many are the same, then delete duplicates only leaving…
When passing dates from a form to be saved in your database you sometimes need to change their format. For example a with a datetimepicker you want the format to…
To list all packages installed in Centos you run: yum -qa Just had someone ask what’s the equivalent to this command in Ubuntu, well here you go: apt list –installed
Had a request last week to create a shortcode that would output the current page URL within a post or page in WordPress. Here you go, edit your /wp-content/themes/themeName/functions.php file…
Here is an example of how to reload a page on button click with Javacript and removing the query string. I have a page like this: http://gallitin.com/experts-exchange/29046174.php?id=1&query=nathan&orgID=2442 I want to…
Basic syntax for using case when statements in SQL. For this example we want the following: If Field1 = 2 and Field2 = 2 then use the date in Field3…
I’ve tried quite a few different WordPress backup plugins on my client setups but this one is by far the simplest and easiest to use while providing a solid solution….