I’ve noticed over the past few months my usage of the Laravel validation engine has increased a lot. I’ve even used it in some non-Laravel applications just because I’m a fan of the interface. I had the idea of sharing some of the validation rules with the community but there wasn’t too many people doing the same. I created a…
I needed a small tool recently to set Telegram webhooks quickly over a few projects. You usually just run a curl command to do this but the format is something you have to remember – this is a lot simpler now. Just head over to https://telegram-set-webhook.ssx.tools to use it.
Easy way to run rtorrent in Docker is using Docktorrent like this:
docker run -it \
-p 81:80 -p 45566:45566 -p 9527:9527/udp \
--dns 18.104.22.168 \
-v /rtorrent:/rtorrent \
-e UPLOAD_RATE=1024 \
A while ago I remember seeing a tweet from Ryan Florence about docuemntation: I think the biggest mistake we all make in docs and tutorials: Not explaining *first* what the goal, or use-case, or desired result is. — Ryan Florence @ 🐙🤖 (@ryanflorence) June 19, 2017 Last week I’d seen that Kent C Dodds had a further point on it,…
I recently ran into an issue where a Magento site that had been duplicated for development kept redirecting to the original site URL. Turned out that the culprit was a setting called SSL_OFFLOADED which needed to be turned off.
If you’re in the UK, you can easily stop a lot of marketing calls by signing up for the Telephone Preference Service. It’s extremely simple to do, send a text message to 85095 with ‘TPS firstname.lastname@example.org” – don’t forget to remove the quotes and add your email address in. You can find full instructions over on the TPS website.
Telnet has been removed from Mac OS High Sierra, but can still be useful for developers to check ports are open etc. If you need to enable it, you can do so with Homebrew:
brew tap theeternalsw0rd/telnet
brew install telnet
Update (10/10/17): I received an email from David Waitzman in which he notes you can get telnet from an old Time Machine backup and then copy…
I recently started a new project and wanted to give Laravel’s new test framework Dusk a try. Locally, this was quick to do and it worked first time – however when I then connected up CircleCI I needed to do a little extra work to get up and running. In short, the version of Google Chrome needs updating to a…
Something I picked up on a few days ago was using Docker’s –net-alias command (or docker-compose equivalent) for cheap and easy round robin load balancing. For example, start two elasticsearch containers with –net-alias search and from within the network, using the ‘search’ as the DNS name for connecting, you’d get 1 of the 2 servers at random.