-
Archives
- August 2023
- January 2023
- December 2022
- November 2022
- October 2022
- April 2022
- January 2022
- December 2021
- November 2021
- February 2021
- January 2021
- December 2020
- September 2020
- August 2020
- July 2020
- June 2020
- January 2020
- December 2019
- September 2019
- July 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- August 2018
- June 2018
- February 2018
- January 2018
- October 2017
- September 2017
- August 2017
- April 2017
- March 2017
- January 2017
- November 2016
- October 2016
- September 2016
- May 2016
- February 2016
- January 2016
- December 2015
- August 2015
- July 2015
- April 2015
- February 2015
- December 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- March 2014
- October 2013
- June 2013
- May 2013
- April 2013
- July 2012
- June 2012
- April 2012
- January 2012
- December 2011
- November 2011
- October 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- June 2010
- May 2010
- April 2010
- January 2010
- October 2009
- September 2009
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
-
Meta
Category Archives: workday
base64
Base64 encoding is widely used and there are nice online tools, for example https://www.base64decode.org/. On command line could be convenient choice to use openssl with argument base64 to encode or two arguments base64 -d to decode. Tool reads from stdin, … Continue reading
Posted in workday
Leave a comment
go: interface example
Go is fresh fast relatively new language. One of the key to utilize it’s power are interfaces. Here is example of the geometry interfaces. See https://play.golang.org/p/nQ_ylb2jXKS package main import ( “fmt” “math” ) //https://www.mathsisfun.com/area.html type geometry interface { area() float64 … Continue reading
Posted in golang, workday
Leave a comment
HTTPS Tomcat
Here are some notes from install and run HTTPS Tomcat on digitalocean inpired by Mavi’s blog. on digitalocean: Ubuntu 18.04 x64 Memory:1GB, vCPU:1, SSD_Disk:25GB, Transfer:1TB, price:$5/mo Hostname:ubuntu18 IP:1.2.3.4 on my DNS provider web: Edit DNS A records for example.com and … Continue reading
Posted in workday
Leave a comment
CSV: How to sort by several columns in Java8
CSV_SortByThreeColumns.java package example.stream; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.Comparator; import java.util.stream.Stream; /** * Let’s say there is a comma delimited file with the first line describing column names: * Name, State, Years of experience * Here is how … Continue reading
Posted in Java8, workday
Leave a comment
CSV: How to skip the first line in Java8
CSV_SkipFirstLine.java package example.stream; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.stream.Stream; /** * Let’s say there is a comma delimited file with the first line describing column names. * In this example a person name and state. * Here is … Continue reading
Posted in Java8, workday
Leave a comment
Handy notepad in Chrome tab or window
There is nice option to create editable tab on window in Chrome browser with URL like this: data:text/html, <html contenteditable> It is possible to save it into the file after pressing CTRL+<S>
Posted in workday
Leave a comment
Bubble tent to look at stars
Hmm, maybe bubble tent is right idea for fidget weather of Minnesota. One could be warm and look at stars, maybe even observe by telescope.
Posted in workday
Leave a comment
SVG: Elliptical arc path
Scalable Vector Graphics allows elliptical paths. Here is rendered image, which can help to realize meaning of the parameters. In case below all elipses and circles are have end points [0,0] and [70.71, 70.71]. Second point is on the circle … Continue reading
Posted in workday
Leave a comment
find a files with -maxdepth and -mindepth
Unix utility find allows many arguments. Here is how one can limit searched directories. Arguments -maxdepth and -mindepth should be used first before let’s say -name or -type. Let’s created four sub directories to investigate how it works: $ mkdir … Continue reading
Posted in workday
Leave a comment
Eclipse weather
Weather for Solar eclipse on August 21, 2017 across USA determined how people could experience such rare event.
Posted in workday
Leave a comment