Categories

Tags

Page 16 of All Articles

My three favorite free mobile education apps

From time to time I get roped into investing way too much time into mindless video games. I’ve played all the “stories”, I’ve matched all of the candies and most of the Disney characters and as of late I have been working on a repetitive stress injury by way of […]

Get Homeschool News

The last few months I have been urging the wife to find something new to occupy her time other than sitting front of the television. We’ve been through a few ideas but the one that seems to have stuck, and she is the most passionate about is Get Homeschool News. […]

How to stop Wordpress pingback DDoS attacks

Yesterday I had the privilege of dealing with a Wordpress pingback DDoS attack on one of my sites. My hosting company, whom I pay for access to a DDoS protection appliance, didn’t even notice anything. They deployed the appliance at my request and the spike in inbound bandwidth subsided. Unfortunately, […]

5 benefits of kombucha tea

My shit stinks. Literally. I have troubles with digestion. Irritable bowel syndrome, issues with some dairy and my pee smells when I eat asparagus. Wait, scratch that last one. Seriously though, I have pretty regular issues with being regular. It’s been that way since I was a child. Once, I […]

Determining if you are passionate about something

If you’re like me, you get excited about your ideas. You go from “TO THE MOON!” to “meh, that was so yesterday” in less time than it takes Napalm Death to play a song. That doesn’t mean we have bad ideas; actually, it probably does. It also may mean what […]

How to make the World's Best Chili Dogs

I’m actually unsure that you can handle the recipe I am about to bestow upon you. You’ll probably try to put your spin on it and end up making the world’s worst chili dogs. You may make them exactly as described and think they suck. You will have been mistaken. […]

How to organize your Kindle library

I have set out to become a voracious reader. I read as soon as I wake up. I read before I write. I read throughout the day. I mostly read on my phone with the Kindle App. This allows me to accomplish a few things. First, I have less stuff, […]

Find time to be creative every single day

In my youth I was creative. I would draw for hours. I would decorate the walls with my paintings. I would write songs, sing poorly and even made noise. I thrived on creation, yet something happened along the way. My creative pursuits narrowed until the bulk of my creativity was […]

Empower your child with an allowance

If you’re like one of my many conservative friends you are probably saying to yourself right now that “allowances do nothing more than teach a kid about receiving handouts”. You may even be one of those awesome human beings that intends to use your child’s allowance as a way to […]

Start your day with morning pages

In an attempt to improve my writing capabilities, I have been trying to read and write more regularly. Since I don’t always have something to blog about and because I don’t want to stress myself out by trying to blog every day, I have been seeking alternative ways to stimulate […]

Knowing when to quit

A few months back I wrote a post about staying motivated by continuing streaks and how having streaks can keep you motivated even when you are struggling. Just the thought of breaking a streak, especially one that’s a few years old is terrifying. Right now, I am terrified. After two […]

Improving my Vim experience

I love Vim but the fact is I’ve been soul searching for a new editor because I am starting to think I am missing out on things. I decided to put together a list of issues that I have with Vim so that I can work towards imprioving my Vim […]

Detect bots and spammers with Project Honey Pot and PHP

Project Honey Pot is one of my favorite services. They offer an API that allows you to pull information on an IP address. This comes in very handy when vetting traffic coming to your website. I discovered the service a few years back after realizing that I had some spammers […]

How to convert a string to a time with PHP

Converting a string to a timestamp is one of my favorite things about PHP. In fact when trying to decide which language to build [HolidayAPI][holidayapi] in I couldn’t find an implementation of PHP’s strtotime() that rivaled the original. The strtotime() function takes a textual string as input and then spits […]

Cutting the cord on cable

IT HAPPENED, IT FINALLY HAPPENED! I have been fighting the good fight against my wife for a while now. Why are we paying for Netflix, Hulu, Amazon Prime and the occasional Redbox movie on top of paying for cable? NO MORE! We are now cable free and I couldn’t be […]

Set array pointer to a specific key or value in PHP

PHP arrays are absolutely fantastic. They hold stuff, doesn’t really matter what. The interfacing is pretty consistent and there’s a boat load of built-in array functions. What PHP lacks is the ability to set the array pointer to an arbitrary key or value. There are ways to move forward and […]

Safari bug when signing up for Twitter

Wasn’t entirely sure what I was going to blog about today when a stroke of inspiration occurred after the wife was strugglging to create a new Twitter account for an upcoming adventure. I tried it from her computer and everything seemed fine. She said it was because I type faster […]

The power of a morning routine

After some recent research I realized that people I consider successful are generally quite scheduled. Not necessarily through their entire day, but at the very least they have a morning routine that occupies the first 90 minutes of their day. I’m going through a bit of a personal growth spurt […]

Basic page routing in PHP

Last week we talked about setting up a local development server with PHP’s built-in web server and I mentioned that we’d delve into page routing. Routing refers to taking the URI that a person was requested, let’s say /about and routing that to the appropriate code. Sure, you could just […]

Using PHP's built-in web server

I recently updated [HolidayAPI][holidayapi] to no longer use my PHP framework because I wanted the system to be easier for new developers to get up and running. Instead of including configuration files for Apache or nginx, I decided that I should just use the web server that’s baked right into […]

My standing desk made me lazy

You may remember my previous post about my switching to a standing desk. I absolutely loved it. I felt inspired with the new perspective and genuinely felt better. It took a few weeks to get used to the new setup. Most of the initial hurdle was tired legs from years […]

Wonder what’s next?

I have been running this blog since 2013 as a way to improve my PHP as well as my writing. It has been a labor of love and I made it my goal to post at least once a week. At the start of 2015 I decided that I would […]

Outline numbering for an object tree

Last week I had talked about a layout dilemma that my buddy Justin was having. This reminded me of an issue that programming challenge he hit me with a few months prior. The challenge was to take an object tree and generate the proper outline numbering for it. The object […]

Layout with fixed header and independently scrolling columns

Update April 4th, 2019 Seems at some point between May of 2015 and now, the code in this post went terribly stale. It wasn’t working in either Firefox or Chrome and I’ve since updated the code with a working example. Many thanks to everybody that blew up my comments about […]

Working with Dynamic variable names a/k/a Variable variables in PHP

Variable variables are one of my favorite things about PHP. PHP allows you to use a variable to reference another variable. This comes in exceptionally handy when you need to create variable names dynamically: $variable = 'This is my variable'; $var = 'variable'; echo $$var; Let’s say you have you […]