Why? @sstephenson explains it best here.
This should get rid of the rvm dir and any installed rubies:
$ rvm implode
#include <windows.h> | |
/* hacks on top of hacks ... */ | |
#define _PEB _NOT__PEB | |
#define PEB _NOT_PEB | |
#define PPEB _NOT_PPEB | |
#define _TEB _NOT__TEB | |
#define TEB _NOT_TEB | |
#define PTEB _NOT_PTEB | |
#include <winternl.h> | |
#undef _PEB |
{ÿxosPc0 serial#f050412cc7e4c7e22c7ee7d08699826b subid 0xc4 | |
xenv cs2 ok | |
Power supply: OK | |
DRAM0 OK (9) | |
DRAM1 OK (8) |
"""Use it like this: main('192.168.1.0/24')""" | |
IPV4_MIN = 0 | |
IPV4_MAX = 0xFFFFFFFF | |
def not_network(ipv4_address, ipv4_netmask): | |
assert IPV4_MIN <= ipv4_address <= IPV4_MAX | |
assert IPV4_MIN <= ipv4_netmask <= IPV4_MAX | |
def hostmask_netmask(m): |
# copy and paste to /sbin/remove-desktop | |
#!/bin/sh | |
PREFIX= | |
: ${LIBDIR=$PREFIX/lib} | |
. "$LIBDIR/libalpine.sh" | |
usage() { | |
cat <<-__EOF__ |
This should get rid of the rvm dir and any installed rubies:
$ rvm implode
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
As 2024 is winding down:
from mcp.server.fastmcp import FastMCP | |
import time | |
import signal | |
import sys | |
# Handle SIGINT (Ctrl+C) gracefully | |
def signal_handler(sig, frame): | |
print("Shutting down server gracefully...") | |
sys.exit(0) |
{ | |
"mcpServers": { | |
"count-r": { | |
"command": "python", | |
"args": [ | |
"C:\\Users\\mberm\\count-r-server\\server.py" | |
], | |
"host": "127.0.0.1", | |
"port": 8080, | |
"timeout": 30000 |
### | |
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
###. things to watch out for: | |
### - Check out the `nix-darwin` instructions, as they have changed. | |
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
### | |
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
# So here's a minimal Gist which worked for me as an install on a new M1 Pro. |