An ad-less, multilingual, clean Soundcloud downloader with robust code. Adds a 'Download' button to all single track views.
- No third-party embeds, redirects or ads, directly uses the Soundcloud API.
| #!/usr/bin/env python | |
| import sys | |
| import lilv | |
| if len(sys.argv) < 2: | |
| sys.exit("Usage: %s <plugin URI>" % sys.argv[0]) | |
| w = lilv.World() |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """List all preset URIs of an LV2 plugin with the given URI.""" | |
| import sys | |
| import lilv | |
| PRESET_NS = 'http://lv2plug.in/ns/ext/presets' | |
| RDFS_NS = 'http://www.w3.org/2000/01/rdf-schema' |
| library(ggplot2) | |
| library(ggtree) | |
| library(emojifont) | |
| tree_text <- "(evergreen_tree,(avocado,((tulip, ( palm_tree, ( banana, ( pineapple, (corn, ( tanabata_tree, ear_of_rice )))))),((grapes, (((peanuts, shamrock), ((( rose, strawberry ), ((apple, pear ), ( peach, (cherry_blossom, cherries) ))), (chestnut, (jack_o_lantern, (watermelon, (cucumber, melon)))))), (hibiscus, (( tangerine, lemon ), (maple_leaf))))),(cactus, (kiwi_fruit, ((sweet_potato, (hot_pepper, (eggplant, (potato, tomato)))), (carrot,(sunflower, blossom)))))))));" | |
| x <- read.tree(text=tree_text) | |
| ggtree(x, layout="circular") + | |
| xlim(NA, 13) + ylim(NA, 39) + | |
| geom_tiplab(aes(color=label), parse='emoji', size=6, vjust=0.5, hjust = 0.5, offset = 0.6) + |
| #!/usr/bin/env python3 | |
| """Listen to and print JACK client/port meta-data changes.""" | |
| import jack | |
| PROPERTY_CHANGE_MAP = { | |
| jack.PROPERTY_CREATED: 'created', | |
| jack.PROPERTY_CHANGED: 'changed', | |
| jack.PROPERTY_DELETED: 'deleted' |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # timebase.py | |
| # | |
| """A simple JACK timebase master.""" | |
| import argparse | |
| import sys | |
| import time |
| #!/bin/bash | |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # kevin gallagher (@ageis) <kevingallagher@gmail.com> | |
| # normally I divide this into separate files: .bashrc, .bash_profile, .bash_aliases and .bash_functions (also .bash_logout), but it's all concatenated here. | |
| ulimit -s unlimited | |
| export MYUID=$(id -u) | |
| export USER="$(id -un)" | |
| if [[ "$TILIX_ID" ]] || [[ "$VTE_VERSION" ]]; then |
| /* | |
| * alsa-query.c - print hardware capabilities of ALSA device | |
| * | |
| * compile with: gcc -o alsa-query alsa-query.c -lasound | |
| */ | |
| #include <stdio.h> | |
| #include <alsa/asoundlib.h> | |
| #define ARRAY_SIZE(a) (sizeof(a) / sizeof *(a)) |
| #!/bin/sh | |
| # Source: https://faq.i3wm.org/question/2172/how-do-i-find-the-criteria-for-use-with-i3-config-commands-like-for_window-eg-to-force-splashscreens-and-dialogs-to-show-in-floating-mode.1.html | |
| # i3-get-window-criteria - Get criteria for use with i3 config commands | |
| # To use, run this script, then click on a window. | |
| # Output is in the format: [<name>=<value> <name>=<value> ...] | |
| # Known problem: when WM_NAME is used as fallback for the 'title="<string>"' criterion, | |
| # quotes in "<string>" are not escaped properly. This is a problem with the output of `xprop`, | |
| # reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=66807 |
| // pixar.cpp | |
| // Ran through clang-format, then commented | |
| // Also changed text to "HIRE ME" and used fork() | |
| // to have 4 child processes for easy multithreading | |
| // | |
| // Original by Andrew Kensler | |
| // Edits by Adrian Biagioli | |
| #include <stdlib.h> // card > pixar.ppm |