Skip to content

Instantly share code, notes, and snippets.

View KarimJedda's full-sized avatar
🥔
Potatoes

Karim KarimJedda

🥔
Potatoes
View GitHub Profile
@KarimJedda
KarimJedda / docker.md
Created February 28, 2022 21:32 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@KarimJedda
KarimJedda / meta-tags.md
Created January 28, 2022 18:26 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags
@KarimJedda
KarimJedda / hngen.py
Last active September 27, 2021 12:51 — forked from grantslatton/hngen.py
A program that uses Markov chains to generate probabilistic Hacker News titles.
# coding: utf8
import urllib.request
import re
import sys
from collections import defaultdict
from random import random
import time
"""
# No need to run this
@KarimJedda
KarimJedda / ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
Created January 4, 2021 04:02 — forked from Brainiarc7/ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
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: