Skip to content

Instantly share code, notes, and snippets.

View itskenny0's full-sized avatar

kenny itskenny0

  • I don't know what I'm doing, Inc.
  • Germany
View GitHub Profile
@danielchc
danielchc / docker-emby-bypass.md
Last active November 15, 2024 16:42
Emby Premiere: ByPass Docker container

Emby Premiere ByPass Docker container

❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it

Table of Contents

@phplaw
phplaw / link_and_bugs.md
Last active November 10, 2023 08:48
Everything about eGPU on Mac

scenario: you have a windows vm failing to boot with INACCESSIBLE_BOOT_DEVICE and changing the disk type to ide or something else causes another bsod. how to you get it to boot up again without a physical machine?

download the stable virtio drivers from here, in iso form: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

add the iso to your qemu/virt manager config as a cd/dvd drive

windows should send you to the recovery mode screen, but if it doesn't you might have to run a windows install iso to get to it.

@chall8908
chall8908 / dark-mode-toggle.js
Last active September 17, 2021 07:37
Rocket.Chat Dark Mode
// Toggleable dark mode for those of us that care about that kind of thing.
const toggleButton = '<button class="sidebar__toolbar-button rc-tooltip rc-tooltip--down js-button" aria-label="Toggle Dark Mode">D</button>';
function addDarkModeToggle() {
const sidebarToolbar = $('.sidebar__toolbar');
// wait for the sidebar toolbar to be visible
// this will also be false if the toolbar doesn't exist yet
if(!sidebarToolbar.is(':visible')) {
setTimeout(addDarkModeToggle, 250);
@edvinassabaliauskas
edvinassabaliauskas / rocket_theme_dark.js
Last active January 7, 2024 13:22
Dark theme enabler for Rocket.Chat. Theme taken from https://github.com/0x0049/Rocket.Chat.Dark
var ThemeEnabler = {
isThemeOn: false,
controls: null,
onAppLoaded: async function() {
this.checkCookie()
do {
@key-networks
key-networks / zerotier_rules.sh
Last active September 25, 2024 01:37
Bash script to add rules to Zerotier Network Controller
#!/bin/sh
#
# ztncui - ZeroTier network controller UI
# Copyright (C) 2017-2019 Key Networks (https://key-networks.com)
# Licensed under GPLv3 - see LICENSE for details.
#
TOKEN=`sudo cat /var/lib/zerotier-one/authtoken.secret`
echo -e "This is the list of networks avaialble on this Network Controller:"
@stek29
stek29 / idevicerestore.sh
Created January 12, 2019 12:22
idevicerestore on linux (Debian-based)
sudo apt update
# sudo apt upgrade
sudo apt install -y libcurl4-openssl-dev libplist-dev libzip-dev openssl libssl-dev libusb-1.0-0-dev libreadline-dev build-essential git make automake libtool pkg-config
git clone https://github.com/libimobiledevice/libirecovery
git clone https://github.com/libimobiledevice/idevicerestore
git clone https://github.com/libimobiledevice/usbmuxd
git clone https://github.com/libimobiledevice/libimobiledevice
git clone https://github.com/libimobiledevice/libusbmuxd
git clone https://github.com/libimobiledevice/libplist
@DavidBuchanan314
DavidBuchanan314 / panopto_dl.py
Last active June 22, 2023 22:21
Panopto video downloader
import requests
import json
import os
import youtube_dl
PANOPTO_BASE = "https://cardiff.cloud.panopto.eu"
"""
Place the value of your .ASPXAUTH token in the following variable
"""
@opus-x
opus-x / Spotify_Eliminate_Advertisements
Last active November 6, 2024 18:34
Eliminate Spotify Advertisements + Complete Server List
##################################################################################
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - ABANDONED FOR NOW #
##################################################################################
#
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x.
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT
# OCCUR USING CHROMECAST / GOOGLE HOME.
#
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP.
# SUGGESTIONS? WRITE A COMMENT BELOW.
@vladbabii
vladbabii / pi_readonly_auto_sh
Last active July 24, 2021 16:53
pi_readonly_auto.sh
#!/bin/bash
# based on
# https://learn.adafruit.com/read-only-raspberry-pi/
if [ $(id -u) -ne 0 ]; then
echo "Installer must be run as root."
echo "Try 'sudo bash $0'"
exit 1
fi