:resize-window -A
:new -s
None of the previous saves are deleted (unless you explicitly do that). All save
files are kept in ~/.tmux/resurrect/ directory.
| You are an expert software architect and project analysis assistant. Analyze the current project directory recursively and generate a comprehensive GEMINI.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards and architecture. | |
| + Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory. | |
| + Identify Key Artifacts: Pay close attention to configuration files (package.json, requirements.txt, pom.xml, Dockerfile, .eslintrc, prettierrc, etc.), READMEs, folder hierarchy, documentation files, and source code files. | |
| + Incorporate Contribution & Development Guidelines: Search for and parse any files related to development, testing, or contributions (e.g., CONTRIBUTING.md, DEVELOPMENT.md, TESTING.md). The instructions within these guides are critical |
| Note for newcomers: | |
| In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention | |
| used in the Midnight Commander documentation and was kept here. | |
| You can also use "ESC" instead of "ALT", which is useful on Macbooks. | |
| Main View | |
| --------------------------------------------------------------- | |
| - File/directory operations |
| { | |
| // adjust font sizes here | |
| "terminal.integrated.fontSize": 13, | |
| "debug.console.fontSize": 13, | |
| "debug.console.lineHeight": 16, | |
| "editor.fontSize": 13, | |
| // Language specific settings | |
| "html.autoClosingTags": true, | |
| "[typescript]": { | |
| "editor.codeActionsOnSave": { |
| https://askubuntu.com/questions/1404550/google-chrome-freeze-uploading-a-file | |
| sudo apt install xdg-desktop-portal-gnome |
| wget https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info && tic -xe alacritty,alacritty-direct alacritty.info && rm alacritty.info |
| showkey -a | |
| example: | |
| ctrl+pgup | |
| ^[[5;5~ 27 0033 0x1b | |
| 91 0133 0x5b | |
| 53 0065 0x35 | |
| 59 0073 0x3b |
| DO $$ DECLARE | |
| namespace RECORD; | |
| BEGIN | |
| FOR namespace IN (SELECT s.nspname as schema from pg_catalog.pg_namespace s where nspname not in ('information_schema', 'pg_catalog', 'public', 'everest') and nspname not like 'pg_%') | |
| LOOP | |
| EXECUTE 'DROP SCHEMA IF EXISTS ' || quote_ident(namespace.schema) || ' CASCADE'; | |
| END LOOP; | |
| END $$; |
| # backup the sources.list file ! | |
| # backup | |
| apt-mark showmanual > .installed_ubuntu_packages | |
| # on another system | |
| # restore sources.list file ! | |
| xargs < .installed_ubuntu_packages apt-get install -y | |
| ä old school way | |
| # backup the sources.list file ! |
| ssh-keygen -m PEM -t rsa -b 4096 -C "email" -f ~/.ssh/id_xxx | |
| ssh-keygen -a 100 -m PEM -t ed25519 -f ~/.ssh/id_ed25519 -C "[email protected]" |