- Limit the amount of memory used with
export NODE_OPTIONS='--max_old_space_size=2096'
- Build
| ## Configuration with additional popup keys (swipe up from an extra key) | |
| extra-keys = [ \ | |
| [ \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "CTRL e CTRL u vw SPACE ENTER", display: "𝚠𝚔𝚒", popup: \ | |
| {macro: "CTRL e CTRL u vwfunc ENTER", display: "vw📁"}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ |
| [[ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, | |
| {macro: "ESC", display: "𝙴𝚂𝙲", popup: {macro: "", display: ""}}, | |
| {macro: "F1", display: "F1", popup: {macro: "", display: ""}}, | |
| {macro: "F2", display: "F2", popup: {macro: "", display: ""}}, | |
| {macro: "F3", display: "F3", popup: {macro: "", display: ""}}, | |
| {macro: "F4", display: "F4", popup: {macro: "", display: ""}}, | |
| {macro: "F4", display: "F5", popup: {macro: "", display: ""}}, | |
| {macro: "F6", display: "F6", popup: {macro: "", display: ""}}, | |
| {macro: "F7", display: "F7", popup: {macro: "", display: ""}}, |
| ## Configuration with additional popup keys (swipe up from an extra key) | |
| extra-keys = [ \ | |
| [ \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "CTRL e CTRL u vw SPACE ENTER", display: "𝚠𝚔𝚒", popup: \ | |
| {macro: "CTRL e CTRL u vwfunc ENTER", display: "vw📁"}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ | |
| {macro: "", display: "", popup: {macro: "", display: ""}}, \ |
| #!/data/data/com.termux/files/usr/bin/env python | |
| import sys | |
| from wand.image import Image | |
| filename = sys.argv[1] | |
| img = Image(filename=filename) |
| #!/usr/bin/env bash | |
| # Generate RSA private key | |
| openssl genrsa -out private_key.pem 1024 |
| #!/usr/bin/env python | |
| """Extract the public key from the private key and write to a file. | |
| """ | |
| from Crypto.Hash import SHA256 | |
| from Crypto.Signature import PKCS1_v1_5 | |
| from Crypto.PublicKey import RSA | |
| with open("private_key.pem", "r") as src: | |
| private_key = RSA.importKey(src.read()) |
| // vars to keep track of the "mouse" during touchmove | |
| var mouseX; | |
| var mouseY; | |
| // create the custom events so you can dispatch them later | |
| var touchover = new Event("touchover"); | |
| var touchout = new Event("touchout"); | |
| var touchup = new Event("touchup"); | |
| var element = document.getElementById("dropTargetDivName"); |
| ## Configuration with additional popup keys (swipe up from an extra key) | |
| extra-keys = [ \ | |
| [ \ | |
| {key: ESC, display: ""}, \ | |
| {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ | |
| {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ | |
| {macro: "ESC :q ENTER", display: ":q", popup: {macro: "ALT g", display: A-g}}, \ | |
| {macro: ",t", display: "tree", popup: {macro: ", n", display: "focus"}}, \ | |
| {macro: 'y :%s/ CTRL r " //gic LEFT LEFT LEFT LEFT', display: ":%s"}, \ | |
| {macro: "exa SPACE --long SPACE --tree ENTER", display: "exa", popup: {macro: "lsd SPACE --long SPACE --tree ENTER", display: "lsd"}}, \ |