- Downgrade phone to KitKat (4.4.4)
- Enter settings and enable ADB
- When in samsung account setup, enter text, select text and click on dictionary
- Press back and select "Internet Search" on the bottom
- In google, remove search terms and search for "Settings" app instead
If it doesnt work, connect wifi and reboot so that google app can update in background. - enable developer options and enable adb
- connect to computer using adb
if the authorization prompt doesnt show up, go back to settings main page and try switching between simple and normal launcher modes few times
| #!/bin/sh | |
| # regurarily copy WhatsApp ViewOnce images into sdcard | |
| while true; do | |
| sleep 60 | |
| [ "$(ls /data/data/com.whatsapp/files/ViewOnce | wc -l)" -eq 0 ] && continue | |
| mkdir -p /sdcard/Pictures/WhatsApp/ViewOnce | |
| cp -d -u -p /data/data/com.whatsapp/files/ViewOnce/* -t /sdcard/Pictures/WhatsApp/ViewOnce | |
| done |
| % insert these two lines after your \usepackage{cleveref} | |
| % then use \mintedlinelabel{labelname} inside the minted file using the "escapeinside" minted option | |
| % then \cref and deriviates should correctly reference as "line x" | |
| \newcounter{line} | |
| \newcommand{\mintedlinelabel}[1]{\setcounter{line}{\value{FancyVerbLine}}\addtocounter{line}{-1}\refstepcounter{line}\label{#1}} |
This Gist provides an easy to use script for ripping DVDs using FFmpeg.
Install
ffmpeg,
libdvdcss2
and lsdvd
on your system.
| lsdvd -x -Oy | sed -e 's/^lsdvd = //' -e "s/'/\"/g" | tr -d '\n'| sed -e 's/,\s*}/}/g' -e 's/,\s*]/]/g' |
| diff --git a/Android.bp b/Android.bp | |
| index a2a2cbdc8..16dc0e699 100644 | |
| --- a/Android.bp | |
| +++ b/Android.bp | |
| @@ -252,7 +252,7 @@ cc_library { | |
| target: { | |
| android: { | |
| static: { | |
| - enabled: false, | |
| + enabled: true, |
After mkvmerge processed an mkv file, all streams have a lot of statistics metadata tagged onto them.
For example:
Stream #0:27: Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 40153
DURATION-eng : 02:26:34
NUMBER_OF_FRAMES-eng: 3294
NUMBER_OF_BYTES-eng: 34073971
Jellyfin uses only ISO 639-2 language codes
to translate the metadata tag eng to English for the track selector.
For some languages multiple such tags exist, for example Germany has ger and deu.
Here only the tag deu is correctly translated to German whilst ger remains unrecognized.
mkvmerge always replaces the language codes with the matroska specified set of langauge codes,
which sadly are the wrong ones for Jellyfin.
As an end user one can use ffmpeg to rewrite the metadata language tags to the correct set for Jellyfin.
| #!/bin/bash | |
| SEMPATH="/tmp" | |
| SEMNAME="" | |
| semtake() { | |
| local name="$1" | |
| [ -z "$name" ] && echo "Missing semaphore name!" && return 1 | |
| local j="$2" | |
| [ -z "$2" ] && j=$(nproc) |
| #!/bin/bash | |
| # TorSocksMultiCore | |
| # a wrapper for torsocks for multicore tor execution | |
| # | |
| # This script starts a new tor daemon everytime it is invoked. | |
| # This way every command or shell will have it's own tor daemon. | |
| # The usage is functionally equivalent to torsocks itself. | |
| # |