Category Archives: workday

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

SVG: color-keywords with colors

At the World Wide Web Consortium (W3C) document SVG Color 1.2, Part 2: Language there are defined color-keywords. Here is that part of the definition updated with horizontal rectangle with color for all 147 color-keywords. color-keyword ::= ~”aliceblue” | ~”antiquewhite” … Continue reading

Posted in workday | Tagged | Leave a comment

SVG: Circular arc

The arc command (a or A) of the element <path> is used to define an elliptical path. The special case is the circular path. Contrary to the element <circle>, where the center of the circle and radius has to be … Continue reading

Posted in workday | Tagged | Leave a comment