Channel: GeekTips
zip -r dir.zip . -x "*.DS_Store"
Navigate to the directory you wish to zip on mac and this avoids putting .DS_Store and __MACOSX folders which are annonying for Linux and Windows users.
Title Case / Sentence Case
First it's hard to properly name these terms since some say it mean capitlize of letter of every word and others do not.
So I use the python title case for chapter names
https://github.com/ppannuto/python-titlecase
This one is in Rust
https://github.com/wezm/titlecase
Perl (the original)
https://gist.github.com/gruber/9f9e8650d68b13ce4d78
PHP
https://gist.github.com/hipsterjazzbo/2532c93a18db7451b0cec529c95b53c4
Javascript
https://github.com/bdougherty/better-title-case
https://github.com/artsy/to-title-case
https://github.com/directus/format-title
Obsidian (note taking app)
https://github.com/ChaseTramel/obsidian-title-case-note-title
VSCode extensions
Can do Titlelize (AP) or Chicago Style
First it's hard to properly name these terms since some say it mean capitlize of letter of every word and others do not.
So I use the python title case for chapter names
https://github.com/ppannuto/python-titlecase
This one is in Rust
https://github.com/wezm/titlecase
Perl (the original)
https://gist.github.com/gruber/9f9e8650d68b13ce4d78
PHP
https://gist.github.com/hipsterjazzbo/2532c93a18db7451b0cec529c95b53c4
Javascript
https://github.com/bdougherty/better-title-case
https://github.com/artsy/to-title-case
https://github.com/directus/format-title
Obsidian (note taking app)
https://github.com/ChaseTramel/obsidian-title-case-note-title
VSCode extensions
Captilize
(Viable lab) to Chicago styleString Manipulation
(marclipovsky)Can do Titlelize (AP) or Chicago Style
GitHub
GitHub - ppannuto/python-titlecase: Python library to capitalize strings as specified by the New York Times Manual of Style
Python library to capitalize strings as specified by the New York Times Manual of Style - ppannuto/python-titlecase
So that's all well and good but still only this one Sentence Case (with proper noun recognition) only place seems to be titlecaseconverter.com and besides that it must be a grammar checker and those ones want money.
https://titlecaseconverter.com/
This isn't a big deal but sometimes when whisper freaks out I needed to convert proper nouns to first letter capitilized so that's why I wrote https://hottg.com/geektips/802 Proper-Nouns script but seems bizarre there aren't any other ones to detect that.
https://titlecaseconverter.com/
well check out russia the city moscow.and converts it to
Lord Of The Rings
Well check out Russia the city Moscow.as opposed to just a Title Case AP style
Lord of the Rings
Well Check Out Russia the City Moscow.which can be use to check an entire book but limit is 150 characters I believe.
Lord of the Rings
This isn't a big deal but sometimes when whisper freaks out I needed to convert proper nouns to first letter capitilized so that's why I wrote https://hottg.com/geektips/802 Proper-Nouns script but seems bizarre there aren't any other ones to detect that.
Titlecaseconverter
Title Case Converter – A Smart Title Capitalization Tool
Automatically convert text to title case (AMA, AP, APA, MLA, Chicago), sentence case (with proper noun handling), uppercase, lowercase. Try it out!
GeekTips
So that's all well and good but still only this one Sentence Case (with proper noun recognition) only place seems to be titlecaseconverter.com and besides that it must be a grammar checker and those ones want money. https://titlecaseconverter.com/ well check…
Since I have telegram premium for a month might as well upload over 2GB files while I can.
Hiren’s BootCD PE x64 v1.0.2
This download may trigger a virus warning. This is a false warning. This happens because of some of the advanced tools in this disk image.
Hiren’s BootCD PE (Preinstallation Environment) is a restored edition of Hiren’s BootCD based on Windows 10 PE x64. Since there are no official updates after November 2012, PE version is being developed by Hiren’s BootCD fans. It contains the fewest but best free tools. It is being developed for the new age computers, it supports UEFI booting and requires a minimum of 2 GB RAM.
With the useful tools inside of the CD, you can fix many problems related to your computer. It does not contain any pirated software, it contains only free and legal software.
BCD-MBR Tools
BootIce v1.3.3
EasyBCD v2.3
Hard Disk Tools – Data Recovery
CheckDisk GUI v0.3.1
Lazesoft Data Recovery v4.0.0.1
Puran Data Recovery v1.2.0
Puran File Recovery v1.2.0
Recuva v1.53.0.1087
DMDE v3.8.0
ReclaiMe build 3475
PhotoRec v7.2
Unstoppable Copier v5.2
Hard Disk Tools – Defrag
Defraggler v2.22.33.995
Hard Disk Tools – Diagnostic
GSmartControl v1.1.3
HDDScan v4.1
HDTune v2.55
WD Data Lifeguard Diagnostics v1.37
Crystal Disk Info v8.12.2
Test Disk v7.2
Hard Disk Tools – Imaging
Acronis TrueImage 2021 build 39216
AOMEI Backupper v6.5.1
Lazesoft Disk Image & Clone v4.0.0.1
Macrium Reflect PE v7.3.5925
Runtime DriveImage XML v2.60
Hard Disk Tools – Partition Tools
AOMEI Partition Assistant v9.2.1
Macrorit Partition Extender v1.5.0
Macrorit Partition Expert v5.6.1
DiskGenius v5.4.2.1239
EaseUS Partition Master v14.5
Hard Disk Tools – Security
HDD Low Level Format Tool v4.40
Eraser v6.2
Windows Recovery
Lazesoft Windows Recovery v4.0.0.1
Other Tools
FSViewer v7.5
Free Office rev 703
Sumatra PDF v3.2
7-Zip v21.02
ExamDiff Pro v12.0.1.1
HxD v2.5.0
Notepad++ v8.1
WinMerge v2.16.12
VLC Media Player v3.0.16
Removable Drive Tools
CDBurnerXP v4.5.8.7128
Rufus v3.14.1788
Security – AntiVirus
ESET Online Scanner v3.5.6
Malwarebytes Anti-Malware v2.2.1.1043
McAfee Stinger v12.2.0.268
Kaspersky Virus Removal Tool
Security – KeyFinders
ProduKey v1.97
ShowKeyPlus v1.0.7060
Security – Passwords
Lazesoft Password Recovery v4.0.0.1
NT Password Edit v0.7
Windows Login Unlocker v1.6
System Tools
CPU-Z v1.96
GPU-Z v2.40
HWInfo v7.04-4480
Speccy v1.32.774
WinNTSetup v4.6.3
Attribute Changer v10.0
Change Keyboard Layout v1.0.0
Dependency Walker v2.2.6
Registry Backup v4.0.0
Regshot v2.0.1.70
SysInternals Suite
PowerShell Core v7.1.3
Network
Aero Admin v4.7
Acrylic Wi-Fi Home v4.5.7802
Chrome v91.0.4472.106
Mozilla Firefox Quantum ESR v78.11.0.7821
PENetwork v0.59.0.B12
ISO MD5 BEC7304FE2EB11DE495B9EA7B73C38AA
ISO SHA1 EC7D4EC02A8772A4ECAEE59A9095D65B043AA77D
ISO SHA-256 8281107683E81BE362AFD213026D05B2219BC6A7CA9AF4D2856663F3FFC17BFD
Hiren’s BootCD PE supports UEFI booting from DVD and USB flash drives. To format, re-partition your USB drive and to copy the ISO content into your USB drive propertly, we have developed Hiren’s BootCD PE – USB2ISO portable tool. You need Administrator privileges to run it. It is free both for commercial and non-commercial use.
Hiren’s BootCD PE x64 v1.0.2
This download may trigger a virus warning. This is a false warning. This happens because of some of the advanced tools in this disk image.
Hiren’s BootCD PE (Preinstallation Environment) is a restored edition of Hiren’s BootCD based on Windows 10 PE x64. Since there are no official updates after November 2012, PE version is being developed by Hiren’s BootCD fans. It contains the fewest but best free tools. It is being developed for the new age computers, it supports UEFI booting and requires a minimum of 2 GB RAM.
With the useful tools inside of the CD, you can fix many problems related to your computer. It does not contain any pirated software, it contains only free and legal software.
Hiren’s BootCD PE x64 (v1.0.2) – ISO
ContentsBCD-MBR Tools
BootIce v1.3.3
EasyBCD v2.3
Hard Disk Tools – Data Recovery
CheckDisk GUI v0.3.1
Lazesoft Data Recovery v4.0.0.1
Puran Data Recovery v1.2.0
Puran File Recovery v1.2.0
Recuva v1.53.0.1087
DMDE v3.8.0
ReclaiMe build 3475
PhotoRec v7.2
Unstoppable Copier v5.2
Hard Disk Tools – Defrag
Defraggler v2.22.33.995
Hard Disk Tools – Diagnostic
GSmartControl v1.1.3
HDDScan v4.1
HDTune v2.55
WD Data Lifeguard Diagnostics v1.37
Crystal Disk Info v8.12.2
Test Disk v7.2
Hard Disk Tools – Imaging
Acronis TrueImage 2021 build 39216
AOMEI Backupper v6.5.1
Lazesoft Disk Image & Clone v4.0.0.1
Macrium Reflect PE v7.3.5925
Runtime DriveImage XML v2.60
Hard Disk Tools – Partition Tools
AOMEI Partition Assistant v9.2.1
Macrorit Partition Extender v1.5.0
Macrorit Partition Expert v5.6.1
DiskGenius v5.4.2.1239
EaseUS Partition Master v14.5
Hard Disk Tools – Security
HDD Low Level Format Tool v4.40
Eraser v6.2
Windows Recovery
Lazesoft Windows Recovery v4.0.0.1
Other Tools
FSViewer v7.5
Free Office rev 703
Sumatra PDF v3.2
7-Zip v21.02
ExamDiff Pro v12.0.1.1
HxD v2.5.0
Notepad++ v8.1
WinMerge v2.16.12
VLC Media Player v3.0.16
Removable Drive Tools
CDBurnerXP v4.5.8.7128
Rufus v3.14.1788
Security – AntiVirus
ESET Online Scanner v3.5.6
Malwarebytes Anti-Malware v2.2.1.1043
McAfee Stinger v12.2.0.268
Kaspersky Virus Removal Tool
Security – KeyFinders
ProduKey v1.97
ShowKeyPlus v1.0.7060
Security – Passwords
Lazesoft Password Recovery v4.0.0.1
NT Password Edit v0.7
Windows Login Unlocker v1.6
System Tools
CPU-Z v1.96
GPU-Z v2.40
HWInfo v7.04-4480
Speccy v1.32.774
WinNTSetup v4.6.3
Attribute Changer v10.0
Change Keyboard Layout v1.0.0
Dependency Walker v2.2.6
Registry Backup v4.0.0
Regshot v2.0.1.70
SysInternals Suite
PowerShell Core v7.1.3
Network
Aero Admin v4.7
Acrylic Wi-Fi Home v4.5.7802
Chrome v91.0.4472.106
Mozilla Firefox Quantum ESR v78.11.0.7821
PENetwork v0.59.0.B12
ISO MD5 BEC7304FE2EB11DE495B9EA7B73C38AA
ISO SHA1 EC7D4EC02A8772A4ECAEE59A9095D65B043AA77D
ISO SHA-256 8281107683E81BE362AFD213026D05B2219BC6A7CA9AF4D2856663F3FFC17BFD
Hiren’s BootCD PE supports UEFI booting from DVD and USB flash drives. To format, re-partition your USB drive and to copy the ISO content into your USB drive propertly, we have developed Hiren’s BootCD PE – USB2ISO portable tool. You need Administrator privileges to run it. It is free both for commercial and non-commercial use.
HBCD_PE_x64.iso
2.9 GB
Hiren’s BootCD PE x64 (v1.0.2) – ISO
HBCD_PE_x64 2955MiB / 2.9GB
Changes:
Hiren’s BootCD PE x64 v1.0.2 (1 July 2021):
Hiren’s BootCD PE Windows 10 core has been updated to version 21H1 (build 19043.928).
195 new drivers have been integrated at the IO, Network and Storage categories.
Almost all utilities have been updated.
New added utilities: DMDE, ReclaiMe, PhotoRec, Unstoppable Copier, Test Disk, Crystal Disk Info, DiskGenius, EaseUS Partition Master, Macrorit Partition Expert, Eraser, VLC Media Player, McAfee Stinger, Kaspersky Virus Removal Tool, Windows Login Unlocker.
Removed utilities: Runtime (GetDataBack for FAT, GetDataBack for NTFS, GetDataBack Simple, NAS Data Recovery, RAID Reconstructor, RAID Recovery for Windows, Captain Nemo, DiskExplorer for FAT, DiskExplorer for Linux, DiskExplorer for NTFS), CCleaner, Teamviewer.
https://www.hirensbootcd.org/
ubcd539.iso
803.5 MB
ubcd539.iso 803MiB
Ultimate Boot CD 5.3.9 assembles over 100 PC hardware diagnosis tools into one bootable CD to analyze and repair hard drives and to fix boot problems (CD iso).
The Ultimate Boot CD is a bootable CD that contains tools for your computer's BIOS and CPU, Boot Management, Data Recovery, Device Info and Management, Diagnosis, Disk Cloning, Disk Editing, Disk Wiping, Installation, Partition Management, Memory. Because it has its own operating system, you can use it even if Windows does not start. The provided tools are extremely powerful, but not very easy to use. The interface is rather rudimentary and can be confusing. Due to the nature of the tools, the Ultimate Boot CD was created for the more advanced user. Also keep in mind that none of the tools can be used within the Windows environment. If you don't know how to change the BIOS/UEFI settings in order to boot your PC from a CD, you'd better stay away from it.
August 18, 2020
md5sum: eae10b5c03d7e6c6f719e5bc8eed279a
sha1sum: 2df6377baca75c6e9e615c4f6c88b03e21e5e06d
Downgraded SeaTools for DOS (GUI) to V2.22 at Kaur Kuut's recommendation. Apparently the only feature introduced in V2.23 was long test timeout failure, but that prevents large capacity HDDs from completing the long generic test. Seagate subsequently removed this feature in SeaTools for Windows V1.4.0.2, but never did for SeaTools for DOS V2.23.
Updated Parted Magic to 2013_08_10. Thanks to James LaBarre for the tip.
Updated photorec, testdisk and fidentify to v7.1 through new module.
Updated Q&D Unit Clone to V1.1r. Thanks to author for the update.
https://www.ultimatebootcd.com/
Ultimate Boot CD 5.3.9 assembles over 100 PC hardware diagnosis tools into one bootable CD to analyze and repair hard drives and to fix boot problems (CD iso).
The Ultimate Boot CD is a bootable CD that contains tools for your computer's BIOS and CPU, Boot Management, Data Recovery, Device Info and Management, Diagnosis, Disk Cloning, Disk Editing, Disk Wiping, Installation, Partition Management, Memory. Because it has its own operating system, you can use it even if Windows does not start. The provided tools are extremely powerful, but not very easy to use. The interface is rather rudimentary and can be confusing. Due to the nature of the tools, the Ultimate Boot CD was created for the more advanced user. Also keep in mind that none of the tools can be used within the Windows environment. If you don't know how to change the BIOS/UEFI settings in order to boot your PC from a CD, you'd better stay away from it.
August 18, 2020
md5sum: eae10b5c03d7e6c6f719e5bc8eed279a
sha1sum: 2df6377baca75c6e9e615c4f6c88b03e21e5e06d
Downgraded SeaTools for DOS (GUI) to V2.22 at Kaur Kuut's recommendation. Apparently the only feature introduced in V2.23 was long test timeout failure, but that prevents large capacity HDDs from completing the long generic test. Seagate subsequently removed this feature in SeaTools for Windows V1.4.0.2, but never did for SeaTools for DOS V2.23.
Updated Parted Magic to 2013_08_10. Thanks to James LaBarre for the tip.
Updated photorec, testdisk and fidentify to v7.1 through new module.
Updated Q&D Unit Clone to V1.1r. Thanks to author for the update.
https://www.ultimatebootcd.com/
Ikki_Boot_23.07.iso
2.4 GB
Ikki_Boot_23.07.iso 2408 MiB / 2.4GB
07/01/23 Version 23.07
Porteus :
update :
clamav 1.0.1
gnumeric 1.12.55
hypnotix 3.4
mkusb 23.1.1
noscript 11.4.24
partclone 0.3.23
timeshift 23.06.2
ublock origin 1.50.0
add :
asciinema 2.2.0
ghex 3.18.4 (replace nchexedit)
gnome-multi-writer 3.35.90
tilix 1.9.5 (replace zellij)
add in extra directory :
aircrack-ng 1.7
fsarchiver 0.8.7
On Porteus add shortcuts to download and install :
Borg
Rclone
SeaMonkey
Tor Browser
The next version will be released in 2024.
07/01/23 Version 23.07
Porteus :
update :
clamav 1.0.1
gnumeric 1.12.55
hypnotix 3.4
mkusb 23.1.1
noscript 11.4.24
partclone 0.3.23
timeshift 23.06.2
ublock origin 1.50.0
add :
asciinema 2.2.0
ghex 3.18.4 (replace nchexedit)
gnome-multi-writer 3.35.90
tilix 1.9.5 (replace zellij)
add in extra directory :
aircrack-ng 1.7
fsarchiver 0.8.7
On Porteus add shortcuts to download and install :
Borg
Rclone
SeaMonkey
Tor Browser
The next version will be released in 2024.
So here's my script using python pixelate
There is an advanced pixelate app but don't think I need that one just a simple one
https://github.com/sedthh/pyxelate
If you just wanna convert a few images yourself try this free online one
https://giventofly.github.io/pixelit/
also convert (image magick) doesn't work well at all for svg to png so rsvg-convert to the rescue which can be installed by
https://fffuel.co/pppixelate/
but I got over 30,000 static svgs to batch convert so it's not an option
I did learn that vtracer handles png alpha channels just fine on the command line but not on the GUI web app which kinda threw me for a loop. Cuz if you use the webapp for testing you'd think the new pixellated pngs will produce svgs with black backgrounds.
pip install pixelatehttps://github.com/useless-tools/pixelate
There is an advanced pixelate app but don't think I need that one just a simple one
https://github.com/sedthh/pyxelate
If you just wanna convert a few images yourself try this free online one
https://giventofly.github.io/pixelit/
also convert (image magick) doesn't work well at all for svg to png so rsvg-convert to the rescue which can be installed by
sudo apt install librsvg2-binI was even cropping the images to center them but found it's not always good to do.
parallel -j2 --ungroup mogrify -fuzz 15% -trim +repage -resize 1024x1024 {} {} ::: *.pngAlso there's an online editor where you can draw in your own pixellated svg.
https://fffuel.co/pppixelate/
but I got over 30,000 static svgs to batch convert so it's not an option
I did learn that vtracer handles png alpha channels just fine on the command line but not on the GUI web app which kinda threw me for a loop. Cuz if you use the webapp for testing you'd think the new pixellated pngs will produce svgs with black backgrounds.
mkdir svg2png pixelpng pixelsvg ; st=$SECONDS && for i in *.svg; do rsvg-convert -w 1024 -h 1024 "$i" -o svg2png/"${i%svg}png"; done && cd svg2png && for f in *.png ; do pixelate --input="$f" --output=../pixelpng/"$f" --pixel-size 30 ; done && cd ../pixelpng && for f in *.png ; do vtracer-linux -i "$f" -o ../pixelsvg/"${f%.png}.pix.svg" -f 2 -p 7 -g 16 -m polygon; done && cd .. && rm pixelpng/* svg2png/* && rmdir pixelpng svg2png && cd pixelsvg && printf -v svgs $(ls | wc -l) && mkdir output ; mv *.svg output/ ; printf -v aa $(du -sh output/) && svgo --config ~/Documents/appimages/svgo.config.js -f ./output/ -o . && rm output/*.svg && printf -v bb $(du -sh) && for f in *.svg; do sed -i -r 's|([0-9]+\.[0-9]{1})[0-9]+|\1|g' "$f" ; done && rmdir output/ && mv *.svg .. && cd .. && rmdir pixelsvg && e=$((SECONDS-st)) && printf "\nSVG Pixelate and Optimization took $e seconds\n\nsvg org filesize: $aa\nsvgo svg filesize: $bb\nsed svg filesize: $(du -sh)\n\n# of original svgs: $svgs\n# of optimized svgs: $(ls | wc -l)\n"
GitHub
GitHub - useless-tools/pixelate: Make your photos worse. But like a pixel art.
Make your photos worse. But like a pixel art. Contribute to useless-tools/pixelate development by creating an account on GitHub.
Total number of chapters with mediainfo.
I won't be using this though as instead just see chapter names and all info instead with
total number of chapters with exiftool
mediainfo source/*.opus --Inform="Menu;%Chapters_Pos_End%,%Chapters_Pos_Begin%" | awk -F, '{ $3=" chapters in total\n\n"; print $1-$2 $3}'
96 chapters in totalI won't be using this though as instead just see chapter names and all info instead with
kid3-cli -c "get all" audiobook.opus
CHAPTER003 01:27:25.022give total number of chapters
CHAPTER003NAME 849 Word Wars & Captive Thoughts, Part 1
CHAPTER004 02:11:25.688
CHAPTER004NAME 850 Word Wars & Captive Thoughts, Part 2
kid3-cli -c "get all" *.opus | grep -E "CHAPTER[0-9]+NAME" | wc -l
ffprobe audiobook.opus
works also and has the dimensions of cover image but ultimately not needed as it displays seconds instead of HH:MM:SS timecode. Starts with chapter 0 which is technically correct.Chapter #0:2: start 5245.022000, end 7885.688000Total number of chapters with ffprobe
Metadata: title : 849 Word Wars & Captive Thoughts, Part 1
Chapter #0:3: start 7885.688000, end 10783.869000
Metadata: title : 850 Word Wars & Captive Thoughts, Part 2
ffprobe *.opus 2>&1 | grep -E 'Chapter #' | wc -l96
total number of chapters with exiftool
exiftool *.opus | grep -E "Chapter [0-9]+name" | wc -l96
total number of chapters with mplayerID_CHAPTERS=96
player -frames 0 -identify *.opus 2>&1 | grep ID_CHAPTERS
Currently favorite programming fonts
https://www.programmingfonts.org/#oxproto (this one is probably favorite now)
https://www.programmingfonts.org/#commit-mono try typing immi and watch it smart kern it..no other font does this except maybe commerical Monoflow that I'm aware of. Wish it had more distinct characters dbpqfli1 etc.
If ligatures are your thing go with either
https://www.programmingfonts.org/#firacode
or with
https://www.programmingfonts.org/#jetbrainsmono
https://www.programmingfonts.org/#intel-one-mono seems like a contender
https://www.programmingfonts.org/#julia-mono
https://www.programmingfonts.org/#victor-mono this is the one I've been using but perhaps time for a change
https://www.programmingfonts.org/#oxproto (this one is probably favorite now)
https://www.programmingfonts.org/#commit-mono try typing immi and watch it smart kern it..no other font does this except maybe commerical Monoflow that I'm aware of. Wish it had more distinct characters dbpqfli1 etc.
If ligatures are your thing go with either
https://www.programmingfonts.org/#firacode
or with
https://www.programmingfonts.org/#jetbrainsmono
https://www.programmingfonts.org/#intel-one-mono seems like a contender
https://www.programmingfonts.org/#julia-mono
https://www.programmingfonts.org/#victor-mono this is the one I've been using but perhaps time for a change
HTML Embed Code: