Skip to content

Instantly share code, notes, and snippets.

View koiuo's full-sized avatar
🇺🇦
stop russian fascism

Dmytro Kostiuchenko koiuo

🇺🇦
stop russian fascism
View GitHub Profile
@koiuo
koiuo / build.gradle
Created June 14, 2018 22:07
Running locally build gradle plugin
// example is for pl.allegro.tech.build.axion-release
buildscript {
repositories {
mavenCentral()
}
dependencies{
classpath files(
'/path-to-plugin/axion-release-plugin/build/libs/axion-release-plugin-1.9.2-bugfix-249_git_subdirectory-SNAPSHOT.jar',
)
@koiuo
koiuo / spotify-open
Created July 30, 2024 19:09
Open Spotify HTTPs URLs from command line on Linux
#!/usr/bin/env bash
# Convert HTTPS Spotify URL to spotify URI
convert_spotify_url() {
local url="$1"
# Remove query parameters
url="${url%%\?*}"
# Extract the path after the domain