Default image

Cbloss

WordPress Command Line Interface

OMG it's been a year since my last update. So bad of me and so much has changed! Personal life is for a different post. This is all about the developer part.  Two years ago, I was working on a customed plugin that made calls to NASDAQ. There were a LOT of cron commands making API calls for updates. I found out pretty early that the 'Run now' button doesn't do what it says if there are 2 minutes or so before the next scheduled run. This became really annoying really quickly. Then, I had the most recent updates to plugins, I could turn on debug just fine and get errors to log just fine and dandy.

Laravel mix image processing

Before Laravel 5(ish), people used gulp to minimize/refresh images. It just came with it and was easy to implement. Now with Laravel Mix, you have to install a few npm packages in order to have the image compression that gulp…

Regex for time format

This will be quick and dirty. I was looking for a regex that handles checking an input time in this kind of format: hh:mm(am or pm). So I wanted to accept the following: 06:00am 6:00am 12:00pm But not accept: 6:00…

Summer updates + Running recap

I know. I'm an absolute failure at keeping this blog up to date. I have a couple reasons as to why. Well more like three. 1.) San Diego went no where the way I wanted it to. 2.) Work went super crazy. 3.) May have had added another member to our crazy household. She (was) tiny. Furry and bloody crazy with energy.

jQuery IE Detection

Ask any web developer and 99.99% of them will say they hate IE. IE is always behind on adapting new features. Whether it's new CSS or new HTML tags, it's always been a pain in the butt.  For many, many years, there was a way to add an IE only CSS style sheet. You could even target the version. Since the launch of IE 10 (I think it was 10--I could be off), they stopped allowing this. So how do you target IE layout issues?

SCP (copy) folder/file from server to local

Anyone who has tried to update their local box or moved sites to a different server will notice that it's just not updating the database that is required. In my most recent scenarios, I'm trying to pull a fresh copy of a staging to my local and I'm missing all the uploads so it still looks weird.

Bloomsday Weekend + Marathon recap

I know, I know. I've been quiet. Honestly, I've just been so blah about life, busy, and just plain tired. I'm in week 14 of 18 of marathon training. In all honesty, the training has been going well. I mean I'm not super fast, but the training has been more enjoyable. Why? Cuz most of it has not been done alone. I've been running with other runners. One gal, my neighbor, has ENDLESS energy. I don't know where she gets it from. She can easily just whip out 13 miles with no training. She's amazing. She helps push me in the later miles where I usually struggle. She doesn't take it hard when I cuss her out for pushing me up hill.

Laravel 5.4 migrations & max key length

I’ve recently switched to a Laravel 5.4 project. After trying to run migrations, I kept getting this darn error:  [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes It made no…

PHP CLI PHP Path

Two in one day! These posts are mainly helping me remember things down the road. Like the Local host one. I have re-visited that post so freakin' often.

Customizing Task Bar Icons

This post will be quick and dirty. If you’re like me, sometimes you either don’t like the icons on your task bar for pinned applications or have multiple versions of an application installed for good reason (and not just cuz you’re lazy).…