Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ocaml
(* run "./EzSudoku n" to generate template .ml file to fill with your n^2*n^2 sudoku problem
You probably shouldn't put anything bigger than 3. Or 2 in fact... *)
let size =
try int_of_string Sys.argv.(1) with
| _ -> 2
@activate_goto
def f():
    x = 0
    print('Hello World')
    x += 1
    if x > 10:
        goto_8
    goto_2
@likuilin
likuilin / cloudcat.md
Created June 29, 2023 23:30
cloudflared file transfers

cloudflared file transfers

Want to transfer a file between two computers, but both are behind layers of bastion hosts?

If both can connect to the internet (Cloudflare edge servers), here is a solution that leverages free Cloudflare Tunnels.

The sender must have python3 and cloudflared installed. The receiver doesn't need anything.

Sender: