In order to run Xorg apps on macOS you will need to install xquartz:
brew install --cask --no-quarantine xquartzAnd then configure it
| { | |
| "\u001b\u003c": "CursorStart", | |
| "\u001b\u003e": "CursorEnd", | |
| "\u003cCtrl-x\u003e\u003c0\u003e": "Unsplit", | |
| "\u003cCtrl-x\u003e\u003c2\u003e": "HSplit", | |
| "\u003cCtrl-x\u003e\u003c3\u003e": "VSplit", | |
| "\u003cCtrl-x\u003e\u003cCtrl-c\u003e": "Quit", | |
| "\u003cCtrl-x\u003e\u003cCtrl-f\u003e": "OpenFile", | |
| "\u003cCtrl-x\u003e\u003cCtrl-s\u003e": "Save", | |
| "\u003cCtrl-x\u003e\u003ch\u003e": "SelectAll", |
| 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 |
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
| <script lang="ts" setup> | |
| import "dockview-core/dist/styles/dockview.css"; | |
| import {IContentRenderer, DockviewGroupPanel, GroupPanelContentPartInitParameters, PanelUpdateEvent, Parameters, DockviewComponent} from "dockview-core" | |
| onMounted(() => { | |
| const root = document.getElementById("root")!; | |
| const app = document.getElementById("app")!; | |
| const dockviewComponent = new DockviewComponent( { |
| [ | |
| { | |
| "bindings": { | |
| // Built-in | |
| "ctrl-g": "menu::Cancel", | |
| "ctrl-x 5 2": "workspace::NewWindow", | |
| "ctrl-x ctrl-c": "zed::Quit", | |
| "ctrl-x ctrl-f": "workspace::Open", | |
| "ctrl-x k": "pane::CloseActiveItem", | |
| "ctrl-x o": "workspace::ActivateNextPane", |
| defmodule RV32Sim.Register do | |
| def new do | |
| <<0::32-unit(32)>> | |
| end | |
| def get(_, 0), do: 0 | |
| def get(registers, number) do | |
| <<_::size(number)-unit(32), result::32, _::bytes>> = registers | |
| result |
| r""" | |
| This requires to have the library (pkg) pre-installed. | |
| Usage: | |
| $ python ./py2mermaid.py --pkg pandas | |
| $ python ./py2mermaid.py --pkg pandas --base-module pandas.core | |
| $ python ./docs/diagrams/py2mermaid.py --pkg pandas --base-module pandas.core | |
| $ python ./docs/diagrams/py2mermaid.py --pkg pandas --base-module pandas.core --raw | sed "s/\w\.\(\w\)/\U\1/g" | |
| Note: based on https://gist.github.com/Zulko/e0910cac1b27bcc3a1e6585eaee60121 |
| # npm i -g typescript | |
| # change directory to your project | |
| # Prints out tsconfig.json including extended options if there is any. | |
| tsc --showConfig | |
| # You can use this flag to discover where TypeScript is spending it’s time when compiling | |
| # https://github.com/microsoft/TypeScript/wiki/Performance | |
| tsc --extendedDiagnostics |
| #!/bin/bash | |
| #### | |
| #### Copyright (C) 2019 wuseman <wuseman@nr1.nu> - All Rights Reserved | |
| #### Created: 13/02/2019 | |
| #### | |
| #### A notice to all nerds. | |
| #### If you will copy developers real work it will not make you a hacker. | |
| #### Resepect all developers, we doing this because it's fun! | |
| #### | |
| # adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'|grep '/'|awk -F'u0' '{print $2}'|awk '{print $1}'|cut -d/ -f1 |