Skip to content

Instantly share code, notes, and snippets.

View kyraocean's full-sized avatar
💘
STRANGESOFT / WEIRDWARE

Kyra Ocean kyraocean

💘
STRANGESOFT / WEIRDWARE
View GitHub Profile
@muhdiboy
muhdiboy / lastfm-automated-remove-duplicates.md
Last active May 2, 2024 11:59
LastFM automated duplicate scrobble deletion script

Why would I need this?

Your scrobbler might have decided to scrobble every song hundreds of times, and you can't really remove those scrobbles efficiently. Or you might have accidentally installed multiple scrobbler extensions at the same time - wondering why multiple scrobbles appear for every song played at a time - and you want to clear them after finding the issue.

Using this script still doesn't necessarily make the process quick since Last.fm only displays a limited number of scrobbles that can be removed on each page of your library. However unlike the implementation of @sk22 and its forks, this UserScript, which is derived from those scripts, is run once. The rest of the process is automated and the script will stop at the page you have set using the prompt.

Installation

Prerequisites

@kyraocean
kyraocean / 01-seeyouspacecowgirl.sh
Last active January 24, 2022 03:04
SEE YOU SPACE COWBOY|GIRL cosmic-colored terminal logout
#!/usr/bin/env bash
# SEE YOU SPACE COWGIRL by KYRA OCEAN (kyraocean.com) (July 2014)
# Displays a timeless message in your terminal with cosmic color effects
# Usage: add "sh ~/seeyouspacecowgirl.sh; sleep 2" to .bash_logout (or similar) in your home directory
# (adjust the sleep variable to display the message for more seconds)
# Cosmic color sequence
@PBXg33k
PBXg33k / VGMdb#Search by &Album
Last active March 21, 2024 09:16
MP3Tag - VGMdb source file
# ###################################################################
# Mp3tag (v2.39+) parsing for VGMdb.net, created by dano on 2010-01-20
# Updated and maintained by PBX_g33k starting from 2015-09-01
#
#
# This file should be in your sources directory
# On Windows XP it's
# C:\Documents and Settings\*username*\Application Data\Mp3tag\data\sources
#
# Changelog:
@seanlinsley
seanlinsley / seeyouspacecowboy.rb
Last active August 30, 2020 23:46
A Ruby verison, because the ANSI colors weren't showing up on logout in the Shell version this is forked from
#!/usr/bin/env ruby
# SEE YOU SPACE COWBOY by DANIEL REHN (danielrehn.com)
# Displays a timeless message in your terminal with cosmic color effects
# Usage: add `ruby ~/seeyouspacecowboy.rb; sleep 2` to .bash_logout (or similar) in your home directory
# (adjust the sleep variable to display the message for more seconds)
class String
def colorize(color_code)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC
"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>homebrew.mxcl.bitlbee</string>
<key>ProgramArguments</key>
<array>