See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| def fill-env-var [] { | |
| let current_prompt = (commandline) | |
| let var_idx = $current_prompt | str index-of "$env." --end | |
| let head = match $var_idx { | |
| # no '$env.' was found | |
| -1 => return | |
| 0 => "" | |
| $idx => ($current_prompt | str substring ..($idx - 1)) | |
| } | |
| # 5 is the offset for f in '$env.foo` |
| from os import environ | |
| from pathlib import Path | |
| __all__ = ["load_env_to_environ"] | |
| def _format(key_or_value: str) -> str: | |
| return key_or_value.strip(" \"'") | |
| // ==UserScript== | |
| // @name Twitch Chat Answer Inserter | |
| // @namespace http://tampermonkey.net/ | |
| // @author MrPandir | |
| // @version 1.8.2 | |
| // @description Inserts single words from Twitch chat into specified websites | |
| // @match https://slovo.win/* |
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"