I use vagrant to run multiple docker based environments to reproduce client environments. PHPSTorm has a built in terminal, which you can right click and start a termical session in the folder of the file. The problem I have is that the terminal session is outside vagrant.
The built in vagrant tools don;t work here as I am in a project folder that exists inside the vagrant file path, so vagrant is OUTSIDE the project
PHPStorm terminal with vagrant
3/05/2021 9:48 pm
Buddy.Works Terraform IPs into aws_security_group
25/02/2020 3:42 pm
This is just an example of how to pull in buddy IP's, and then assign them to an aws_security_group using terraform.
The procedure is not specific to aws_security_group, and can be used for anything that needs CIDR blocks or multiple IPs
Read MoreBuddy.Works pipeline email PHPCS result
10/01/2019 9:08 am
This week I wanted to add PHPCS Code Sniff to the Buddy.Works deploy Pipeline. I did not want the deploy to fail if any sniffs were found, I simply wanted to have the team emailed with any found sniffs. (for now)
Unfortunately the built in buddy.deploy PHPCS action does not have the ability to email out, and the Email Action cannot attach files. (Buddy support told me they have this feature in their backlog)
I had to come up with my own solution, so here it is....
Read MoreIFTTT to Schedule Sensibo AC Climate React feature
5/02/2018 3:27 pm
I turned our dumb, 15 year old, split cycle Air-Conditioning unit into a SMART Unit by adding some home Automation via Sensibo
Sensibo was super easy to install, and within no time at all, I had full control over our Air-Conditioning requirements. Sensibo was SMART, and even integrated with IFTTT (IF This Then That) which opend a whole world of automation possibilities.
Life felt great. Life felt smart. I felt smart, until.......
Read MoreGoogle Tag Manager: Target specific products in checkout success
4/05/2015 3:51 pm
Google Tag Manager allows you to easily send all products to an external resource, by using the dataLayer, and a specific tag.
But what if you want to fire a tag only when a specific product, or set of products, have been purchased?
I worked out an easy way to get it done, using macro's and dataLayer.
Read MoreDebugging Page Letency in Virtualbox with Vagrant
25/03/2015 11:19 am
Recently I started using Vagrant as part of my development environment. Could not be happier, however, one small issue has become very very irretatating.
Letency!
That initial 'hang' is slowing me down
Read MoreSoftware Piracy By CMSmart
14/05/2014 3:19 pm
Recently I became aware that my Dynamic Catgeory Products module is being pirated by a company called CMSmart.net. They seem to be based in VietNam, but their site was hosted in the USA.
Read MoreThe awesomeness that is New Relic
3/06/2013 8:21 am
So you have an awesome, popular website, be it e-commerce based, or just information based. No matter how awesome your site, one of the leading factors to break the awesomeness is site speed. Plainly put, if customers find the site loading time frustrating, they will move on to another site.
So, how to improve your site performance?
One of the best ways will be to hook up with New Relic
Read MoreClear queued mail in postfix RHEL6
23/05/2013 3:56 pm
A recent botnet attack on a site I manage createded a massive amount of emails in the mail queue.
Read MoreFail2Ban to limit DDOS attacks on http webserver
23/05/2013 3:55 pm
A site I am managing recently came nder a massive DDOS attack from around the globe.
To limit the attack, I used fail2ban to setup a ban system to help mitigate the issue.
Read More