Skip to content

The Code Cave

Menu
  • PHP
  • WordPress
  • MySQL
  • LINUX
    • Bash
  • Plugins
    • SCuD – The ShortCode Disabler
    • Smart Passworded Pages Plugin
    • Per Page Sidebars
    • Word Filter Plus
    • Spam Catharsis
    • Donate
  • Scripts
    • Google Talk Notifications
  • Random thoughts

Determining what versions of WordPress you are hosting

By Brian August 10, 2010 LINUX, WordPress 0 Comments
If you host lots of different sites for people, one of the things you might want to know is what versions of WordPress each site is running. WordPress stores the version number in a variable named $wp_version which is set in...
[Continue reading...]

Building Up Reporting Tools

By Brian August 9, 2010 Random thoughts 0 Comments
While working with Lee Newton over at b5media I was able to watch him build up some server tools over time that were invaluable to diagnosing exactly what was going on on the server. Now I find I need to make...
[Continue reading...]

WordPress Security – a plugin done right.

By Brian June 22, 2010 WordPress 3 Comments
It’s rare that I open the source code for a random plugin and see every recommended security measure taken. When looking at Chris Boyd‘s plugin GeoLocation Plugin, I kept digging deeper and deeper and found he’d consistently covered everything. This plugin...
[Continue reading...]

Three helpful additions to your .bashrc

By Brian June 21, 2010 Bash, LINUX 1 Comment
I just made a change to my .bashrc file and I thought I would share the tip. All of this is pretty basic stuff, but if you don’t customize your Linux logins, this would be a good place to start. For...
[Continue reading...]

WordPress DB Hacks: Determining the ID of a category parents

By Brian June 3, 2010 MySQL, WordPress 0 Comments
When manipulating WordPress databases for exports and merges, sometimes it is helpful to get a list of all of the parents for the categories your posts are in. For the import I am working on right now.  The category list is...
[Continue reading...]

Why does Facebook keep telling me my email address is broken

By Brian June 3, 2010 Tips, Techniques and Technologies 1 Comment
Periodically I would get messages from Twitter and Facebook telling me that my email address is invalid. I would just hit reconfirm and it would work fine for a while. When a client came to me and said he was getting...
[Continue reading...]

Using find to copy specific files on Linux

By Brian June 2, 2010 LINUX 0 Comments
I was faced with a weird copy command I wanted to do today; so I thought I would share. How do you copy files in a directory tree to another directory? I wanted to copy all of the mp3 files in...
[Continue reading...]

How to: Find files edited in the last day

By Brian February 15, 2010 LINUX 0 Comments
The process is straight forwarded. There are several methods: find . -mtime -1 \! -type d -exec ls -l {} \; Or more simply find . -type f -mtime -1 In my case, I wanted to do more. First since I...
[Continue reading...]

Why is AVG blocking legitimate sites?

By Brian October 15, 2009 Tips, Techniques and Technologies 0 Comments
AVG is a “free” antivirus software package that has become fairly popular lately. The b5media tech team has been asked many times in the last 24 hours about why AVG is blocking legitimate sites. There is a FAQ on AVG’s site...
[Continue reading...]

Brain Storming on Blocking Bad-ads

By Brian September 6, 2009 Random thoughts 0 Comments
I’m just jotting down some notes about using the Google Safe Browsing API to prevent a site from serving malicious/bad ads. Problem Defined Ads are put on a site via javascript by calls as simple as “getad(‘adposition1’)”. JavaScript is executed via...
[Continue reading...]

Posts navigation

1 … 4 5 6 7 8 … 41

Recently added to the Cave

  • Helpful Gutenberg Articles
  • Count Down Closing Timer and dealing with DST in JavaScript
  • Every chmod permission converted from numeric & displayed in ls style
  • How to create a WordPress compatible slug in MySQL
  • Help Me with Discussing Banner Sizes for Responsive Sites
  • How do you split a text field/textarea by line breaks?
  • WordPress and NotePad++
  • How to find Joomla WordPress or Drupal version from Linux CLI
  • What does “Is this ok [y/d/N]:” mean?
  • Advanced Google Search Operators

Recent Posts

  • Helpful Gutenberg Articles
  • Count Down Closing Timer and dealing with DST in JavaScript
  • Every chmod permission converted from numeric & displayed in ls style
  • How to create a WordPress compatible slug in MySQL
  • Help Me with Discussing Banner Sizes for Responsive Sites
  • How do you split a text field/textarea by line breaks?
  • WordPress and NotePad++
  • How to find Joomla WordPress or Drupal version from Linux CLI
  • What does “Is this ok [y/d/N]:” mean?
  • Advanced Google Search Operators

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Archives

  • January 2019
  • December 2017
  • March 2016
  • December 2015
  • September 2015
  • June 2015
  • November 2014
  • September 2014
  • August 2014
  • January 2014
  • October 2013
  • February 2013
  • May 2012
  • April 2012
  • February 2012
  • January 2012
  • October 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • June 2010
  • February 2010
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • March 2008
  • February 2008
  • January 2008
  • November 2007
  • October 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
The Code Cave Copyright © 2025.
Back to Top ↑