Adding Unit Tests for Mindbody API

The mz-mindbody-api wordpress plugin has grown over the years and it’s getting difficult to keep track of all the various parameters and features. It’s probably ready for a refactoring, but in the meantime, I aim to get some phpunit tests installed. I’ve been using MAMP a lot for development and wanting to move toward a … Continued

Find Giant Files on OSX

Find all files on system 100Megabytes and up src: http://unix.stackexchange.com/questions/140367/finding-all-large-files-in-the-root-filesystem find / -xdev -type f -size +100M 20 largest files or dirs: du -ax / | sort -rn | head -20 Current dir only: du -ax . | sort -rn | head -20Find all files on system 100Megabytes and up

Font Explorations with XeLaTeX

Troubleshooting some typographical issues with the typographical package LaTeX, came across a couple of commands of note: Get information about a font: otfinfo -i ‘/Users/mikekilmer/Library/Fonts/Palatino Small Caps & Old Style Figures.ttf’ Reset Font Info Cache files: fc-cache – build font information cache files SYNOPSIS fc-cache [ -frsvVh ] [ –force ] [ –really-force ] [ … Continued

Installing Python 3.7 on Linode Server

This has been fun. I installed a “bleeding edge” version of Python (3.7) on the server we’re running Glitch on and it’s been ah… fun? Forget what exactly I did, but one of the mistakes with “symlinking” the new python version. It was a mess. Ended up restoring a backup and starting over. It’s been … Continued

Porting from Echonest with Amen

While poking around in Vamp Plugins, I decided to make another quick internet search and found a new replacement for EchoNest Remix! It’s called Amen, after the ubiquitous Amen Break. Back to holes in our codebase left by Echonest. File “fore/combine_tracks.py”, line 41, in render_track track2 = audio.LocalAudioFile(‘instrumentals/’+file2) Start the server again: sudo python -m … Continued

Audio Analysis with Python and Vamp

Feeling optimistic about Aubio, via Sonic Annotator returning useful — if not all the details we need — to replace the Echonest Analysis API in our Infinite Glitch project. So we may not need to roll our own Vamp plugin and the fact that Sonic Annotator isn’t seeing the Vampy plugins on OS X Yosemite … Continued

Crack this Glitch Open Again

Blowing the dust of the Infinite Glitch codebase again. It’s been a long time and I’ve been spending most of the programming time in php, javascript, jQuery, Sass-land. Back to lovely Python again and it seems last time I was developing this Codebase it was with Docker as opposed to VirtualEnv. Hmmm. Basic Docker commands. … Continued

Playing with HUGO Static Site Generator

Working on a static site with a new client and first hurdle was that on the local DEV server, firefox wasn’t loading the files from CDN due to CORS settings. Got around this with a Firefox extension: https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/. It’s disabled by default and to enable it you need to add a button to your Firefox … Continued

Getting started with Docker for Mac

EchoNest sold out to Spotify and closed down their API. Now InfiniteGlitch doesn’t have a process for analyzing MP3s to reassemble them. Peter Sobot hipped me to a QM Vamp Plugin which it looks like will give us the data we need without leaving the comfort of our own server. I’ve been working in a … Continued

Google Circle
Join my Circle on Google+

Plugin by Social Author Bio