Getting Amazon S3 storage working in Laravel has caused me a few headaches today, so I thought I’d blog about how I got it working for others (and future reference for myself!).
Month: November 2015
Linux: Find files older than a given date to delete
Today I had reason to need to find all the files in a directory older than a given date and delete them.
Doing this over SSH meant it wasn’t a case of re-ordering and selecting with the mouse…
Blocking the Big Bad Bots!
One of our sites recently was running out of bandwidth every 5-10 minutes, a quick look at the stats showed vast amount of traffic from bots/spiders, not necessarily bots that would be useful for us either!
When is a backup not a backup?
It sounds like a bad joke doesn’t it? However the punchline isn’t funny at all.
You really don’t want to be on the receiving end when your backup procedure fails to give you the information you need, just when you need it most.
“Design / Code for Free”
I’m a little bit late with this post (the video has been floating around for a while), but only because I wanted to put some thought around it first.
“Design for Free!” If you saw that you’d think there was a catch, or at least I hope you would (there’s a lot of people that wouldn’t!). Yet in the tech industries we’re often asked to do exactly that.
Resetting a Concrete5 Password from phpMyAdmin
If your email configuration is broken in Concrete 5 and you need to reset the password manually this is how.
(more…)
A Hack and Recovery – A Tale of Outdated Software
I’m constantly telling people to run the most current version of the scripts they run on their websites and it’s for a very good reason.
As well as doing development I spend a good percentage of my time doing rescue missions on websites that have been subjected to some form of hack.
John Lewis – The Dark Side
I love this, the advert is good, but the parody is brilliant!
Linux: Scrape a website structure with wget
Sometimes you just need to grab (or scrape) all the content from a site quickly and easily, you can then extract what you actually need easily later.
(more…)
Hello world!
This wouldn’t be a geek blog without the obligatory “Hello World!” so here it is….