zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

First steps with golang

December 23, 2020 by Igor Drobot Leave a Comment

Golang short Go is an open source programming language, which was invented in 2007. Go makes it easy to build simple, reliable, and efficient software.

Go as a language is more similar to C.

Installation on MAC OS X

brew update
brew install golang
[Read more…]

Filed Under: Linux, Mac OS X, Programming Tagged With: ARM, go, golang

Watchdog for ARM systems

April 26, 2020 by Igor Drobot Leave a Comment

Watchdog is responsible for monitoring tiny systems like raspberry PI, BeagleBone or any other system.
The main functionality of the watchdog is to check, if the system is still responding, lets say, to keep-alive messages.
Let’s assume, the system is stuck in a kernel panic, this will be automatically restarted by watchdog after reaching a grace time period. So a manual rebooting by unplugging the DC adapter is not required at all.

[Read more…]

Filed Under: Bash, Linux, Monitoring, Programming Tagged With: bash, Linux, Monitoring, Python, watchdog

Readable python tracebacks

March 16, 2020 by Igor Drobot Leave a Comment

Python tracebacks are ugly by design, the information from the traceback looks line for line identically, without direct pointing to the issue.

rich is a tiny python library which brings some color into the python game and makes the output of tracebacks nice and readable.

[Read more…]

Filed Under: Python Tagged With: python3

pipenv

March 1, 2020 by Igor Drobot Leave a Comment

Virtualenv was for me until 2020 a python-default tool for creating isolated virtual environments for python projects.
Virtualenv was always easy to handle and known as a mature pythonic tool under python developers.

But now, I think pipenv is stable and known enough to switch to it.

[Read more…]

Filed Under: Linux, Programming, Python Tagged With: pipenv, Python, virtualenv

SMTP debugging for Humans

January 30, 2020 by Igor Drobot Leave a Comment

A lot of different tools are around the internet which can be useful to determine different SMTP troubles.

The most of them are very useful but they are all reachable over the internet and don’t provide any kind of API for integration of monitoring or complex integration in (pre)deployment pipelines.
This is a short overview of some command line tools for developers and administrators, to check the e-mail flow during developing, emulate and intercept outgoing emails and afterwards for maintaining the setups.

[Read more…]

Filed Under: Linux, Programming, Python Tagged With: Debug, Python, SMTP

  • 1
  • 2
  • 3
  • …
  • 11
  • Next Page »