The backup service Ottomatik implemented webhooks last year (at my request, ha!) to send success or failure payloads to a URL of your choice. As Ottomatik doesn’t yet provide a Slack integration. Most teams around the world use Slack to pipe notifications into their channels and it’s a pretty good way of doing things. You’re going to need to set…
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…
Check #magento2 glossary – https://t.co/e0mSvIpbvg and give us feedback. — Max (@maksek_ua) March 19, 2017
Try out our updated Quick Start for Magento 2.1.5 on the AWS Cloud – with Amazon EFS & Amazon ElastiCache! https://t.co/Y81C9wAQQi pic.twitter.com/6b47n6TlRr — Amazon Web Services (@awscloud) March 20, 2017
This is a neat thing to do and actually useful.
Friendly reminder → in PHP, string functions are haystack/needle, array functions are needle/haystack (except array_filter). — assertchris (@assertchris) March 21, 2017
A few tasks that I’ve been working on this weekend have needed public/private key pairs. The very useful phpseclib library provides the tools that you need to generate these within your application.
// Get a new RSA object and set the type, hash and comment
$rsa = new RSA;
// Actually generate the key, change 4096 for the desired number of bytes
$keys = $rsa->createKey(4096);
$keyPrivate = $keys["privatekey"];
$keyPublic = $keys["publickey"];
// Get the fingerprint for this key
$keyFingerprint = $rsa->getPublicKeyFingerprint();