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";
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" |
#!/bin/bash | |
# | |
# convert a mysql database to sqlite3 | |
# | |
#see https://stackoverflow.com/questions/5164033/ | |
# export-a-mysql-database-to-sqlite-database | |
mysql_host=localhost | |
mysql_user=george | |
#mysql_passwd=**************** |