If you configure git like this:
git config filter.sqlite3.clean 'sqlite3 %f .dump'
git config filter.sqlite3.smudge 'sqlite3 %f'
echo '*.db filter=sqlite3' >> .git/info/attributes
and you have an sqlite3 database in a *.db file:
| ffmpeg -i "c:/videos/sample.mp4 | |
| -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 | |
| -c:v libx264 -crf 22 -c:a aac -ar 48000 | |
| -filter:v:0 scale=w=480:h=360 -maxrate:v:0 600k -b:a:0 64k | |
| -filter:v:1 scale=w=640:h=480 -maxrate:v:1 900k -b:a:1 128k | |
| -filter:v:2 scale=w=1280:h=720 -maxrate:v:2 900k -b:a:2 128k | |
| -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:480p v:2,a:2,name:720p" | |
| -preset slow -hls_list_size 0 -threads 0 -f hls -hls_playlist_type event -hls_time 3 | |
| -hls_flags independent_segments -master_pl_name "name-pl.m3u8" | |
| "c:/videos/encoded/name-%v.m3u8" |
If you configure git like this:
git config filter.sqlite3.clean 'sqlite3 %f .dump'
git config filter.sqlite3.smudge 'sqlite3 %f'
echo '*.db filter=sqlite3' >> .git/info/attributes
and you have an sqlite3 database in a *.db file:
This are a collection of fixes and tweaks I used to get Xubuntu 18.04 LTS working on a lenovo thinkpad X380 yoga laptop.
Bios:
(optional) find the settings for cpu power management and switch to power saving or balanced mode on battery (if not already)
| /* | |
| After purchasing a humble book bundle, go to your download page for that bundle. | |
| Open a console window for the page and paste in the below javascript | |
| this fork downloads all formats and does so without using jquery (since that didnt work for me) | |
| note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this | |
| type “about:plugins” in the address bar and disable chrome's pdf viewer | |
| */ | |
| var pattern = /(ZIP|MOBI|EPUB.*|PDF|PDF( ?\(H.\))?|CBZ|PRC|Download|Supplement)$/i; |
| *.db diff=sqlite3 |
I could not find a proper, detailed (and up-to-date) reverse-engineerment
of Omegle's text chat protocol on the internet, so here, have one made by analyzing the web app (web requests and source code).
The responses are beautified and the query strings split up and URI-decoded for
readability.
Note that "query string" refers to parameters encoded into the URL and
"form data" to parameters in the POST body which do not have to be URI-encoded.
TODO: