Category Archives: workday

SVG: Spiky Star

Let’s say we would like to create spiky star. One option would be to utilize tag path. Picture below should help to explain, how to design path. In the center “C” is a unit circle with radius 1. Each spike … Continue reading

Posted in workday | Tagged | Leave a comment

Structural formula: HydroxylAmmonium Nitrate

Here is slightly better structural formula of the HydroxylAmmonium Nitrate mentioned in the yesterday post. H N O – +

Posted in workday | Leave a comment

Rocket fuel: HydroxylAmmonium Nitrate

NASA tested in 2019 in mission GPIM so called green fuel. Here is chemical composition of this substance called hydroxylammonium nitrate or hydroxylamine nitrate with the chemical formula [NH3OH+][NO3-]. It is a colorless hygroscopic solid usually handled as an aqueous … Continue reading

Posted in workday | Leave a comment

Some git commands to practice

Here are few git commands to practice. And don’t forgot to edit github source by hitting DOT (.)!

Posted in workday | Leave a comment

GO lang installation on FreeBSD

Working mostly on Windows 11 I found that cross compilation for FreeBSD does not work. I’ve got error message go: unsupported GOOS/GOARCH pair FreeBSD/AMD64 Good solution is actually install it on FreeBSD itself. So here are commands from FreeBSD terminal.

Posted in golang, workday | Tagged | Leave a comment

Display portion of an image

Let’s say there is a smaller version of the image on an HTML page with a link providing a full scale version of the image. you would like to display several detailed parts of that image. Here is color coded … Continue reading

Posted in workday | Tagged , | Leave a comment

Some git commands

In recent years git became versioning system of choice. Here are few commands to review and practice. Editing on github.com ?Hit single character . (dot) and you will get VS online editor!

Posted in workday | Tagged | Leave a comment

Go: False positive virus detection

Recently to my surprise antivirus software detected virus in my freshly build golang program. Doing research I found interesting article from Melle Boudewijns. So I created simple golang program hello_flags.go: Then I compiled this source file with flags and execute … Continue reading

Posted in golang, workday | Leave a comment

Text file to json array with jq

Lets say we need convert a text file into json array a process it. More information about jq itself can be found in the manual. First of all let’s create a test file with the first four Greek alphabet letters: … Continue reading

Posted in workday | Leave a comment

Wordle helper

Wordle is nice single webpage game at https://www.powerlanguage.co.uk/wordle/ There is a page with list of the many 5 letter words at https://7esl.com/5-letter-words/ Here is how to create a plain text file with 660 5 letter words: Then one can grep … Continue reading

Posted in workday | Tagged , , | Leave a comment