MacOS

macos - hdiutil

Intro hdiutil is a command-line utility on macOS that allows users to create, manipulate, and convert disk images. Disk images are virtual disk files that can contain the entire file system structure, including files, folders, and metadata. hdiutil provides a variety of functions related to disk images, and it’s a powerful tool for managing disk-related tasks on a Mac. Basic Usage create echo -n "geheim" |hdiutil create -encryption -stdinpass -size 10m -volname encdata test.

macos - vnstat

vnstat wanna install vnstat on your mac ? install brew install vnstat gsed and you’ll get the following Message after installation: ==> vnstat To monitor interfaces other than "en0" edit /opt/homebrew/etc/vnstat.conf To start vnstat now and restart at startup: sudo brew services start vnstat Or, if you don't want/need a background service you can just run: /opt/homebrew/opt/vnstat/bin/vnstatd --nodaemon --config /opt/homebrew/etc/vnstat.conf Service Location Let’s build a directory for the Database mkdir ~/Library/vnstat Path Depending where you’re config files got installed …

Monaspace

Monaspace Do you like it ? I do … Install macOS brew tap homebrew/cask-fonts brew install font-monaspace Any Comments ? sha256: 9f088f3023c2e5c26817ccddbfb49ea25dd6f08d0ba3ac6e7ca9038f0d2e2547

Dotnet - Hello World

Running a WebApp in 5min ? ASP.NET Tutorial - Hello World in 5 minutes in a Language you never touched before … ? a Microsoft App running on Linux running in Docker running on macOS … ? Let’ give a try … Fireup Ubuntu via Docker, do Port Forward docker run -it -p 5123:5123 --name dotnet-hello ubuntu:latest add basics apt-get update && apt-get -y upgrade && apt-get -y install wget add dotnet wget https://packages.

Doas

doas, an alternative to sudo Everybody knows sudo … right ? but the openbsd guys hacked a small and secure replacement called doas … simple, secure and clever here a good and quick tutorial An introduction on Vultr, the Source Code on Github and the Man Page Installation OpenBSD On OpenBSD, it’s already in the Base System and no need to install anything. Installation Linux On Linux, for Example, you have to add the Package