Did you know that it is rather easy to setup a VM to test your NixOs configuration?
# flake.nix
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
#!/usr/bin/env python | |
# coding: utf8 | |
"""plot offset""" | |
import os | |
import concurrent.futures | |
from datetime import datetime, timedelta | |
import subprocess | |
import json |
# Kafka connection settings | |
BOOTSTRAP_SERVERS=localhost:9092 | |
# Topic to replay messages from (required) | |
topic=your-kafka-topic | |
# Time range settings (timestamp format - default approach) | |
START_TIME=2025-05-16T00:00:01 | |
END_TIME=2025-05-16T23:59:59 |
.env | |
.envrc |
https://community.openvpn.net/openvpn/wiki/GettingTapWindows
from page https://build.openvpn.net/downloads/releases/ I get executable https://build.openvpn.net/downloads/releases/tap-windows-9.24.2-I601-Win10.exe
no releases from github repo https://github.com/OpenVPN/tap-windows, just tags and source code tarball.
# ~/.config/starship.toml | |
# Don't print a new line at the start of the prompt | |
add_newline = false | |
[cmd_duration] | |
show_milliseconds = true | |
format = "took [$duration](bold yellow) " | |
[character] |
{ | |
"presets": [ | |
[ | |
"@babel/preset-env", | |
{ | |
"targets": | |
{ | |
"browsers": [ | |
"last 2 Chrome versions" | |
] |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"math/rand" | |
"os" | |
"os/exec" | |
"syscall" |