Skip to content

Instantly share code, notes, and snippets.

View ycrack's full-sized avatar
😰
in deadlocks

ycrack ycrack

😰
in deadlocks
View GitHub Profile
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active December 16, 2025 02:48 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Last updated: 13 December 2025

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

Fix magisk stock backup does not exist

# put stock boot.img into /sdcard/boot.img

# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
@nwatab
nwatab / LazyCardMedia.tsx
Created August 17, 2020 00:20
Lazy load image in Material-UI Card Media
import React, {useState, useEffect, useRef} from 'react'
import { CardMedia } from '@material-ui/core'
interface ICardMediaProp {
component: string,
image: string,
alt: string,
height: string,
}
export default (props: ICardMediaProp) => {
@stepney141
stepney141 / BookmarkAPI_en.md
Last active December 10, 2025 02:53
(DEPRECATED) Twitter Undocumented Endpoints for Bookmark
@sho-t
sho-t / zsh_variable.md
Last active February 25, 2025 02:22
Zsh 変数メモ

variable

変数に関するメモ。 💤がついてるのはzsh 固有のもの。

📮 シェル変数と環境変数

  • シェル変数 → 子プロセスに継承されない
  • 環境変数 → 子プロセスに継承される

環境変数登録

@cFu3nbEt
cFu3nbEt / pi4qpsk_demod.grc
Created May 5, 2016 03:48
Pi/4-QPSK Demod
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.9'?>
<flow_graph>
<timestamp>Sat Jan 1 09:00:00 2000</timestamp>
<block>
<key>options</key>
<param>
<key>author</key>
<value></value>
</param>
@shobotch
shobotch / gist:2980648
Created June 24, 2012 00:13
softcasのsrcらしきもの。噂のwinscard.dllのソースコード
// cl.exe /Ox /GA /LD winscard.cpp
// winscard.cpp Put the following files in the same folder:
// Crypto.cpp, Crypto.h, Decoder-ECM.cpp, Decoder.h, Global.h
// Keys.cpp, Keys.h, Keyset.cpp, Keyset.h
// You should modify "Size" in Decoder-ECM.cpp l42 to "Size-3"
#include <Windows.h>
#define htons htons_
#define ntohs ntohs_
#include "Crypto.cpp"