Author Archives: admin

Weather: Daily Loop

Cooperative Institute for Research in the Atmosphere (CIRA) has a great page named Daily Loop. One can look to the weather almost in the real time.We can be fascinated by view of the California wild fires: 2020-09-09 – Large fires … Continue reading

Posted in workday | Leave a comment

Brief go lang programs

Here is list of brief go lang programs Thursdays biweekly Corner clothesline Hexa string back to ASCII SVG command path for a circle arc URI percent conversion Printing bit literals – in this case ‘gm’ String to binary bytes Binary … Continue reading

Posted in golang, workday | Leave a comment

Google Cloud Next

Google Cloud Next conference is for year 2020 online, see https://cloud.withgoogle.com/next/sf/onair#infrastructure Here is a play list of the presentations in the last few years:201920182017

Posted in Blogroll, workday | Tagged | Leave a comment

REGEX at awk file

More complex awk text processing is better to put in the file. And there can be regex filter as well. Below is a simple example utilizing awk code in the file xml-info.awk, which prints information only for XML files. $ … Continue reading

Posted in Blogroll, workday | Leave a comment

ssh password-less

Here are steps, how to do it in Linux type environment on LOCAL host: USER_REMOTE=username@remote-host ssh-keygen -t rsa #no password ssh $USER_REMOTE mkdir -p .ssh cat .ssh/id_rsa.pub | ssh $USER_REMOTE ‘cat >> .ssh/authorized_keys’ ssh $USER_REMOTE ‘chmod 700 .ssh; chmod 640 … Continue reading

Posted in workday | Leave a comment

Hello Website on GKE Cluster

Let’s explore, how deploy web application “Hello Website” written in go language at Google Kubernetes Engine Cluster. Source code for “Hello Website” in the file helloweb.go Source code for dockerfile Steps: At https://console.cloud.google.com/apis/library search for Kubernetes (k8s) and then enable … Continue reading

Posted in golang, workday | Tagged | Leave a comment

GCP notes

Setup Creating an account Creating a new projectNo org, org(G Suite, Cloud Identity)Project-id is unique Deleting projectProject settings: ShutdownIAM & Admin / Manage resources: Delete Creating usersIAM: Add user@companyGSuite_gserviceaccount_googlegroups_gmail.comIAM: Add user@nonGoogle_AD_LDAP / Google Cloud Directory Sync Assigning rolesPrimitive(Owner,Editor,Viewer)Predefined (~500 roles)Custom … Continue reading

Posted in Blogroll, workday | Leave a comment

Rotating prompt color

If one has more that one terminal window opened, it’s sometimes hard to tell what is where. Here is example of the file ~/.bash_profile, which is always executed, if new terminal window is opened. Numeric value of the previous prompt … Continue reading

Posted in workday | Leave a comment

Elapsed time on bash

Once a while is nice to measure elapse time on Linux on bash command line.Here is an example how to count elapsed seconds:

Posted in workday | Leave a comment

Marketing

“Marketing isn’t about shortcuts, hustle or deception. Marketing is the art (and the science) of serving the people you seek to serve, to do better work by finding and satisfying needs. Marketing is the practice of making things better by … Continue reading

Posted in workday | Leave a comment