Automatically transform article HTML for third-party platforms such as Facebook Instant Articles, Apple News, Google AMP “Just” make a curl request … curl –data " <h1>Distro.Mic example</h1> <p>Text and media embed</p> <iframe src=\"https://www.youtube.com/embed/M7lc1UVf-VE\"></iframe> " https://distro.mic.com/1.0/format?output=apple-news … and the content is “translated” to the specified format: { "article": [{ "text": "Distro.Mic example", "additions": [], "inlineTextStyles": [], …
Creating a React app with create-react-app
Tyler McGinnis, after having been involved in quite a lot of tutorials/courses/workshops teaching on how to build a React app: Throughout all of these workshops, one thing was consistent: getting started with a React application was pretty overwhelming, for both beginners and senior developers alike. I can confirm this I must say. The tutorials and …
Continue reading “Creating a React app with create-react-app“
CSS Only Scroll Indicator
There’s a pen embedded in this post. Visit this post on the Bram.us website, or see the Pen CSS only scroll indicator on CodePen. I was interested to see if I could make a scroll indicator with just CSS. You can! But maybe you shouldn’t. This is an interesting consequence of a bunch of hacks …
PokemonGoBot
Star Wars Fan Theory: Who is Rey?
Distributing your React Component as a Standalone Version
At work we’ve been building quite some stuff on top of React the past few months. We use Grunt (and more recently Webpack) to run browserify with the babelify transform to transpile our ES6 code into ES5. Earlier this week I came to the point where I wanted to distribute a built component as a …
Continue reading “Distributing your React Component as a Standalone Version”
Node.js “Hackathon Starter”
If you have attended any hackathons in the past, then you know how much time it takes to get a project started: decide on what to build, pick a programming language, pick a web framework, pick a CSS framework. A while later, you might have an initial project up on GitHub and only then can …
Validating SSL certificates with PHP
Great stuff again by Freek Murze from Spatie: A PHP class to easily check the validity of an SSL Certificate. Easily? Yes, easily: $certificate = SslCertificate::createForHostName(‘spatie.be’); $certificate->getIssuer(); // returns “Let’s Encrypt Authority X3” $certificate->isValid(); // returns true if the certificate is currently valid $certificate->isValid(domain.com); // returns true if the certificate is currently valid for the …
Cauditor – PHP Code Audit and Visualisations
Great tool by Matthias Mullie, to analyzing your PHP code (in the screenshot above you can see the analysis of ansi-php): Figure out complexity hotspots in the blink of an eye from a couple of very simple charts [generated by Cauditor]. The charts will help you understand the architecture of the project & make it …
Continue reading “Cauditor – PHP Code Audit and Visualisations”
Pokémon Go GPS Hack
Don’t want to go outside to play Pokémon Go? Some guys came up with this clever hack: generate your own GPS signal. Simulating GPS data with poor software was yesterday! We are generating the real GNSS data with our R&S SMBV and feeding the signal directly into the mobile device. […] The setup is a …