Categories

Tags

Page 14 of All Articles

I deleted all of my email and it was GLORIOUS!

As glorious as it has been, it started out as an absolute struggle. Ya gotta get through the ghetto before you get to the meadow, amirite? So what led me down the path of total email annihilation? There were a few contributing factors. Before I talk about that, let’s talk […]

Drizly shares your address via Twitter

TL;DR - Don’t use Drizly’s share your order link, unless you want everybody knowing where you’re getting your sauce delivered to. First off, I want to say that I am very happy to be part of the Drizly beta launch in Tampa, FL and a little bit proud of Tampa […]

First impressions of the new Apple TV

I’ve been a fan of the Apple TV for quite a while now. I was a bit late to the game as I only picked up a third generation unit in 2013. The unit that I am replacing today has consistently beat out the “smart” functionality of my Samsung television. […]

Forcing yourself to use shell aliases

Fact: Shell aliases save you time. Fact: Saving time increases your productivity. Fact: Everybody wants to be more productive. Fact: Retraining muscle memory can be a pain in the ass. I have been fighting that last fact for a while now. I have the single character alias v pointed to […]

Consolidating PHPAve.com

Just wanted to give everybody the head’s up that I am consolidating PHPAve.com into this blog. I still plan to blog about PHP from time to time but I no longer see the need in maintaining it as a separate site. For those that are interested in the migration details, […]

Shark Tank killed the magic

Shark Tank, you fucked up, you fucked up bad. I was watching the latest episode of Shark Tank (Season 7, Episode 5) with my daughter when I had to abruptly stop the show and make up an excuse as to why we were no longer watching the show. The segment […]

Check if a string contains a character with PHP

Checking if a string contains a character could be accomplished easily with a regular expression or you can use the built-in PHP functions. To check if a string contains a character of a specific case you can use strpos. $haystack = 'This is my haystack that we shall check' $has_A […]

Transitioning from Google Wallet to Android Pay

I feel like I’m in the minority among my peers. I use Google Wallet and Android Pay pretty religiously. I choose to shop at establishments that allow me to use this technology as often as possible. I ask my peers that use Android devices how they like being able to […]

Generate random hex color with PHP

There’s many ways to skin a cat, or generate a color. You could randomize a number between 0 and 16777215 then convert it to hex: $rand_color = '#' . dechex(mt_rant(0, 16777215)); Or you could do what I like to do, just md5 a random string and grab the first 6 […]

Run a block of PHP code a certain percentage of the time

Sometimes, you may want to run code all of the time. Other times, you may want to run code some of the time. This is how garbage collection in PHP works. Based on your configuration for gc_probability and gc_divisor, garbage collections runs a fraction of the time (defaulting to 1/100 […]

CSS `:not` issue in Safari on iOS9

Seems that every time that Apple releases a new version of iOS I encounter some weird rendering issue. This time around with iOS9 I encountered an issue where the full / desktop version of the site looked like it still using some of the mobile / smaller device stylings. After […]

My experience with the Mandela effect

Remember that time I was bit by a dog? I sure as hell do. It was a choatic ordeal where I was living in fear of potentially contracting rabies as we waited to see if the dog that bit me ended up dying in quarantine. The doctor assured me that […]

It’s never too late to start tracking metrics

Dashboard-driven development, metrics-driven development, whatever you may call it, it’s super important. I’m embarassed to that this, but after running a successful site for over four years, I didn’t have a dashboard with even the most basic of metrics like new users per day or anything insightful about the site’s […]

Stop submitting feature requests for Open Source Software

A few years back I wrote about my experiences contributing to and maintaining open source projects. Since then, I’ve done my share of forking, pull requesting and even starting up new projects that people are forking and pull requesting. I make a very conscious effort to contribute to projects that […]

Bitmaps vs. Sets to track Monthly Active Users in Redis

Recently I was building a piece of functionality to track the daily and monthly active users on one of my sites. I already track this data in MySQL but retrieving the data was sluggish, even after creating a few new indexes, so I decided that I would use Redis. The […]

ERROR: Invalid position '1'

This error drove me mad. I had searched the interwebs at least a few times for it and couldn’t find a solution. All I wanted to do was block some lame ass script kiddie from scanning my server. I know the ufw command I was entering was fine, because it […]

Don't try to speak my language

You may think you’re being cute. You may even think you’re being relevant. The fact is, you come across like someone that’s out of touch and trying too damn hard. I know you don’t mean it that way, and I think I may actually empathize with you a small bit. […]

PHP is stupid and so are you

I hope you’re really fucking pissed right now. I hope you go thermonuclear on the comments box. Why? Because it really just proves how right I am about how stupid you are. You let some silly blog post get under your skin. Thing is, I really didn’t know what to […]

My skills have nothing to do with my interest

Recently a former co-worker of mine (by way of company acquisition) reached out about a project he was hoping that I would work on. I declined but worked in a small bit of permission networking and made an introduction to one of my buddies because I thought that he may […]

Who the hell are you and why are you emailing me?

I got this email the other day from WeVue, a Tampa-based startup for which I am acquainted. The email was regarding the “war for talent” and was pushing some webinar they are doing later in the month. Knowing how these things work, I assume they are going to be showing […]

How to block AdBlock users without JavaScript

This is probably one of the most rotten experiments I have done in recent times. I wanted to see what would happen if I blocked site usage from folks using ad blocking software. Would it cause a stir? Would people figure out that their ad blocker is to blame? Would […]

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 […]