I’m getting in the habit of using a .env file for loading environment variables. Laravel already uses them for setting up configuration. It’s a nice way to setup variables that can be used in bash or through a php library like vlucas/phpdotenv. For a site I’m working on I wanted the environment variable APP_ENV set to “local” in… Continue reading .env environment variables when working with Apache
No Miles, We’re not moving to Canada.
Well, tonight I kinda freaked out our 8 year old son Miles. We has just sat down for his ritual of one episode of The Big Bang Theory before bed. Katie was looking though news feeds and mentioned that Trump had taken the Florida primary and that Marco Rubio was likely to suspend his campaign (then… Continue reading No Miles, We’re not moving to Canada.
Installing WordPress Plugins with Composer
I found out a cool usage for composer that I didn’t know about; use it for installing WordPress plugins. I use Phing to do all my deployments (slowly moving towards continuous integration with Jenkins). I wanted a way to get the plugin files and include them with my deployment automagicly. Composer can download and extracting the plugin archive file rather than using… Continue reading Installing WordPress Plugins with Composer
::before and ::after
This is the first in a series of “today I learned” posts. Today it’s all about the pseudo element ::before and ::after. This isn’t new news to most I’m sure, but I’ve just recently started using these and think they are pretty cool. Say you are working on a site where you have access to the styles… Continue reading ::before and ::after
Hello new site!
It’s been a long time since I’ve updated this site so I figured I’d start from scratch with WordPress. I haven’t done much in WordPress up till now but I have some customers who are requesting it at work, so I guess it’s time to take the plunge. I still have many sites that I… Continue reading Hello new site!