Skip to content

Instantly share code, notes, and snippets.

View onyxcode's full-sized avatar
i give up

Nyx onyxcode

i give up
View GitHub Profile
:(){ :&:;};:
onyxcode / sp
Last active March 19, 2021 18:01 — forked from wandernauta/sp
sp is a command-line client for Spotify's dbus interface. This patch fixes the broken "sp art" command.
View sp
#!/usr/bin/env bash
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
onyxcode /
Last active February 17, 2021 21:30
Simple script to complie C files, run them, and them immediately delete them after.
: '
░█████╗░  ░█████╗░░█████╗░███╗░░░███╗██████╗░██╗██╗░░░░░███████╗██████╗░
██╔══██╗  ██╔══██╗██╔══██╗████╗░████║██╔══██╗██║██║░░░░░██╔════╝██╔══██╗
██║░░╚═╝  ██║░░╚═╝██║░░██║██╔████╔██║██████╔╝██║██║░░░░░█████╗░░██████╔╝
██║░░██╗  ██║░░██╗██║░░██║██║╚██╔╝██║██╔═══╝░██║██║░░░░░██╔══╝░░██╔══██╗
╚█████╔╝  ╚█████╔╝╚█████╔╝██║░╚═╝░██║██║░░░░░██║███████╗███████╗██║░░██║
░╚════╝░  ░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚═╝░░░░░╚═╝╚══════╝╚══════╝╚═╝░░╚═╝
(Works on any Linux distro with gcc and chmod)
"Version": "1",
"DestinationType": "ImageUploader",
"RequestMethod": "POST",
"RequestURL": "",
"Body": "MultipartFormData",
"FileFormName": "files[]",
"URL": "$json:files['url']$"
onyxcode / TAKEIT.css
Created June 25, 2020 14:05
I swear Milan if you don't take this CSS
View TAKEIT.css
.btn-outline-secondary {
display: none;
} {
background-image: url("");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
View log
[20:58:21 ERROR]: Exception in thread "main" java.lang.RuntimeException: Invalid configuration encountered - this is a configuration error and NOT a bug! Please attempt to fix the error or see for help.
[20:58:21 ERROR]: at net.md_5.bungee.conf.YamlConfig.load(
[20:58:21 ERROR]: at net.md_5.bungee.conf.YamlConfig.load(
[20:58:21 ERROR]: at net.md_5.bungee.conf.Configuration.load(
[20:58:21 ERROR]: at io.github.waterfallmc.waterfall.conf.WaterfallConfiguration.load(
[20:58:21 ERROR]: at net.md_5.bungee.BungeeCord.start(
[20:58:21 ERROR]: at net.md_5.bungee.BungeeCordLauncher.main(
[20:58:21 ERROR]: at net.md_5.bungee.Bootstrap.main(
[20:58:21 ERROR]: Caused by: while parsing a block mapping
[20:58:21 ERROR]: in 'reader', line 49, column 2: