David Kryzaniak, LLC logo David Kryzaniak, LLC

  • About
  • Blog
  • Résumé
  • Contact

“Disable” ooVoo’s Ads

Posted on February 25, 2013 by David Kryzaniak

I hate ooVoo Chat with a passion. It’s a bit too shady for me (Oh, yeah, and there’s this thing called Google Chat that totally blows all other chat services out of the water. It’s ad free and costs nothing… but I digress). Sadly, ooVoo is what we use at work… so I guess I’ll have to live with it.

Read more ›

Posted in Hacks | Tagged chat, Hacks, hosts, oovoo | 9 Replies

Googlebot and Cookies?

Posted on February 18, 2013 by David Kryzaniak

TL;DR: Googlebot must not collect cookies. The other day Jacob Emerick and I stumbled on an†interesting†question… “How does googlebot handle cookies?”

Read more ›

Posted in Web | Tagged cookies, googlebot, PHP | 1 Reply

(Attempt to) Hide your WP-Login Page from Hackers

Posted on February 6, 2013 by David Kryzaniak

Last month, my /wp-login.php page was hit about 7,000 times according to AwStat. That’s a little frighting… Unfortunately, there’s little that can be done to hide your wp-login.php page.

Read more ›

Posted in WordPress | Tagged 404, Hacks, http status, wordpress, wp-login.php | 4 Replies

Install the Zend Framework on IIS7.5

Posted on February 3, 2013 by David Kryzaniak

Installing the Zend Framework on IIS is confusing. There’s next to zero documentation and the few tutorials out there just say “install the Zend Server”. I don’t want to install the Zend Server… My IIS, PHP, MySQL stack works just

Read more ›

Posted in IIS | Tagged IIS7.5, PHP include_path, Zend, Zend Framework, ZF | 9 Replies

Building a Wake-Up Light

Posted on January 11, 2013 by David Kryzaniak

Wake-Up Lights are basically alarm clocks that use a light to wake you up, instead of the typical deafening speaker and annoying tone. I like this idea. Give your brain “natural” clues to trick it into thinking it’s time to wake up.

Read more ›

Posted in Hardware Hacks | Tagged alarm, clock, Hacks, Lamp, wake-up | 6 Replies

Google Web Fonts with Fewer Requests

Posted on January 8, 2013 by David Kryzaniak

I love Google Web Fonts. They’ve really pretty-ed up the internet. On the other hand, I don’t like how much they slow down load times. Here’s a little trick to speed them up a tiny bit.

Read more ›

Posted in Hacks | Tagged css, Fonts, Google, Page Speed | 2 Replies

Sanitize Inputs the Easy Way in PHP

Posted on December 20, 2012 by David Kryzaniak

Sanitizing user inputs isn’t fun. It requires writing nasty Regular Expressions (RegEx) or using a ‘find/replace’ like str_replace(). Both RegEx and str_replace() work great, but I want something that’s a bit nicer to look at (and faster too). I ran

Read more ›

Posted in PHP | Tagged filter_vars, format numbers, input, PHP, sanitize, validation | Leave a reply

Responsive: Do All Images Get Pre-Loaded?

Posted on December 1, 2012 by David Kryzaniak

TL;DR: No. Load up that style.css with all the images you want! They won’t be downloaded unless they are needed. I was always under the impression that browsers would parse through a style sheet and immediately start downloading all the images

Read more ›

Posted in Responsive | Tagged css, html5, mobile, Responsive, RWD | 1 Reply

Explode VS Unserialize: Which is Faster

Posted on November 9, 2012 by David Kryzaniak

For a project I am working on, I have a list of words that needs to be in an array. There are a lot of words (about 20,000 split across 3 arrays). I thought it would be faster to serialize

Read more ›

Posted in PHP | Tagged array, explode, PHP, serialize, unserialize | 3 Replies

Maintenance mode for WordPress Using htaccess

Posted on November 6, 2012 by David Kryzaniak

WordPress doesn’t have a maintenance mode. This makes me sad. Luckily, I have a quick fix. First, you’ll need to create a new directory and a temporary “Maintenance” page. For this example, let’s call it /maintenance/index.html. Fill the Maintenance page

Read more ›

Posted in Hacks | Tagged htaccess, maintenance mode, wordpress, wp | Leave a reply

  • ‹ Older posts
  • Newer posts ›

Recent Posts

  • Adding an API Key to your AWS SAM Deploy
  • Serverless HTML to PDF API with AWS Lambda
  • cPanel/WHM Cron: Delete Backups Older Than 30 Days
  • Docker on Amazon Lightsail (Quick Install)
  • Get Noticed! Theme: Changing the Share Bar Icons

Categories

  • AWS (5)
  • Events (1)
  • Hardware Hacks (4)
  • Linux (2)
  • Psychology (1)
  • Random (3)
  • Web (36)
    • API (2)
    • Code Snippets (2)
    • Docker (1)
    • Hacks (4)
    • IIS (1)
    • MODx (1)
    • PHP (5)
    • Responsive (2)
    • Scripts (1)
    • WordPress (15)

Recent Comments

  • David Kryzaniak on Docker on Amazon Lightsail (Quick Install)
  • Leigh on Docker on Amazon Lightsail (Quick Install)
  • Leigh on Docker on Amazon Lightsail (Quick Install)
  • bob on Docker on Amazon Lightsail (Quick Install)
  • Ivan on Force Non-WWW URL in WordPress