Skip to content

Instantly share code, notes, and snippets.

@va7sdf
va7sdf / lastfm.js
Created November 19, 2016 13:50
Clear
/* Clears user scrobbles for given page, and then clicks the next button.
Thanks to http://blog.thomasupton.com/2012/08/batch-deleting-last-fm-scrobbles/ for the inspiration */
jQuery('.chartlist button.chartlist-delete-button').each(function(_, b) {
b.click();
});
jQuery('li.next > a').trigger('click');
@va7sdf
va7sdf / squish-radio-party.md
Last active April 20, 2017 13:34
Squish Friday Radio Party

2017-01-06 SilentK
2017-01-13 Llyana
2017-01-20 eimeric
2017-01-27 spengler
2017-02-03 jackhammerroses
2017-02-10 deavidsedice
2017-02-17 samuel033
2017-02-23 samuel033
2017-03-03 monkeyharhar
2017-03-10 Shufti

@va7sdf
va7sdf / .gitconfig
Created June 22, 2019 16:01
Add the alias section to the .gitconfig in your home directory. If the file doesn't exist, copy the entire contents and change the name and password values.
[user]
name = Firstname Lastname
email = email@domain.tld
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --oneline --abbrev-commit --all --graph --decorate --color
########################################################################
# Script to demonstrate the setup of a workspace; install Flask; and,
# copy examples to workspace.
#
# This script was written for the Victoria Raspberry PiMakers And Others
# Meetup Group presentation on November 27, 2021.
#
# Gordon M. Celesta
# gordo@sdf.lonestar.org
#