Skip to content

Instantly share code, notes, and snippets.

View py7hon's full-sized avatar

Iqbal Rifai py7hon

View GitHub Profile
@chrisdone
chrisdone / gist:02e165a0004be33734ac2334f215380e
Last active August 10, 2025 18:20
Build and run minimal Linux / Busybox systems in Qemu

Common

export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS

Linux kernel

@py7hon
py7hon / uploader.py
Created January 29, 2018 09:18
Nyaa.pet Uploader Without API
#!/usr/bin/env python3
# Created by Muhammad Iqbal Rifai
# Date 29/01/2018
# Time 16.07 UTC+7
List command of yukari bot <https://www.facebook.com/bot.yukari>
-------------------------------
IF YOU HAVE ANY ISSUE PLEASE CONTACT ME (I REALLY NEED IT)
gr33ntii@gmail.com
-------------------------------
$g9 : Chúc ngngon bn trước khi đi ng
$level : Kim tra đim và level ca bn <3
@CTimmerman
CTimmerman / .prospector.yaml
Last active June 30, 2025 08:06
Out Of Memory (OOM) Killer to save your SSD and other processes.
pylint:
disable:
- line-too-long
- multiple-imports
- pointless-string-statement
- too-many-nested-blocks
@mrbar42
mrbar42 / README.md
Last active July 25, 2025 18:19
Secured HLS setup with Nginx as media server

Secured HLS setup with Nginx as media server

This example is part of this article.

This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:

  • Domain filtering
  • Referrer filtering
  • Embed buster
@brendan-rius
brendan-rius / Dockerfile
Created June 13, 2018 22:19
DeamonSet for setting inotify config in each nodein k8s
FROM alpine
COPY configure-node.sh configure-node.sh
CMD ["/bin/sh", "configure-node.sh"]
@jc00ke
jc00ke / install-2.3.1.md
Last active June 28, 2019 22:21
Install Ruby 2.3.1 on Manjaro Linux
$> sudo pacman -S gcc5 openssl-1.0
$> CC=gcc-5 CXX=g++-5 PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig/:/usr/lib/pkgconfig/RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr
/lib/openssl-1.0/ asdf install ruby 2.3.1

Detailed steps

@noaione
noaione / PNG2SUB.py
Created December 5, 2018 10:37
PNG2SUB, OCR PNG + XML File to Subtitle File (.ass or .srt)
import pytesseract
import numpy as np
from PIL import Image, ImageOps
import xml.etree.ElementTree as ET
import os, sys
import argparse
ASS_HEADERS = """[Script Info]
; File generated by N4O PNG2SUB
Title: PNG2SUB
@xero
xero / ansicat.c
Created January 22, 2019 15:44
cp437 decoder. display ansi art in modern utf8 shells. cc0 / kopimi: unixbros (dcat & x0)
/*
* .
* .__ .______/| .____ ____. .___ __.
* _____\ \ ___/_ \ _|____\____Y __/____ _____\ Y /__.
* / _ \ X / \ X | \ X _ \ | ___/---.
* | \ | / l____ > | | \ | \ |
* | ::.. __l__/ ::.__| / .: /:.__l__ ..:: | ::.. __l__ ..:: |
* l______ / \______/ /___ /| _/ \ ______l______ / \ ______|
* \/ \/ |/ \/ \/ \/ x0!
*