How to Escape Colons in CSS Classes in JavaScript

Learn how to select HTML elements with special CSS classes like 'empty:hidden' using JavaScript's document.querySelectorAll method.

Convert Web Pages to Ebooks in MOBI Format using Wget and Calibre

Learn how to convert web pages to Mobi format for easy reading on your Kindle or other e-readers. Follow this simple guide and enjoy your favorite articles on-the-go!

Python Number Formatting Made Easy with f-Strings

Learn how to format numbers in Python with f-strings. Use format_spec to specify width, alignment, scientific notation, and more.

Drawing the Yin and Yang Symbol with D3.js

The JavaScript code in this post shows how you can draw the yin and yang symbol using the D3.js.

Automating Browser Screenshots for Social Media using wcap and Pillow

An article describing how I automated the creation of social media images for two websites with graphics rendered in JavaScript by using screenshots.

Drawing Ramones Style Circular Text with D3.js

Example JavaScript on how to draw circular text as seen in the Ramones logo with SVG paths and SVG text elements using the D3.js API.

Customizing Matplotlib's Plotting Styles

A tutorial on how to customize the look and feel of plots created with the Matplotlib library for Python.

Gender Comparison: Would you Tell your Weight?

A look at the results of a poll about whether people disclose their body weight and how to present results of such a pool using data visualization.

Automating Browser Tasks without Distraction on Ubuntu

How to automate browser tasks on Ubuntu using Selenium from Python without displaying a browser window.

Drawing the New York Hardcore Logo with D3.js

Example JavaScript code of how you can draw the New York Hardcore (NYHC) logo with D3.js using SVG shapes and text.

Drawing Crosshairs with D3.js Using SVG Shapes

Example JavaScript code of how you can draw SVG crosshairs with D3.js using SVG shapes.

Python Script to Delete Delicious Bookmarks

A Python script to delete all bookmarks from the Delicious bookmarking service for the authenticated user.

Quick and Dirty Site Monitoring with Google Apps Script

A tutorial on how to use Google Drive and Apps Script to set up a free Website monitoring service that runs on Google's infrastructure.

Taking Web Page Screenshots with PhantomJS and Python

A brief tutorial on how to create screenshots with common browser resolutions and save them as PNG files using PhantomJS and Python.

Diving into Ruby, Sinatra and MongoDB on OpenShift

A tutorial on creating and running an application using Ruby, Sinatra and MongoDB on Redhat's OpenShift platform for hosting apps in the cloud.