Organize your Magic: The Gathering decks with Magic Assistant
Sep17

Organize your Magic: The Gathering decks with Magic Assistant

The world’s first trading card game was Magic: The Gathering, first published in 1993. It remains popular today because of its great flexibility. With more than 25,000 unique cards published over nearly three decades, there are enough cards for players to build hundreds of different decks for surprisingly unique gameplay experiences. read more Powered by...

Read More
Start using YAML now
Sep17

Start using YAML now

YAML (YAML Ain’t Markup Language) is a human-readable data serialization language. Its syntax is simple and human-readable. It does not contain quotation marks, opening and closing tags, or braces. It does not contain anything which might make it harder for humans to parse nesting rules. You can scan your YAML document and immediately know what’s going on. YAML features YAML has some super features which make it superior...

Read More
Watch commands and tasks with the Linux watch command
Sep16

Watch commands and tasks with the Linux watch command

There are many times when you need to wait for something to finish, such as: A file download. Creating or extracting a tar file. An Ansible job. Some of these processes have some sort of progress indication, but sometimes the process is run through a layer of abstraction, and the only way to measure the progress is through its side effects. Some of these might be: read more Powered by...

Read More
How I patched Python to include this great Ruby feature
Sep16

How I patched Python to include this great Ruby feature

Ruby, unlike Python, makes lots of things implicit, and there’s a special kind of if expression that demonstrates this well. It’s often referred to as an “inline-if” or “conditional modifier”, and this special syntax is able to return one value when a condition is true, but another value (nil, specifically) when a condition is false. Here’s an example: read more Powered by...

Read More
Crunch numbers in Python with NumPy
Sep16

Crunch numbers in Python with NumPy

NumPy, or Numerical Python, is a library that makes it easy to do statistical and set operations on linear series and matrices in Python. It is orders of magnitude faster than Python lists, which I covered in my notes on Python Data Types. NumPy is used quite frequently in data analysis and scientific calculations. read more Powered by...

Read More
A guide to web scraping in Python using Beautiful Soup
Sep15

A guide to web scraping in Python using Beautiful Soup

Today we’ll discuss how to use the Beautiful Soup library to extract content from an HTML page. After extraction, we’ll convert it to a Python list or dictionary using Beautiful Soup. read more Powered by...

Read More