Many fundraising CDs released over the years—such as KKSF’s Sampler for AIDS Relief series—captured an excellent snapshot of the music being played at the time. Unfortunately, these compilations are often unavailable as complete albums on today’s streaming services. Smooth Sampler retrieves the original track list from MusicBrainz and converts it into a format Soundiiz can use. From there, Soundiiz can locate the individual tracks and recreate the compilation as a playlist on Apple Music, Amazon Music, and other supported services. Check out Smooth Sampler at github.com/ncnetsec/smoothsampler. Here is a sample of a playlist built with the tool available at Soundiiz…
Category: Python
Free GeoIP Lookups – Accuracy
My shell script I use to lookup geoip information recently started failing on the json.tool jq portions and instead of trying to fix it I rewrote it in python. The original shell script leveraged api.ipgeolocation.io, which turned out to be fairly inaccurate on the information returned. Original Shell Script Code (API Key is if you register with the site located in Lahore, PK) #!/bin/shif [ $# -ne 1 ] then echo “Usage: geoip.sh ip_address”exit 1fiAPI_KEY=redactedcurl -sS –request GET \ –url ‘api.ipgeolocation.io/ipgeo?apiKey=’$API_KEY’&ip=’$1 \| python3 -m json.tool | \jq ‘{ip: .ip, isp: .isp, city: .city, state_province: .state_prov, region_code: .region_code, country_name: .country_name, country_code:…