How to install BpyTop which is like htop or top.

Short and simple, BpyTop is a computer resource monitor that uses the terminal interface. It is a Bashtop Python Port that takes all the advantages of being written in Python 3.6.

bitwarden

Some of the features of BpyTop are

  • Easy to use, with a game inspired menu system.
  • Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes.
  • Fast and responsive UI with UP, DOWN keys process selection.
  • Function for showing detailed stats for selected process.
  • Ability to filter processes, multiple filters can be entered.
  • Easy switching between sorting options.

It must also be said that we are in the presence of an open-source program because it is released under the Apache license and the source code is accessible to everyone. The program has versions for macOS, many Linux distributions, and BSD so that in servers will run without problems.

Ubuntu 20.04 Mate Fonts to big on 4k monitor

Problem:

All the fonts on my 4k monitor are too big because my 4k monitor is detected as a 27 inch monitor instead of a 32 or 40 inch monitor.

This will change things like the Chrome Tab font size.

Solution:

The Dots per inch resolution is buried, here is where to find it.

System->Preferences->Look and feel->Appearance

Click the Fonts tab

On the lower right click on Details

Which brings up this screen, turn off Automatic detection under Dots per inch (DPI) and change it to 128 or 136

DPI

Black Hills South Dakota Motorcycle Trip

Places to visit:

  1. Mt Rushmore (Presidential Trail) & Crazy Horse - 1 day
  2. Spearfish canyon
  3. Deadwood - 1 day - Golden Boot Gold mine
  4. Canyon drive - 1/2 day
  5. Sturgis - 1/2 day
  6. Crystal and wind caves - 
  7. Custer State park Wildlife loop road-Needles Highway
  8. Sunday Gulch Trail
  9. Blue Mesa
  10. Grand Junction

Sturgis 2021 is August 6-15

Shorter Option

Summary Map

 

Longer Option
Map Full trip with Blue Mesa

How to setup the perfect Linux Desktop

Things to do after installing Linux

Change the default editor

$ sudo update-alternatives --config editor
There are 3 choices for the alternative editor (providing /usr/bin/editor).

  Selection    Path               Priority   Status
------------------------------------------------------------
* 0            /bin/nano           40        auto mode
  1            /bin/ed            -100       manual mode
  2            /bin/nano           40        manual mode
  3            /usr/bin/vim.tiny   15        manual mode

Press <enter> to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/editor (editor) in manual mode

To avoid this needing to type password for sudo, you can edit /etc/sudoers and add this command at the end of the file:

$ sudo visudo

Note if you want to change the default editor use

$ sudo update-alternatives --config editor

Use the safe command sudo visudo to edit and check the syntax of the edits, otherwise if you directly edit and make a mistake you computer might not work.

%admin ALL=(ALL) NOPASSWD: ALL

Save and exit. Finally, you will also need to create the admin group:

groupadd admin

How to Fix Logitech Mouse Scrolling in macOS

Based on article by Henry T. Casey 

In this support article on Logitech's site, I found out that "Accessibility access is needed for scrolling, gesture button, back/forward, zoom and several other features," which explained my mouse couldn't activate Mission Control with the thumb button I mapped to Gesture.

1. Click the Apple logo.

2. Select System Preferences.

3. Click Security & Privacy.

4. Click Privacy.

3D Lithophanes on a 3D Printer

If you haven't figured this out already, Lithophanes are one of coolest things you can print with your 3D Printer. However, getting the proper settings can be confusing and very frustrating.

Turn your pictures into 3D stl files of lamp lithophanesflat lithophanesnight light lithophanes, and more by using these lithophane makers.

Tool to convert Images for 3D printing at lithophanes: 3dp rocks

Lithophane Print Settings

A good starting point with your print settings.

Maximum Thickness: 3mm
Minimum Thinness: .6mm or .2 plus your nozzle size
​Negative: If you have the option print with a negative setting

Slicer Settings:

​Infill: 100%
Perimeters: 10
Perimeter Speeds: 35mm/s - 45mm/s
Print Along the Y direction

VSCode with Github

First let's review basics from the command line

$ cd repos
$ mkdir corp-sheets
$ cd corp-sheets
 

Find the Github repository URL

Github repo url

$ git clone git@github.com:**********sheets.git

 

Wyze Robot Vacuum Review and Tips

I bought the Wyze Robot Vacuum as part of a kick starter for $199 that came with a free Wyze web cam version 3.

It was delivered yesterday and I have been having some fun and frustrations with it so I thought I would share.

The cool thing about this vacuum is the LIDAR sensor, a spinning laser on top of the vacuum. Every second, it spins around 6 times and measures the distance to 2,016 different points in the room to build a map. You can see, edit, and save the map in the Wyze app.  

Common HTTP Status Codes

This post provides a list of commonly used HTTP status codes or response codes as part of the communication between a client and a web server. It also provides the description and usage of these status codes. The web server replies to the client request by sending the appropriate response code based on the request and response generated by the server.

Class 1xx - Informational

The class 1xx status codes are to acknowledge that the request has been received, understood by the server, and to continue for further processing the request.

 

100 - Continue

The server has received the request headers and the client can continue further sending the request body where required.

 

101 - Switching Protocols

The client has asked the server to switch the protocol and the server agreed to do so using the Upgrade header message field. The server will switch protocols and specify the same in response's Upgrade header field.

 

102 - Processing

The server is taking the time to process the request and updates the client to wait until the server process the request without timing out the request.

 

Class 2xx - Success

The class 2xx status codes are to acknowledge that the request was received, understood, and accepted by the server.

OAuth token generation using Snowflake custom OAuth

Based on support article from Snowflake

Solution

The objective of the article is to provide a means of generating an access token and refresh token using Snowflake Custom OAuth. Once complete, end-users should be able automate the flow to get the new access tokens via refresh token(until expiry).

For testing purposes, this article will also show a successful connection using access token when making a connection through SnowSQL.