Skip to content

Instantly share code, notes, and snippets.

View DerrikMilligan's full-sized avatar

Derrik Milligan DerrikMilligan

  • ApplicantPro
  • Idaho Falls
  • 05:35 (UTC -06:00)
View GitHub Profile
@SayantanRC
SayantanRC / jellyfin-samsung.md
Last active March 5, 2025 02:30
Sign Jellyfin for Samsung TVs

Prerequisite

This guide is based on using an Ubuntu VM. The whole process will take several hours when doing for the first time. I faced issues with Windows 11, but you are free to try it. There are helpful comments below for Windows users.

Please read all the steps first before proceeding.

Steps

  1. Get ubuntu 18.04 LTS. Create a VM if needed.
  2. Install Tizen Studio from here: https://developer.tizen.org/development/tizen-studio/download
  3. Run the .bin file from terminal
@fikovnik
fikovnik / make-audiobook.sh
Created June 16, 2024 18:38
Create a m4b file from mp3 files with metadata and image cover (tailored for audioteka.cz)
#!/bin/bash -x
CATEGORY="audioteka"
function get_mp3_tag() {
local file="$1"
local tag="$2"
ffprobe -v error -show_entries format_tags="$tag" -of default=noprint_wrappers=1:nokey=1 "$file"
}
@ktnyt
ktnyt / README.md
Created January 13, 2021 14:00
Sass color mixing for TypeScript.

Sass color mixing for TypeScript.

A literal clone of the mixcolor function provided in libsass in TypeScript. Calling the mix function will do the mixing as well as color hex value sanity checking among other things.

@m-radzikowski
m-radzikowski / script-template.sh
Last active January 27, 2025 07:00
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@wmcmurray
wmcmurray / cookie-clicker-hack.js
Last active January 21, 2025 14:45
Cookie Clicker hack (auto click on cookie, golden cookies and reindeers)