Blogspot - coreygoldberg.blogspot.com - Corey Goldberg
General Information:
Latest News:
Generating Audio Spectrograms in Python 23 Jun 2013 | 12:44 am
A spectrogram is a visual representation of the spectrum of frequencies in a sound sample. more info: wikipedia spectrogram Spectrogram code in Python, using Matplotlib: (source on GitHub) Spectrog...
Python - concurrencytest: Running Concurrent Tests 10 Jun 2013 | 06:27 pm
Add parallel testing to your unit test framework. In my previous post, I described running concurrent tests using nose as a loader and runner. On a similar note, let's look at building concurrency i...
Python - Nose: Running Concurrent Tests 10 Jun 2013 | 04:17 am
TLDR: To enable multiprocessing with N workers, run nose with: When writing tests in Python, I start with TestCase's derived from unittest.TestCase, and standard test discovery. When I need more co...
Squeezelite - Headless Squeezebox Emulator 1 Apr 2013 | 07:19 pm
Use Squeezebox, without buying a Squeezebox... Recently, Logitech discontinued most Squeezebox streaming music players. However, the media server is Open Source, so it looks like some form of Logitec...
Python - Re-tag FLAC Audio Files (Update Metadata) 29 Mar 2013 | 02:35 am
I had a bunch of FLAC (.flac) audio files together in a directory. They are from various sources and their metadata (tags) were somewhat incomplete or incorrect. I managed to manually get all of the ...
Python - verify a PNG file and get image dimensions 29 Jan 2013 | 03:09 am
useful snippet for getting .png image dimensions without using an external imaging library. /headnods: getimageinfo.py source, Portable_Network_Graphics (Wikipedia)
Python Unit Testing Tutorial (PyMOTW unittest update) 24 Jan 2013 | 04:06 am
tl;dr: an update to PyMOTW for `unittest` in Python 3: Python Unit Testing Tutorial. When I was learning programming in Python, Doug Hellmann's 'PyMOTW' (Python Module Of The Week) blog-series was on...
Python - "The Matrix" in your terminal 14 Jan 2013 | 07:58 pm
Linux console program in Python, that scrolls binary numbers vertically in your terminal. Inspired by the movie: The Matrix a screenshot: in action: the Code: https://gist.github.com/4530348
Python Testing - PhantomJS with Selenium WebDriver 7 Jan 2013 | 02:35 am
PhantomJS is a headless WebKit with JavaScript API. It can be used for headless website testing. PhantomJS has a lot of different uses. The interesting bit for me is to use PhantomJS as a lighter-wei...
What is the Best Way To Learn Selenium? 13 Oct 2012 | 10:59 pm
(a small rant on asking answerable questions) At a certain online QA/Testing Forum I regularly visit, the Selenium forum is one of the most active. I continuously see newbie questions like: "How I d...