How to use simple OCR to read Japanese text from an image.
How to use OCR to read the text from an image in Japanese easily with the command line.
Read MoreHow to use OCR to read the text from an image in Japanese easily with the command line.
Read MoreHow to extract the title and URL from an RSS feed and put them one one line.
Read MoreHow to print text on a billboard in Arma 3. This could be very useful.
Read MoreHow to detect AI written essays easily with an online app.
Read MoreHow you can use a simple tool to detect ChatGPT text.
Read MoreMore useful sed tips.
Read MoreA very useful AI app that can evaluate business ideas and give feedback.
Read MoreThere is yet another way to print useful code to the terminal in C. This program below shows a very simple way to print text to the terminal and this is not using printf(). simple.c1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16…
Read MoreThis very nice one-liner will print some information about your mounted drives on Linux and also print a column header to dress up the output. ┌──[[email protected]]─[~/Downloads] └──╼ ╼ $ df -Hla | grep "[0-9]% /" | awk -F, ‘NR==1 {print "Device","Capacity","Free","Usage","Percentage","Mount"} {gsub(/"/,""); print $1,$2,$4}’ | column -t Device Capacity Free…
Read MoreThis is a very cool Linux one-liner, this is using the Tesseract OCR engine to read an image generated by a script and then read the time from it. ┌──[[email protected]]─[~/Pictures/letter] └──╼ ╼ $ curl -s ‘https://securitronlinux.com/api/servers.php’ -o – | tesseract stdin stdout –dpi 150 | grep –color CDT 05:33:13pm Sun…
Read MoreThe Twin utility for Linux allows a user to open a text-mode environment and then use multiple terminal windows within this simple environment. This could be very useful indeed when working in a Virtual Terminal. This would allow a user to watch multiple terminal windows at once. Download the source…
Read MoreThis is an improved version of my random monster program. This shows how to get the size of a const char array and then select a random entry from the array. monsters.c1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19…
Read MoreUsing the grep utility to search through source code can take a long time when you are searching for certain text. But this can be made easier if you use grep. The command below: grep -rn –include "*.*" "winlogon" .grep -rn –include "*.*" "winlogon" . Will search recursively through a…
Read MoreFinding files in your home directory is very easy. The command below will search inside all files in your home directory and find all files that contain the text “linux”. find . -type f -exec grep -niH linux ‘{}’ ‘;’find . -type f -exec grep -niH linux ‘{}’ ‘;’ This…
Read MoreExtracting text from a website can be hard to do, but there are easier ways to get around this. The curl utility is used to view the contents of a website in the terminal. This is part of the solution. But we need to filter the output for a particular…
Read MoreThe grep utility is very useful for searching for text in files on a Linux system. It is possible to search for text or files recursively. This is very easy to do. This example is how to search for a text string recursively with grep. I have double quotes in…
Read MoreThe grep utility is very useful when searching for text in files. This can be used recursively to find matching files. This tip will return the full path to all files containing the text you are looking for. 4.4 Thu Apr 23 jason@Yog-Sothoth 1: $ grep -r -H "noclip"4.4 Thu…
Read MoreThe sed command can be used to reverse text. This is a very interesting feature. Provide a text string, and it will be reversed. jason@jason-Virtual-Machine:~$ sed ‘/\n/!G;s/\(.\)\(.*\n\)/&\2\1/;//D;s/./Hello. /’ <<< ‘This is a long sentence in reverse. This is a lot of fun.’ Hello. .nuf fo tol a si sihT .esrever…
Read MoreWindows has quite a few useful utilities for searching text. The findstr utility allows searching through a folder full of text files for a certain string. Here is an example. >findstr /S /R "money_quest_update" *.*>findstr /S /R "money_quest_update" *.* And this is how to search for text strings in a…
Read MoreI have a text file containing this string. deusexmachina:Documents jason$ cat out Darwin deusexmachina.local 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64deusexmachina:Documents jason$ cat out Darwin deusexmachina.local 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64 And I want to replace…
Read More