Spotify vMix Integration

The quickstart: https://developer.spotify.com/documentation/web-api/quick-start/ Create the App: https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app Our apps: https://www.spotify.com/us/account/apps/ Well that codebase is outdated, but it was a good intro. Also tested some Curl requests, which you can generate via their console. I think that this Python library, Spotipy will be our tool of choice. It’s open source on GitHub. Here’s our endpoint reference: … Continued

Git Mergetool

Spent a while the other day trying to figure out what to use for a Git Diff and Git Merge tool. Settled on Kdiff3. With this install approach: From Stack Overflow. And also from SO, the config: To ~/.git/config add: Now $ git mergetool brings up a useful dialogue. I had tried Beyond Compare as … Continued

Installing SOAP in Docker Container

This WP plugin interfaces with an old SOAP-based API. Developing with a Docker Compose WordPress library by Chris Zarate. Steps to install SOAP extension: docker-compose exec wordpress bash (get in the guest server) php –ini (find php.ini files) cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini (in this case there wasn’t one) apt-get update && apt-get install vim (to edit) … Continued

Slow Python Site, Available Entropy Stats

Infinite Glitch is running insanely slowly, like taking 20 seconds to load! I went back to some early git commits to see if perhaps I could track down the source of a bottleneck. Chris said it might be a corrupted drive or lack of available entropy. I had to remind myself that entropy means the … Continued

Git Cherry-pick Deleted Files

At some point I had foolishly added node_modules directory and needed to remove those files from the repo. This was a matter of: Add node_modules/ to top level repository directory .gitignore and then ran git rm -r –cached ../example.com/web/app/themes/custom-theme/node_modules Then I had a couple of other branches I wanted to add only that change to … Continued

Rename WP DB Prefix

Wanted to change wp database prefix on a couple of sites following importing data with WP Migrate DB Pro. First delete the initial tables: Then rename the imported ones Now update entries in user_options table: Lastly update entries in user_meta table:

Cleaning Up an old WP Database

Come across this old post. Install the WP-DBManager plugin by Lester Chan Check last time table was used: Compile a list, on the staging server, first of tables that we don’t seem to still be using: Thank you SO for one liner to remove woocommerce tables

Free Purgable Space

Found a good little article on clearing up “purgable space” on OSX Drive. One drives which will unmount there is this useful command: diskutil secureErase freespace 0 / Supposedly after running this command and restarting the computer, the purgable space will have been purged. I ended up not being registered in Disc Doctor right away … Continued

2019 Google SMPT Interaction

To enable a third party app to use a google account’s SMPT credentials to send mail: Use these settings: Gmail SMTP server address: smtp.gmail.com Gmail SMTP username: Your Gmail address (for example, example@gmail.com) Gmail SMTP password: Your Gmail password Gmail SMTP port (TLS): 587 Gmail SMTP port (SSL): 465 Gmail SMTP TLS/SSL required: Yes May … Continued

Google Circle
Join my Circle on Google+

Plugin by Social Author Bio