306 current 2025-01-25 22:09:05 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
16
scripts/tb.nix
Normal file
16
scripts/tb.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# scripts.nix
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
(writeShellApplication {
|
||||||
|
name = "termbin";
|
||||||
|
runtimeInputs = with pkgs; [
|
||||||
|
netcat
|
||||||
|
];
|
||||||
|
|
||||||
|
text = ''
|
||||||
|
file=$1
|
||||||
|
cat "$1" | nc termbin.com 9999
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user