i want a pkill roulette
every 5 minutes, a random process gets kill -9 'd as root
Conversation
Notices
-
Embed this notice
Jesse 🇫🇷 (jessew@mk.cpluspatch.com)'s status on Monday, 24-Mar-2025 06:05:00 JST Jesse 🇫🇷
-
Embed this notice
Jesse 🇫🇷 (jessew@mk.cpluspatch.com)'s status on Monday, 24-Mar-2025 06:12:38 JST Jesse 🇫🇷
@sodiboo@gaysex.cloud huh wait let's try it
-
Embed this notice
sodiboo (sodiboo@gaysex.cloud)'s status on Monday, 24-Mar-2025 06:12:39 JST sodiboo
@jessew@mk.cpluspatch.com
#!/bin/sh while sleep 300 do ls /proc | grep -E '^[0-9]+$' | shuf -n 1 | xargs pkill -9 done -
Embed this notice
Jesse 🇫🇷 (jessew@mk.cpluspatch.com)'s status on Monday, 24-Mar-2025 06:24:13 JST Jesse 🇫🇷
@sodiboo@gaysex.cloud i'll do you one better
https://gist.github.com/CPlusPatch/5e8c5eac5e4567b0e3e4f9c630af3776 -
Embed this notice
Jesse 🇫🇷 (jessew@mk.cpluspatch.com)'s status on Monday, 24-Mar-2025 06:33:10 JST Jesse 🇫🇷
@sodiboo@gaysex.cloud i spent like four minutes on this total and three of those were spent on https://search.nixos.org 😭
i updated itIn conversation permalink Attachments
-
Embed this notice
sodiboo (sodiboo@gaysex.cloud)'s status on Monday, 24-Mar-2025 06:33:12 JST sodiboo
@jessew@mk.cpluspatch.com boo why are you putting the script in /etc and putting a POSIX shebang but using bash features and running it with bash from the active /etc directory. just set ExecStart = pkgs.writeScript "pid-roulette.sh" '' ... ''; and let Nix handle setting the shebang to a deterministic path.
In conversation permalink Attachments
-
Embed this notice
Jesse 🇫🇷 (jessew@mk.cpluspatch.com)'s status on Monday, 24-Mar-2025 06:34:47 JST Jesse 🇫🇷
@sodiboo@gaysex.cloud dont bully me :neocat_cry:
In conversation permalink -
Embed this notice
sodiboo (sodiboo@gaysex.cloud)'s status on Monday, 24-Mar-2025 07:48:46 JST sodiboo
@jessew@mk.cpluspatch.com here's a secret 'nother resource you need: https://ryantm.github.io/nixpkgs/builders/trivial-builders/
In conversation permalink Attachments
Jesse 🇫🇷 likes this.
-
Embed this notice