Getting the actual GIF from a tweet with TWEET2GIF

Twitter supports GIFs (and more recently: longer/bigger GIFs!), yet they render them as MP4 files. So how to get the original GIF? Enter TWEET2GIF: Ever wanted to download that gif that you saw on Twitter? Maybe share it on Facebook or other social networks? You’re at the right place! Just paste in the URL of …

Using <details> in GitHub

Turns out you an use the <details> element in GitHub: <details> <summary>Summary Goes Here</summary> …this is hidden, collapsable content… </details> Handy if you have a rather big stack trace that might make your comment a tad too cluttered: Going into the rabbit hole it looks like support for this tag was initially requested back in …

Coding mobile-first emails

Typically, emails are coded starting with an old school, table based desktop version, with mobile styles applied through a max-width media query to reflow the tables. In email clients that don’t support this, this approach can result in inconsistent rendering and difficult to read emails. We’re going to flip the formula and start with the …

PHP HTTP Public-Key-Pinning Builder

HTTP Public-Key-Pinning Builder aims to make it easy to build HTTP Public-Key-Pinning headers in your PHP projects. As so: <?php use \ParagonIE\HPKPBuilder\HPKPBuilder; $hpkp = HPKPBuilder::fromFile('/path/to/source.json'); $hpkp->sendHPKPHeader(); { "hashes": [ { "algo": "sha256", "hash": "hwGEkxDWJ2oHtKv6lsvylKvhotXAAZQR1e0nq0eb2Vw=" }, { "algo": "sha256", "hash": "0jum0Eiu4Eg6vjn3zTmyd/RobfN6e4EagFQcz6E5ZKI=" } ], "include-subdomains": false, "max-age": 5184000, "report-only": false, "report-uri": null } HTTP Public-Key-Pinning Builder →HTTP …

The Surprising History of the Infographic

The idea of visualizing data is old: After all, that’s what a map is—a representation of geographic information—and we’ve had maps for about 8,000 years. But it was rare to graph anything other than geography. Only a few examples exist: Around the 11th century, a now-anonymous scribe created a chart of how the planets moved …

Game of Thrones: Journeys made in Season 6

The folks at The Verge: In Game of Thrones, movement is life. If you linger too long in the Sept of Baelor, for instance, chances are you won’t be around long enough for afternoon prayer. That’s why many of the characters in Westeros are constantly in transit, traversing from the North to the Riverlands or …