Skip to content

Instantly share code, notes, and snippets.

@ignaciocastro
ignaciocastro / ublock-youtube-annoyances
Created November 13, 2021 23:17
uBlock filters for Youtube search / homepage annoyances
##Add this to uBlock Origin > My filters
#Blocks unrelated results from search
www.youtube.com##ytd-shelf-renderer:has(#title:has-text(/^\s*(People also watched|For you|Previously watched|Latest from)\s*$/))
#Blocks list of recent uploads from a channel from search
www.youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/)
#Blocks Mix results from search
www.youtube.com##ytd-radio-renderer
#Blocks unrelated searches from search
www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for)
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active October 28, 2025 06:46
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@wavezhang
wavezhang / java_download.sh
Last active October 26, 2025 15:29
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@olasd
olasd / stream_to_youtube.sh
Created March 28, 2014 19:58
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube