((1xxxxxxx)*)(0xxxxxxx)
| |
|___________|_ MSB is flag for continuation
the code above is in binary
| e3e3e3 white | |
| b9354d red | |
| bbb6ba gray | |
| bba171 baguette | |
| 000000 black |
| #!/usr/bin/env bash | |
| # show pid and port from matcher | |
| MATCHER=$1 | |
| if [ -n "$MATCHER" ]; then | |
| sudo lsof -aPn -i4 -cnode -u${USER} -sTCP:LISTEN | grep $MATCHER | awk '{print $2 "|" $9}'; | |
| exit 0; | |
| fi; | |
| # show all ssh tunnel tcp connections |
| <script> | |
| import { onMount } from "svelte"; | |
| import { writable } from "svelte/store"; | |
| const theme = writable("light"); | |
| onMount(() => { | |
| const storedTheme = localStorage.getItem("theme"); | |
| if (storedTheme) theme.set(storedTheme); |
| <script> | |
| import { onMount } from "svelte"; | |
| import { writable } from "svelte/store"; | |
| const messages = writable([]); | |
| let width = 1000; | |
| let height = 200; | |
| let gap = width / 100; |
| <script lang="ts"> | |
| import { createQrPngDataUrl } from "@svelte-put/qr"; | |
| import { onMount } from "svelte"; | |
| import JSZip from "jszip"; | |
| const qrs = [ | |
| ]; | |
| let srcs: string[] = []; | |
| onMount(async () => { |
| <div class="wrap"> | |
| <img src="http://placehold.it/1200/1200" alt="testsetse" /> | |
| </div> | |
| <style> | |
| .wrap { | |
| width: 1200px; | |
| height: 1200px; | |
| position: relative; | |
| overflow: hidden; |