Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
| Action | Windows/Linux | macOS |
|---|---|---|
| New window | Ctrl+Shift+N | Cmd+N |
| Close window | Alt+F4 | Cmd+Shift+W |
| #ifdef OLED_ENABLE | |
| // Rotate OLED | |
| oled_rotation_t oled_init_user(oled_rotation_t rotation) { | |
| return OLED_ROTATION_90; | |
| } | |
| // Animation parameters | |
| #define FRAME_DURATION 333 // How long each frame lasts in milliseconds |
| # Optimized my.cnf configuration for MySQL/MariaSQL | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated January 2020 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
Europe
| Previously this gist had a series of files showing a working setup, but, | |
| @burkeholland found a much easier way and demonstrates it here: | |
| https://github.com/burkeholland/nuxt-appservice-windows | |
| Essentially, you'll: | |
| 1. add a .deployment file to instruct kudu to run `npm install` for you, | |
| 2. leverage npm tasks' `postinstall` hook in package.json to trigger the full nuxt build, | |
| 3. add a server.js file in the root that `require`s the default server\index.js file that a nuxt app will already have | |
| Step 3 will be noticed by kudu, which will: |
| # npm using https for git | |
| git config --global url."https://github.com/".insteadOf git@github.com: | |
| git config --global url."https://".insteadOf git:// | |
| # npm using git for https | |
| git config --global url."git@github.com:".insteadOf https://github.com/ | |
| git config --global url."git://".insteadOf https:// |
[Android Transition Framework][transition-framework] can be used for three main things:
| set-executionpolicy -executionpolicy remotesigned | |
| winrm quickconfig -q | |
| winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}' | |
| winrm set winrm/config '@{MaxTimeoutms="1800000"}' | |
| winrm set winrm/config/service '@{AllowUnencrypted="true"}' | |
| winrm set winrm/config/service/auth '@{Basic="true"}' |