| Action | Shortcut |
|---|---|
| Scroll line up | ctrl+shift+up (also ⌥+⌘+⇞ and ⌘+↑ on macOS) |
| Scroll line down | ctrl+shift+down (also ⌥+⌘+⇟ and ⌘+↓ on macOS) |
| Scroll page up | ctrl+shift+page_up (also ⌘+⇞ on macOS) |
| Scroll page down | ctrl+shift+page_down (also ⌘+⇟ on macOS) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "core:fmt" | |
| import "core:math" | |
| import "core:math/linalg" | |
| import rl "vendor:raylib" | |
| main :: proc() { | |
| rl.SetConfigFlags({.VSYNC_HINT, .WINDOW_RESIZABLE, .MSAA_4X_HINT}) | |
| rl.InitWindow(800, 600, "collision") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* (Optional) Define RGB settings in your config.h */ | |
| #ifdef RGBLIGHT_ENABLE | |
| # define RGBLIGHT_ANIMATIONS | |
| # define RGBLIGHT_HUE_STEP 8 | |
| # define RGBLIGHT_SAT_STEP 8 | |
| # define RGBLIGHT_VAL_STEP 8 | |
| # define RGBLIGHT_LIMIT_VAL 150 | |
| # define RGBLIGHT_SLEEP | |
| // # define RGBLIGHT_LAYERS // We do NOT need the layers! | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| cache_dir="$HOME/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps" | |
| if command -v find >/dev/null && command -v mktemp >/dev/null && command -v unzip >/dev/null && command -v grep >/dev/null | |
| then : | |
| else | |
| echo "This script requires the follow executables to run: find mktemp unzip grep" |
This script allows to generate the vertices, of a regular polygon, as svg circles. It is possible to specify:
- the number of polygon sides;
- the radius of the polygon;
- the svg width and height.
The vertices coordinates are generated splitting a circumference in N parts, corresponding to the polygon sides. If N=1 then the vertice coordinates correspond to the center of the circumference.