- Automatically bump SemVer
- Update a personal homebrew tap
- Keep that pesky version in the Cargo.toml up to date
- (From dependabot) Get new versions out as soon as possible
- You don't want a changelog
| | |
| https://ziglang.org/documentation/master/#Pointers | |
| *T - single-item pointer to exactly one item. | |
| Supports deref syntax: ptr.* | |
| [*]T - pointer to unknown number of items. (eq. of *T in C) | |
| Supports index syntax: ptr[i] | |
| Supports slice syntax: ptr[start..end] | |
| Supports pointer arithmetic: ptr + x, ptr - x |
| function THEMENAME_theme_suggestions_block_alter(array &$suggestions, array $variables) { | |
| if (isset($variables['elements']['content']['#block_content'])) { | |
| $suggestions[] = 'block__' . $variables['elements']['content']['#block_content']->bundle(); | |
| } | |
| } |
| func openbrowser(url string) { | |
| var err error | |
| switch runtime.GOOS { | |
| case "linux": | |
| err = exec.Command("xdg-open", url).Start() | |
| case "windows": | |
| err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start() | |
| case "darwin": | |
| err = exec.Command("open", url).Start() |