Legogender
Liaspec
Liaspec
Librafeminine
Librafeminine
Libragender
Libragender
Libralesbian
Libralesbian
Libramasculine
Libramasculine
Libramaverique
Libramaverique
Librandrogyne
Librandrogyne
Libranonbinary
Libranonbinary
Lilafluid
Lilafluid
Lingender
Lingender
Linkgender
Littlefluid
Littlefluid
Lolgender
Ludogender
Lunagender
Lunagender
Lunarset
Lunarset
Remove duplicate lines without changing order
Liaspec
Librafeminine
Libragender
Libralesbian
Libramasculine
Libramaverique
Librandrogyne
Libranonbinary
Lilafluid
Lingender
Linkgender
Littlefluid
Lolgender
Ludogender
Lunagender
Lunarset
Liaspec
Liaspec
Librafeminine
Librafeminine
Libragender
Libragender
Libralesbian
Libralesbian
Libramasculine
Libramasculine
Libramaverique
Libramaverique
Librandrogyne
Librandrogyne
Libranonbinary
Libranonbinary
Lilafluid
Lilafluid
Lingender
Lingender
Linkgender
Littlefluid
Littlefluid
Lolgender
Ludogender
Lunagender
Lunagender
Lunarset
Lunarset
Remove duplicate lines without changing order
nl -w1 gender.txt | sort -k2 | uniq -f1 | sort -n | cut -f2- > output.txtor this one works too keeping original order
awk '!seen[$0]++' gender.txt > output.txtLegogender
Liaspec
Librafeminine
Libragender
Libralesbian
Libramasculine
Libramaverique
Librandrogyne
Libranonbinary
Lilafluid
Lingender
Linkgender
Littlefluid
Lolgender
Ludogender
Lunagender
Lunarset
regex searches for a replaces any digits mixed with periods / dots 00.34.77 which are timestamps created by
LosslessCut
you need to use a . instead of using quantifier or whatever it's called. I used 23 or 24 ..... periods.-(\d)........................
this also works-(\d+).(\d+).(\d+).(\d+).(\d+).(\d+).(\d+).(\d+)(\D)-(\d)........................multiple dashes in filename so
$1
(\D) matches non-digit (like abcd, etc.) then a dash and replace with first string $1 which is the letter. Otherwise the last letter gets chopped off at end of filename.If there is a numeral at the end like Part 1 change the first (\D) to lowercase to indicate digit like so
(\d)-(\d)........................
\1batch compressed each PDF by about 75%.
made a subdirectory
made a subdirectory
output thenparallel --tag -j 2 ocrmypdf -s -O 2 --skip-big .1 '{}' 'output/{}' ::: *.pdf
Got an OutofMemory Heap error in PDFSam when trying to process a ton of PDFs. So start PDFSam this way with using 2.4GB of memory instead of the 512MB default for java apps.java -jar -Xmx2400m /opt/pdfsam-basic/pdfsam-basic-4.3.0.jarAs to why PDFSam isn't compressing even with PDF 1.5 checked I have no idea. Thus it's necessary to use ocrmypdf to do the compression.
Putting spaces between joined capitalized words with regex — renaming files
Make sure
TheParableofTheFigTree rename it to The Parable of The Fig Tree
Search and replace all using([a-z])([A-Z])replace all with
$1 $2
[a-z] lowercase letters([a-z]) groups that single letter[A-Z] uppercase letters$1 1st string and $2 2nd stringMake sure
Case Sensitive Search is checkedThis media is not supported in your browser
VIEW IN TELEGRAM
Beavis and Butthead learn of their White Privilege
original video re-encoded to 720p but has a low volume
original video re-encoded to 720p but has a low volume
ffmpeg -i beavisprivilege_original.mp4 -af volumedetect -f null /dev/nullshows the following
mean_volume: -32.7 dB
max_volume: -7.6 dB
To boost the audio volume by 12dB (make sure to capitalize the B) add -
If you just wish to re-encode the audio without having to re-encode the video again change the following
af "volume=12dB" just before the -vf (video filter). -af stands for audio filterIf you just wish to re-encode the audio without having to re-encode the video again change the following
-c:v hevc -crf 28 -c:a libopus -b:a 16k -af "volume=12dB" -vf scale="-2:720"change to as to copy the video not re-encoding it
-c:v copy -c:a libopus -b:a 16k -af "volume=12dB"