Skip to content

Instantly share code, notes, and snippets.

@EgorBron
EgorBron / discord-revive.md
Last active February 23, 2026 12:09
Восстанавливаем доступ к ДС с помощью Amnezia WG

Оживляем ДС

Ранее, здесь находился гайд по тому, как вернуть доступ к Discord и прочим недоступным ресурсам.

Но в свете последних событий — сбои Cloudflare (как с их стороны, так и со стороны этой страны), появления адекватных способов сделать всё как раньше, [вставьте-сюда-ваши-необузданные-догадки-почему-всё-накрылось-медным-тазом] — теперь тут пусто.

Да и банальный уход автора из ДС, ровно как и малое понимание в тунеллировании и прочем таком, как-то отбросили желание поддерживать актуальность статьи.

@sikang99
sikang99 / vidstab.md
Last active January 10, 2026 22:12
Video Stabilization

Video Stabilization

  • AIS : AI Image Stabilization
  • DIS : Digital Image Stabilization
  • EIS : Electronic Image Stabilization
  • HIS : Hybrid Image Stabilization = EIS + OIS
  • OIS : Optical Image Stabilization

Articles

@conholdate-gists
conholdate-gists / convert-rar-to-zip.cs
Created September 27, 2023 18:54
Convert RAR to ZIP Online | RAR File to ZIP File Converter | WinRAR to ZIP
using (Archive zip = new Archive())
{
using (Aspose.Zip.Rar.RarArchive rar = new Aspose.Zip.Rar.RarArchive("archvie.rar"))
{
for (int i = 0; i < rar.Entries.Count; i++)
{
if (!rar.Entries[i].IsDirectory)
{
var ms = new MemoryStream();
rar.Entries[i].Extract(ms);
@lopestom
lopestom / Using online resource to build custom recovery-I.md
Last active March 4, 2026 06:55
Building custom recovery - TeamWin - Fox - SHRP - PBRP online

Using online resource to build custom recovery - TeamWin - Fox - SHRP - PBRP

logo

Q&A - A quick understanding of the meaning of this tutorial.

  • What is the purpose of this tutorial?

    Understand that more and more you need a good PC/laptop/notebook equipment to compile Custom Recovery. Unfortunately, many people cannot or do not have the time to test/compile the device tree.

  • Why am I writing this?

@sadiqsalau
sadiqsalau / mtk-partitions.txt
Last active October 10, 2025 11:58
MTK Partitions
MTK platform partition meaning
#Pre-loader
Pre-loader image
Handles all the download and secure boot procedure
#DSP_BL
DSP Boot Loader
#MBR、EBR1、EBR2
Ext4 file system partition index table
import cv2
import numpy as np
import pandas as pd
import tqdm
import imutils
import os
class VideoStabilizer:
def __init__(self, video_in_path, video_out_path, side_by_side=False, crop_percent=None, max_width=500):
@coderofsalvation
coderofsalvation / crossfadevideo.sh
Last active November 29, 2025 04:40
ffmpeg commandline crossfade-looped video
#!/bin/bash
[[ ! -n $3 ]] && { echo "Usage: crossfadevideo <input.mp4> <fade in seconds> <output.mp4> [looptimes]"; exit; }
input="$1"
fade="$2"
duration="$(ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 "$input")"
duration=$(echo "$duration-($fade)" | bc | sed 's/\..*//g')
[[ ${duration:0:1} == "." ]] && duration="0$duration"
output="$3"
[[ -n $4 ]] && loop=$4 && output="${output}.mkv"
set -x
@joshooaj
joshooaj / New-Timelapse.ps1
Last active May 8, 2025 16:55
Create a timelapse video using MilestonePSTools to retrieve jpegs from a Milestone VMS and ffmpeg to compile those snapshots into an h264 timelapse video
function New-Timelapse {
<#
.SYNOPSIS
Exports still images from XProtect and creates a timelapse video using ffmpeg.
.DESCRIPTION
This example function saves jpeg images from the recordings of the specified
camera to a temp folder, and uses these images as input to the ffmpeg
command-line utility to generate a timelapse video from the images.
@cortinico
cortinico / build-app-workflow.yaml
Created July 29, 2020 07:11
The simplest workflow to build your Android App on Github Actions
name: Build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Build the app
run: ./gradlew build
@rolambert
rolambert / client_side_cache.ps1
Created July 15, 2020 15:15
the script takes ownership of client side cache content on windows 7
function takeownershipandmovecsc{
param(
[String]$username, #$env:username
[string]$homeshare,
[String]$homea, # $home
[string]$systemroot, # $env:systemroot
[String]$SysDrive #$env:SystemDrive
)