Everyone who developes GUI based software knows data binding. Data binding is in general a technique that binds data from a provider and a graphical consumer and synchronizes them. If the model is updated the GUI updates automatically and vice versa. Data binding only for 2D GUIs? Everyone who engaged in 3D graphics programming knows that this […]
Create an online Dashboard with system information (CPU, RAM, Disk, Network)
With Python, Firebase and a simple Webfrontend (Angular2) it is easy to create online Dashboards. Here I write an example where you can see all system information (linux or windows) on different VMs/servers. Just post your data form python in realtime to your firebase:
How to enumerate an enum
In the last post I described how you can cast an c# enumeration. In my second post I show how you can enumerate an enumeration. It is very simple. Let’s say we have an enum: Now you can easily get the names by:
Cast int to enum in C#
In this post I want to present an easy way to cast an int to an enum in C#. It is very easy and straight forward: From a string: From an int: That’s all! Have a nice day!