Skip to content

Instantly share code, notes, and snippets.

@GunGunGun
GunGunGun / m3u8-to-youtube-live.md
Created March 22, 2024 00:44 — forked from qntmpkts/m3u8-to-youtube-live.md
Restream m3u8 stream with ffmpeg to youtube live

Setup YouTube Live Event

Head on over to your YouTube live Events page (https://www.youtube.com/my_live_events).

Create a new live event that is unlisted (or private) and of Custom type.

Under Basic ingestion choose 1500 Kbps - 4000 kbps (720p).

Check the Enable 60fps box.

😀 grinning face
😃 grinning face with big eyes
😄 grinning face with smiling eyes
😁 beaming face with smiling eyes
😆 grinning squinting face
😅 grinning face with sweat
🤣 rolling on the floor laughing
😂 face with tears of joy
🙂 slightly smiling face
🙃 upside-down face
@GunGunGun
GunGunGun / postgres_command.md
Created March 20, 2024 03:47 — forked from oNguyenNgocTrung/postgres_command.md
Tổng hợp những câu lệnh khi dùng Postgres SQL
@GunGunGun
GunGunGun / threadpoolss.py
Created March 16, 2024 09:34 — forked from kgaughan/threadpoolss.py
All the thread pool mixins for SocketServer are, well, not that good, so I knocked together my own. This one can cleanly shut down the pool
"""
Thread pool extensions to SocketServer.
"""
import Queue
import SocketServer
import sys
import threading
@GunGunGun
GunGunGun / image_to_text.js
Created March 3, 2024 01:21 — forked from NoCtrlZ1110/image_to_text.js
Extract text from image using Google Lens API
const fs = require('fs');
const axios = require('axios');
const FormData = require('form-data');
// Function to read the image file as a buffer
const readImageFile = (filePath) => {
return new Promise((resolve, reject) => {
fs.readFile(filePath, (err, data) => {
if (err) {
reject(err);
@GunGunGun
GunGunGun / 1-init.cmd
Created March 2, 2024 17:27 — forked from RobbiNespu/1-init.cmd
Portable postgre SQL on windows
@ECHO ON
:: Save the directory where we are
pushd %CD%
echo %CD%
:: Shift directories to the correct path
%~d0
cd %~dp0
@GunGunGun
GunGunGun / Portable Postgres Install
Created March 2, 2024 17:26 — forked from sspecht/Portable Postgres Install
Portable Postgres / PostGIS Install for Windows
Eine kurze Dokumentation, wie man Postgres/Postgis unter Windows ohne Installation betreibt:
- PG-Binaries (ZIP) herunterladen und entpacken
http://www.enterprisedb.com/products-services-training/pgbindownload
- Batch-Datei lt. Anhang bzw. lt.
http://www.postgresonline.com/journal/archives/172-Starting-PostgreSQL-in-windows-without-install.html
im Haupt-Verzeichnis speichern (das Verzeichnis, in dem /bin zu finden ist).
- Beim ERSTEN Start der run.bat muss die gekennzeichnete Zeile ausgeführt, danach aber wieder auskommentiert werden.
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("frida-il2cpp-bridge");
const SERVER_ADDRESS = "192.168.1.4"; // CHANGE THIS WITH YOUR SERVER IP / LOCAL IP
while (true) {
if (Process.findModuleByName("libil2cpp.so")) {
Il2Cpp.perform(() => {
const SDKConfigJsonData = Il2Cpp.Domain.assembly("Airisdk").image.class("Airisdk.SDKConfigJsonData");
SDKConfigJsonData.method("get_TestURL").implementation = function (...args) {
@GunGunGun
GunGunGun / researchtoolbox.md
Created January 9, 2024 01:51 — forked from viridiano/researchtoolbox.md
Researchers Toolbox – Tools for grad students and researchers

AWESOME LINGUISTICS - A curated list of anything remotely related to linguistics, sorted in alphabetical order. Awesome

Getting Started with Coding for Humanities Scholars (Python)

NOTE: The Programming Historian contains many coding lessons gea