Skip to content

Instantly share code, notes, and snippets.

View jessielw's full-sized avatar
🎯
Focusing

Jessie Wilson jessielw

🎯
Focusing
View GitHub Profile
@SavageCore
SavageCore / how-to.md
Last active March 22, 2025 01:36
How to install and configure JellyStat on a Swizzin server

JellyStat on Swizzin

How to install and configure JellyStat on a Swizzin server

Introduction

JellyStat is a web-based statistics and monitoring tool for Jellyfin. It provides a dashboard with information about the server, the libraries, the users, and the playback activity. In this guide, we will install JellyStat via Docker on a Swizzin server.

Installation

@rlaphoenix
rlaphoenix / batch_vs_ffmpeg.py
Last active December 16, 2022 14:26
Batch VapourSynth & FFMPEG Python Script | Assumes `mpeg12.vpy` and `h264.vpy` scripts are next to it
import os
import subprocess
from pathlib import Path
import click
from pymediainfo import MediaInfo
BASE_FFMPEG_ARGS = [
"-nostats",
@goyuix
goyuix / HDR-to-SDR.txt
Created July 16, 2021 23:22
How to use FFMPEG to convert HDR video to SDR (standard dynamic range) while (mostly) retaining the same depth and intensity of colors, without washed-out colors, as the original HDR10+ video.
ffmpeg -i video-input.mp4 -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v libx265 -crf 22 -preset medium -tune fastdecode video-output.mp4
@Erutan409
Erutan409 / gitlab.rb
Last active April 10, 2025 13:47
Gitlab Nginx Reverse Proxy Configuration (with Let's Encrypt SSL)
# These are fragments of the configuration that will need to be updated
# ---
## GitLab URL
##! URL on which GitLab will be reachable.
##! For more details on configuring external_url see:
##! https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
external_url 'https://gitlab.your-fqdn.com'
#external_url 'http://gitlab.internal.lan'
@nicolasdao
nicolasdao / terminal_emojis.md
Last active April 24, 2025 21:12
Terminal emojis. Keywords: terminal console symbol emoji emoticon icon
Emoji Name Text example
🚀 Rocket You're up
📦 Package Installing additional dependencies...
Hook Running completion hooks...
📄 Document Generating README.md...
🎉 Party Successfully created project hello-vue.
👉 Next Get started with the following commands:
Tick Task completed
Magic Assembling project...
@mp035
mp035 / tk_scroll_demo.py
Last active March 2, 2025 09:02
A simple scrollable frame class for tkinter, including example usage.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import tkinter as tk
import platform
# ************************
# Scrollable Frame Class
# ************************
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 7, 2025 14:46
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@galli-leo
galli-leo / tmdbdump.py
Last active November 22, 2024 22:17
Dumping the entire TMDB database's json inside a directory. Usage: python3 tmdbdump.py START_ID (defaults to 1)
import requests
import time
import json
import sys
import threading
import queue
from datetime import timedelta
API_KEY = "YOUR_TMDB_APIKEY"
append_to_response = "images,alternative_titles,videos,credits,keywords,release_dates,similar_movies,recommendations" //Change this if you do not want all the data.
@peace098beat
peace098beat / MainApplication.py
Created April 28, 2015 12:18
[PyQt] Drag and Drop files
class MainWidget(QtGui.QMainWindow):
def __init__(self, parent=None):
super(MainWidget, self).__init__(parent)
self.setWindowTitle("FiFiFactory App")
self.resize(720,480)
self.setAcceptDrops(True)
def dragEnterEvent(self, event):
if event.mimeData().hasUrls():
event.accept()
@vladignatyev
vladignatyev / progress.py
Last active December 2, 2024 17:14
Python command line progress bar in less than 10 lines of code.
# The MIT License (MIT)
# Copyright (c) 2016 Vladimir Ignatev
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the Software
# is furnished to do so, subject to the following conditions:
#