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

A bed time story for posterity: Part 1

By Brian January 12, 2009 My Journal 4 Comments
I figured I’d record me reading a story to the kids… because… well you never know… And I did sign the life insurance policy today.. 🙂 BTW – an antimacassar is that little thing that always falls off the back of...
[Continue reading...]

WordPress Quick Tip: Fixing the number of comments per post

By Brian January 7, 2009 MySQL, PHP, WordPress 55 Comments
For various reasons, sometimes the number of comments shown under the title of the post may not match the number of actual comments displayed under the post. Here is a simple SQL statement that will resolve the issue: update `wp_posts` set...
[Continue reading...]

A Meme for Fun!

By Brian January 6, 2009 Brian Layman 0 Comments
Copy, paste, and bold what you have done! 1. Started your own blog 2. Slept under the stars 3. Played in a band 4. Visited Hawaii 5. Watched a meteor shower 6. Given more than you can afford to charity 7....
[Continue reading...]

Neither a borrower nor a lender of bandwidth be

By Brian January 5, 2009 Random thoughts 0 Comments
“Neither a borrower nor a lender of bandwidth be; And this above all, to thine own site be true…” William Shakespeertopeer – The Renaissance Man’s Guide to the Internet. – Chapter 1 verse 12 Yet here, readers! aboard, aboard, for shame!...
[Continue reading...]

A winter walk…

By Brian January 4, 2009 Random thoughts 1 Comment
I thought I would share some pics from 3 hour hike the other day. I hope you enjoy I’ll post some videos tomorrow when I return to civilization and have the bandwidth to upload them…...
[Continue reading...]

Simple web rules beginners & pros all break- Rule #1

By Brian January 3, 2009 Random thoughts 1 Comment
Yes, this applies to you.  I’ve even changed the title of this series because if I named it “7 simple HTML rules beginners & pros all break” some readers would say “HTML” that’s coding stuff. That doesn’t apply to me. But...
[Continue reading...]

How to instantly watch a YouTube video in High Quality

By Brian January 2, 2009 Tips, Techniques and Technologies 1 Comment
You know how the “Watch in High Quality” link never shows up right away on YouTube? Isn’t that annoying???? I thought it was. So I wrote this little bookmarklet to allow me to switch any video I’m on to HQ immediately....
[Continue reading...]

Not Quite 52 books in 52 weeks..

By Brian January 2, 2009 Random thoughts 1 Comment
I still think I may have met the challenge… But I can’t prove it yet. I’ve collected 36 of the books I read in the last year, but I am drawing a blank on there rest… I THINK I’ve read more...
[Continue reading...]

Now on WordPress 2.7

By Brian December 11, 2008 Random thoughts 4 Comments
Almost Harmless! 8 sites updated this morning, all without a hitch. VERY NICE!...
[Continue reading...]

header location: $_SERVER["PHP_SELF"] security vulnerability

By Brian November 28, 2008 Random thoughts 1 Comment
I thought I would share this section of code I found in the Zend Framework.  It truncates PHP_SELF at the first embedded new line in order to prevent unwanted code being inserted into the headers. // Carefully construct this value to...
[Continue reading...]

Posts navigation

1 … 6 7 8 9 10 … 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 ↑