Skip to content

Instantly share code, notes, and snippets.

@zeropool
zeropool / x11_f0rwarding.sh
Created December 3, 2023 16:23 — forked from thomasgroch/x11_f0rwarding.sh
X11 Forwarding (to connect from macOS to Debian Linux)
# Connect from macOS to remote Linux server. For example to Debian or Ubuntu.
# Prepare remote server.
# Enable X11 Forwarding in SSH.
vim /etc/ssh/sshd_config
#X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost no
systemctl restart sshd
@zeropool
zeropool / main.go
Created March 20, 2023 03:28 — forked from sangupta/main.go
Parse Typescript code in Go lang using QuickJS. The idea is to re-use the original Typescript library than rolling out a parser of our own.
package main
import (
"errors"
"fmt"
"io/ioutil"
"time"
stdruntime "runtime"