The following snippets allow to check which scripts and styles are loaded on your pages and posts.
Initially, I planned to do one commit a day for at least 100 consecutive days. Well, that was 170 days ago and I’m still creating at least one commit a day. As you can see on the chart above, recently I haven’t built much “skyscrapers”, thus, it’s about time to create another section of high-rising […]
Earlier today, WordPress 5.3 got release. Unfortunately, this seems to have affected Jetpacks related posts. Instead of centred, the related posts were suddenly left aligned. I went ahead and added the following code to my site, which not only centred the related posts but also made that container wider. This is the CSS code I’ve […]
While I created countless themes, I’m currently creating my first theme for the WordPress.org theme repo. To ensure a smooth reviewing process, I’m using the plugin Theme Check as mentioned in the theme review handbook.
I’m currently working on a redesign of a site of a good friend. He’s a professional photographer from Amsterdam and I built his first site in 2011. Back then, I build his site with nexCMS, my very own CMS, which was based on the Zend Framework. Throughout the years, my friend created almost 4000+ posts […]
Just stumbled upon this fantastic video of Mike Pound who explains how SQL injections work and what risk they cause. Please note that running SQL injections on other’s sites is considered a crime! Don’t be a jerk and only experiment with SQL injections on own (local) sites!
In today’s lesson, I learned how to pipe webcam input and manipulate the stream on the fly. In comparison to the other lessons, this lesson required the use of npm. The final code can be found on Day 19 – Webcam Fun. Resources: Array.prototype.forEach() CanvasRenderingContext2D.drawImage() CanvasRenderingContext2D.getImageData() CanvasRenderingContext2D.putImageData() Document.createElement() Document.querySelector() Document.querySelectorAll() Element.innerHTML Element.setAttribute() EventTarget.addEventListener() HTMLCanvasElement.toDataURL() HTMLVideoElement MediaDevices.getUserMedia() […]