Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
onyxcode/journeyC

Dan onyxcode

💻
onyxcode/journeyC
View GitHub Profile
@onyxcode
onyxcode / sp
Last active Mar 19, 2021 — 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
onyxcode / build.sh
Last active Feb 17, 2021
Simple script to complie C files, run them, and them immediately delete them after.
View build.sh
#!/bin/bash
: '
░█████╗░  ░█████╗░░█████╗░███╗░░░███╗██████╗░██╗██╗░░░░░███████╗██████╗░
██╔══██╗  ██╔══██╗██╔══██╗████╗░████║██╔══██╗██║██║░░░░░██╔════╝██╔══██╗
██║░░╚═╝  ██║░░╚═╝██║░░██║██╔████╔██║██████╔╝██║██║░░░░░█████╗░░██████╔╝
██║░░██╗  ██║░░██╗██║░░██║██║╚██╔╝██║██╔═══╝░██║██║░░░░░██╔══╝░░██╔══██╗
╚█████╔╝  ╚█████╔╝╚█████╔╝██║░╚═╝░██║██║░░░░░██║███████╗███████╗██║░░██║
░╚════╝░  ░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚═╝░░░░░╚═╝╚══════╝╚══════╝╚═╝░░╚═╝
(Works on any Linux distro with gcc and chmod)
'
View program-with-ht.ml.sxcu
{
"Version": "1",
"DestinationType": "ImageUploader",
"RequestMethod": "POST",
"RequestURL": "https://program-with-ht.ml/backend/process.php",
"Body": "MultipartFormData",
"FileFormName": "files[]",
"URL": "$json:files['url']$"
}
@onyxcode
onyxcode / TAKEIT.css
Created Jun 25, 2020
I swear Milan if you don't take this CSS
View TAKEIT.css
.btn-outline-secondary {
display: none;
}
body.page-minimal {
background-image: url("https://github.com/ONXLive/CommercialAir/blob/master/bg.png?raw=true");
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 https://www.spigotmc.org/ for help.
[20:58:21 ERROR]: at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:83)
[20:58:21 ERROR]: at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:67)
[20:58:21 ERROR]: at net.md_5.bungee.conf.Configuration.load(Configuration.java:78)
[20:58:21 ERROR]: at io.github.waterfallmc.waterfall.conf.WaterfallConfiguration.load(WaterfallConfiguration.java:49)
[20:58:21 ERROR]: at net.md_5.bungee.BungeeCord.start(BungeeCord.java:279)
[20:58:21 ERROR]: at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
[20:58:21 ERROR]: at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
[20:58:21 ERROR]: Caused by: while parsing a block mapping
[20:58:21 ERROR]: in 'reader', line 49, column 2:
View keybase.md

Keybase proof

I hereby claim:

  • I am onyxcode on github.

  • I am onyxcode (https://keybase.io/onyxcode) on keybase.

  • I have a public key ASCgBLrDzM52UN_JHyuAxQv3PEzuYKQzNMkjJ4jg3qKjego