Skip to content

Instantly share code, notes, and snippets.

@torfinnnome
torfinnnome / pbcopy-remote
Last active January 30, 2026 12:51
pbcopy-remote: copy from remote shells to your local clipboard
#!/usr/bin/env bash
set -euo pipefail
# pbcopy-remote: copy from remote shells to your local clipboard
# (requires a terminal emulator with OSC 52 clipboard support enabled)
# -------------------------------
# Configuration
# -------------------------------
MAX_BYTES=65536 # 64 KiB hard limit
@torfinnnome
torfinnnome / gist:80d4ef9b8c5db086de96b4634731f8fe
Created March 18, 2021 11:45
Galaxy 21.01 upgrading fails building the client
TASK [rebuild client] ************************************************************************************************************************************************************
fatal: [test.usegalaxy.no]: FAILED! => changed=false
cmd: /bin/gmake client-production-maps
msg: ''
rc: 2
stderr: |-
warning Resolution field "chokidar@3.4.0" is incompatible with requested version "chokidar@^2.0.0"
warning Resolution field "chokidar@3.4.0" is incompatible with requested version "chokidar@^2.1.8"
warning Resolution field "chokidar@3.4.0" is incompatible with requested version "chokidar@^2.0.4"
warning Resolution field "chokidar@3.4.0" is incompatible with requested version "chokidar@^2.1.8"

Keybase proof

I hereby claim:

  • I am torfinnnome on github.
  • I am torfinnnome (https://keybase.io/torfinnnome) on keybase.
  • I have a public key whose fingerprint is CD70 6582 2DD7 7637 96E9 4D8D 3434 83C3 F5F1 0E35

To claim this, I am signing this object: