Skip to content

Instantly share code, notes, and snippets.

@tylerball
tylerball / bandcamp-downloader.md
Last active December 13, 2022 18:44
kimurai scrape script to download all albums from a bandcamp purchase page

The problem

You purchase a bunch of releases on bandcamp friday in a single cart—perhaps a band's entire discography—and want to download them all. Kind of janky, could show progress and handle exceptions but it works.

Install

Put the bandcamp.rb somewhere

gem install kimurai downspout
@tylerball
tylerball / README.md
Created January 28, 2022 03:52
dead simple github downloading

Download albums/tracks from the cart page after purchase

bash get.sh

Then paste the download url, it will unzip for you.

[
"Jean-Frederic",
"Jonathan",
"Jessica",
"Dominic",
"John-Jefferson",
"Cathryn",
"Kaelig",
"Monica",
"Cynthia",
@tylerball
tylerball / gist:7d920bb9588741db79f0873bcaac069a
Created July 7, 2017 21:07
adblock filters to hide ads and annoying shit on tumblr
tumblr.com##.is_recommended.with_permalink.no_source
tumblr.com##a[href^="https://beap.gemini.yahoo.com"]
tumblr.com##.image-ad
#!/bin/sh
set -x
SAVEIFS=$IFS
IFS=$'\n'
dirs=`dropbox-api ls | grep 'd.*-' | cut -d'-' -f 3- | cut -d' ' -f 2- | sed 's/ /\\ /g'`
echo $dirs
for d in $dirs; do
mkdir -p /mnt/dropbox${d}
src="dropbox:${d}"
<div class="section" id="FacebookAuth" refresh="FacebookAuth">
<div class="layout-content layout-content--single-column">
<div class="layout-content__sidebar layout-content__first">
<div class="section-summary">
<h1>Facebook account</h1>
<% if @facebook_page %>
<p>This is the Facebook account currently connected to Shopify.</p>
<% else %>
<p>Connect your Shopify and Facebook accounts together.</p>
<% end %>
@tylerball
tylerball / featured rename.app
Last active August 29, 2015 14:21
my old ipod doesn't do album artists, here's a JXA script to move featured artists to the track names: http://tylerball.net/articles/2015/05/fixing-album-artist-on-an-ipod-classic/
@tylerball
tylerball / README.md
Last active August 29, 2015 14:19 — forked from mbostock/.block
@tylerball
tylerball / .gitignore
Last active August 1, 2018 18:17
howmuchisthedomeopen
auth.yml
@tylerball
tylerball / cvimrc
Last active August 29, 2015 14:15
cvimrc
let mapleader = ","
map <Leader>x :restore<Space>
map <C-b> :buffer<Space>