Skip to content

Instantly share code, notes, and snippets.

View skybldev's full-sized avatar

Skybbles skybldev

View GitHub Profile
@skybldev
skybldev / ytdl-ogg.sh
Last active August 20, 2021 13:41
A script I use to quickly download YouTube videos into my music folder as .ogg files.
#!/usr/bin/env bash
# ytdl-ogg - quickly download a youtube video from a URL and save to an ogg,
# with an optional custom filename.
#
# USAGE:
# ytdl-ogg <URL> <output filename>
#
# If a custom filename is given, it will save to that name under OUTDIR.
# Otherwise, it will save to youtube-dl's default format under OUTDIR.
#
@skybldev
skybldev / ardour-apt-deps
Created November 10, 2020 04:13
Many of the needed dependencies of Ardour at least on Debian.
libasound2-dev
libpulse-dev
libglibmm-2.4-dev
libsndfile1-dev
libcurl4-openssl-dev
libarchive-dev
liblo-dev
libtag1-dev
vamp-plugin-sdk
librubberband-dev
@skybldev
skybldev / lqr.sh
Last active March 20, 2022 16:39
A script that content-aware-scales (or seam carves) a video.
#!/usr/bin/env bash
inputFile=$1 # input file
outputFile=$2 # output file
outputRes=$3 # output resolution in WIDTHxHEIGHT
fps=$4 # fps for both input and output
useLeftoverFrames=0 # whether or not to process already split frames
# create temp dir if it doesn't exist yet
if [[ ! -d ".lqrtemp/" ]]; then
echo ":: Creating temporary directory .lqrtemp/..."
@skybldev
skybldev / polybar
Created December 13, 2019 22:30
polybar config
[colors]
black = #0a0e14
blackGlass = #df0a0e14
whiteGlass = #eeeaeaff
warningYellow = #ffff11
red = #ff6666
blue = #77aaff
green = #aad7aa
membgGreen = #77aad7aa
mpdbgRed = #7fff7a7a
/* consolidated */
body,
.content,
#header-bottom-left,
.side,
.res-expando-box,
.expando,
.crosspost-preview-header {
background-color: #0D1016;
@skybldev
skybldev / convpng.js
Last active July 14, 2019 15:32
A JS wrapper for TheLastMillenial's TI-84+CE HDPICV image converter (version beta 2)
/**
* NAME:
* convpng.js - a JS wrapper for TheLastMillenial's TI-84+CE HDPICV image converter.
* SYNOPSIS:
* node convpng.js [OPTIONS] [SOURCE.png]
* DESCRIPTION:
* Since TLM is not as active on this project at the moment I decided to make a simple
* little wrapper for the old beta 2 version of the project. It requires Node.JS to be
* installed; apologies since JS is the language I am most proficient and fast with.
* Also, this only works on Windows.
#!/bin/sh
echo "
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_ __ _ _ ___ _
/\ /(_)___ _ _ __ _| | / _\ |_ _ _ __| (_) ___ / __\___ __| | ___
\ \ / / / __| | | |/ _\` | | \ \| __| | | |/ _\` | |/ _ \ / / / _ \ / _\` |/ _ \\
\ V /| \__ \ |_| | (_| | | _\ \ |_| |_| | (_| | | (_) | / /__| (_) | (_| | __/
\_/ |_|___/\__,_|\__,_|_| \__/\__|\__,_|\__,_|_|\___/ \____/\___/ \__,_|\___|
#!/bin/sh
echo "Detecting architecture...";
MACHINE_MTYPE="$(uname -m)";
ARCH="${MACHINE_MTYPE}";
REPO_VENDOR="headmelted";
echo "Ensuring curl is installed";
apt-get install -y curl;
@skybldev
skybldev / synonym.css
Last active September 16, 2018 00:58
CSS styling for Synonym(dot)com, because I'm a picky little kid who doesn't like ugly sites. The code is a little dirty, please forgive.
nav.navbar {
background: rgba(255, 255, 255, 0) !important;
padding-top: 0px;
}
div.row:not(.result) {
margin-top: -15px;
width: 1600;
backdrop-filter: blur(5px);
height: 150px;
}
Acc'rding to all known laws of aviation, th're is nay way a bee shouldst beest able to flyeth.
its wings art too bawbling to receiveth its bacon-fed dram corse off the did grind.
the bee, of course, flies concluded, be it because bees careth not what humans bethink is impossible.
yellow, black. Yellow, black. Yellow, black. Yellow, black.
ooh, black and yellow!
alloweth's shaketh t up a dram.
barry! breakfast is eft!
coming!
hangeth on a second.
holla?