Skip to content

Instantly share code, notes, and snippets.

View ZenitH-AT's full-sized avatar
🎯
Focusing

Robert Berge ZenitH-AT

🎯
Focusing
  • South Africa
  • 04:27 (UTC +02:00)
View GitHub Profile
@themagicalmammal
themagicalmammal / Optimizations_Artix.md
Last active December 7, 2025 01:14
Set of optimizations, I use on my Artix Setup
@Brainiarc7
Brainiarc7 / ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
Last active August 18, 2024 02:58
ffmpeg livestreaming to youtube via Nvidia's NVENC and Intel's VAAPI on supported hardware

Streaming your Linux desktop to Youtube and Twitch via Nvidia's NVENC and VAAPI:

Considerations to take when live streaming:

The following best practice observations apply when using a hardware-based encoder for live streaming to any platform:

  1. Set the buffer size (-bufsize:v) equal to the target bitrate (-b:v). You want to ensure that you're encoding in CBR mode.

  2. Set up the encoders as shown:

@reorx
reorx / admin.py
Created September 3, 2016 08:42
Django Admin: hide permission for UserAdmin, exclude useless permissions for GroupAdmin
# coding: utf-8
from django.contrib import admin
from django.contrib.auth.models import Group, User
from django.contrib.auth.admin import GroupAdmin, UserAdmin
from django.utils.translation import ugettext_lazy as _
class CustomUserAdmin(UserAdmin):
fieldsets = (
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 8, 2025 03:35
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname