ref: https://github.com/FolkComputer/folk/blob/osnr/folk2/Makefile
Inside folk2 alongside folk on your machine: make
# from MacOS Terminal → folk0 Linux machine
make remote [email protected]
ref: https://github.com/FolkComputer/folk/blob/osnr/folk2/Makefile
Inside folk2 alongside folk on your machine: make
# from MacOS Terminal → folk0 Linux machine
make remote [email protected]
| Wish $this is titled "Gist importing works :-)" | |
| Wish $this is outlined thick magenta | |
| Wish $this is labelled "hi Brian" | |
| Wish $this draws a circle |
| # File uploads - Arcade Jun 11 2024 | |
| Wish the web server handles route "/upload" with handler { | |
| html { | |
| <html> | |
| <body > | |
| <span id="status">Status</span> | |
| <input id="file" type="file"/> | |
| <button id="button"> UPLOAD!! </button> |
| { | |
| "$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
| "description": "U.S. Wind Energy Nameplate Capacity (1990-2023), Tufte-inspired revision", | |
| "title": { | |
| "text": "U.S. Wind Energy Nameplate Capacity", | |
| "subtitle": "Source: U.S. Energy Information Administration (EIA), Form 860 (1990-2023)" | |
| }, | |
| "width": 500, | |
| "height": 300, | |
| "data": { |
Make this executable (e.g. chmod +x listKeyboards.tcl) and then ./listKeyboards.tcl
folk@folk0:~$ ./listKeyboards.tcl
Working ...
-- Keyboard found: /dev/input/event6 DEVPATH=/devices/pci0000:00/0000:00:01.1/0000:02:00.0/usb3/3-2/3-2:1.2/0003:046D:C52B.000C/00
03:046D:404B. 000D/input/input67/event6
-- Keyboard found: /dev/input/event7 | DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.2/0003:046D:52.0006/0003:046D:404| set fd [file tempfile py script.py] | |
| puts $fd { | |
| import pandas as pd | |
| file_path = '~/image-label/points.parquet' | |
| df = pd.read_parquet(file_path) | |
| json_data = df.to_json(orient='records') | |
| print(json_data) | |
| }; close $fd |
| javascript:(function()%7Bvar%20s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('charset','UTF-8');s.setAttribute('src','https://www.are.na/loader.js');document.documentElement.appendChild(s);%7D)() |
| <!DOCTYPE html> | |
| <!-- Secondary camera projected on a screen | |
| --> | |
| <html> | |
| <head> | |
| <script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.min.js"></script> | |
| <script src="https://rawcdn.githack.com/jgbarah/aframe-playground/e1a42e1bc745f340c572c7b4db43f7c97210ee76/camrender-01/camrender.js"></script> | |
| </head> |
| set fish_greeting "🐶🐶🐶" | |
| # ----------------------- NOTE ------------------- | |
| # I'm also using: | |
| # - https://github.com/jorgebucaran/fisher | |
| # - https://github.com/FabioAntunes/fish-nvm | |
| # - https://github.com/oh-my-fish/plugin-rvm (doesn't need omf, can download with `fisher add oh-my-fish/plugin-rvm`) | |
| # - https://github.com/jhillyerd/plugin-git | |
| # - https://github.com/rafaelrinaldi/pure | |
| # I haven't automated downloading these, TODO | |
| # ----------------------------------------------- |
| #!/usr/bin/env boot | |
| ;; Note: this script requires Boot to run: https://github.com/boot-clj/boot#install | |
| (def state (atom ["1" "2" "3" | |
| "4" "5" "6" | |
| "7" "8" "9"])) | |
| ;; Test state | |
| #_(def state (atom ["X" "X" "3" | |
| "4" "X" "6" | |
| "O" "O" "9"])) | |
| (def current-player (atom 1)) |