The squares in the chanmon buffer at the top of weechat in the gif above are there only to hide the nicknames and the messages in the gif to respect users privacies
/mouse enable
| use std::os::unix::process::CommandExt; | |
| use std::process::Command; | |
| // Compile with rustc test_spawn.rs | |
| fn main() { | |
| println!("About to spawn /bin/sh with pre_exec"); | |
| let mut cmd = Command::new("/bin/sh"); | |
| cmd.arg("-c").arg("echo hello"); |
| #!/usr/bin/env python3 | |
| """ | |
| Script to sign all Mullvad exit nodes for Tailscale lock. | |
| Parses tailscale lock output to find locked-out Mullvad nodes and signs them. | |
| """ | |
| import subprocess | |
| import re | |
| import sys | |
| import argparse |
| const std = @import("std"); | |
| pub fn InvalidPtr(T: anytype, constant: bool) type { | |
| const PtrType = blk: { | |
| if (constant) { | |
| break :blk ?*const T; | |
| } else { | |
| break :blk ?*T; | |
| } | |
| }; |
| const std = @import("std"); | |
| const builtin = @import("builtin"); | |
| const InvalidInt: isize = -1; | |
| pub fn InvalidPtr(T: anytype, constant: bool) type { | |
| const InvalidPtrType, const TPtrType = blk: { | |
| if (constant) { | |
| break :blk .{ *const anyopaque, *const T }; | |
| } else { |
| packages.objectbox-c = with pkgs; let | |
| pname = "objectbox-c"; | |
| version = "0.18.1"; | |
| src = fetchurl { | |
| url = "https://github.com/objectbox/${pname}/releases/download/v${version}/objectbox-linux-x64.tar.gz"; | |
| hash = "sha256-oYz8ZBNdoTG3NDOuiu0JbmiAmSg4jQf9DQQIMZaNfNQ="; | |
| }; | |
| in | |
| stdenv.mkDerivation rec { | |
| inherit pname version src; |
| error: | |
| … while evaluating the attribute 'buildInputs' of the derivation 'nix-shell' | |
| at /nix/store/n66pr4d5aipxphyg3id30f3ddhywcwmy-source/pkgs/stdenv/generic/make-derivation.nix:293:7: | |
| 292| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
| 293| name = | |
| | ^ | |
| 294| let |
| if not string :is "${stop}" "Y" | |
| { | |
| ### @xxx.com rules | |
| if address :all :matches ["To", "Cc", "Bcc", "Resent-To", "X-Delivered-To"] "*@xxx.com" | |
| { | |
| if string :is ["deltachat"] "${1}" { | |
| fileinto "INBOX.DeltaChat"; | |
| } | |
| else { | |
| fileinto :copy "INBOX.INBOX.personal"; |
| 00:00:00.000 [INFO] [sway/main.c:338] Sway version 1.8-dev | |
| 00:00:00.000 [INFO] [sway/main.c:339] wlroots version 0.16.0-dev | |
| 00:00:00.002 [INFO] [sway/main.c:120] Linux desktop 6.0.0 #1-NixOS SMP PREEMPT_DYNAMIC Sun Oct 2 21:09:07 UTC 2022 x86_64 GNU/Linux | |
| 00:00:00.002 [INFO] [sway/main.c:136] Contents of /etc/lsb-release: | |
| 00:00:00.002 [INFO] [sway/main.c:120] DISTRIB_CODENAME=raccoon | |
| 00:00:00.002 [INFO] [sway/main.c:120] DISTRIB_DESCRIPTION="NixOS 22.11 (Raccoon)" | |
| 00:00:00.002 [INFO] [sway/main.c:120] DISTRIB_ID=nixos | |
| 00:00:00.002 [INFO] [sway/main.c:120] DISTRIB_RELEASE="22.11" | |
| 00:00:00.002 [INFO] [sway/main.c:120] LSB_VERSION="22.11 (Raccoon)" | |
| 00:00:00.002 [INFO] [sway/main.c:136] Contents of /etc/os-release: |
| :root { | |
| --card-color: #222;; | |
| --card-radius: 5px; | |
| --card-padding: 20px; | |
| --sub-result-inset: 20px; | |
| --border-color: var(--header-border); | |
| --related-item-bg: #222; | |
| --search-result-gap: 8px; | |
| --background-color: #161616; /* #222 */ | |
| --app-sidebar-bg: #161616; |