Skip to content

Instantly share code, notes, and snippets.

@Instagit
Instagit / rm-docker.ps1
Last active July 4, 2021 14:14
Remove Docker for Windows
$ErrorActionPreference = "SilentlyContinue"
# stop Docker processes
kill -force -processname 'Docker for Windows', com.docker.db, vpnkit, com.docker.proxy, com.docker.9pdb, moby-diag-dl, dockerd
# kill MobyLinux
try {
./MobyLinux.ps1 -Destroy
} Catch {}
@Instagit
Instagit / mysql2sqlite.sh
Last active February 17, 2021 11:32
MySQL to SQLite DB converter
#!/bin/bash
#
# convert a database from MySQL to SQLite
echo -ne "Database: "
read db
echo -ne "User: "
read user
echo -ne "Password: "
read -s pw