This document is generated by AI, and there may be issues with the specific details.
- Version: 1.0
- Date: 2025-01-XX
- Purpose: Public technical specification for format conversion
- Target Platform: ESP32 E-Paper Display Devices
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| format = """ | |
| [ ](bg:inverted fg:#bf616a)\ | |
| $username$hostname\ | |
| [](bg:#d08770 fg:#bf616a)\ | |
| $directory\ | |
| [](fg:#d08770 bg:#ebcb8b)\ | |
| $git_branch\ | |
| $git_status\ | |
| [](fg:#ebcb8b bg:#86BBD8)\ | |
| $c\ |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <assert.h> | |
| FILE *in; long M[1<<24]={0}, *D, *R, H=0x130000, IP=0, T; | |
| long getu() { long t, h = getc(in); if (h < 0xC0) return h; | |
| t = ((h&0x1F) << 6) | (getc(in) & 0x3F); if (h < 0xE0) return t; | |
| t = ( t << 6) | (getc(in) & 0x3F); if (h < 0xF0) return t; | |
| t = ( t << 6) | (getc(in) & 0x3F); return t & 0x1FFFFF; } | |
| void putu(long c) { if (c < 0x80) { putchar(c); return; } | |
| if (c < 0x7FF) { putchar(0xC0|(c>>6)); } else { |
Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.
Sep. 27th 2021 UPDATED
Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:
Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.
| // RCL 05 June 2021 | |
| /* | |
| verify with `openssl pkey -in <privatekey>` or `openssl pkey -in <privatekey> -pubout` | |
| the latter should match the publickey | |
| */ | |
| package main | |
| import ( |
| upstream node_server { | |
| server localhost:3000; | |
| } | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| root /usr/share/nginx/html; |
| #!/bin/sh | |
| # Application path | |
| APP_PATH="$(dirname "${BASH_SOURCE[0]}")" | |
| cd "$APP_PATH" | |
| # Executable file | |
| APP_EXEC="$APP_PATH/.exe" | |
| # Steam / IDs |
| # Default config for sway | |
| # | |
| # Copy this to ~/.config/sway/config and edit it to your liking. | |
| # | |
| # Read `man 5 sway` for a complete reference. | |
| ### Variables | |
| # | |
| # Logo key. Use Mod1 for Alt. | |
| set $mod Mod4 |