- Install
onefetchby either:- Compiling it from scratch using the Rust compiler, Cargo: with the command
cargo install onefetch - Downloading a pre-built binary from Onefetch's GitHub releases page (recommended) and placing it in your
$PATH(such as/usr/local/bin/onefetch).
- Compiling it from scratch using the Rust compiler, Cargo: with the command
- Add the snippet listed in
onefetch_on_cd.shto whatever file that gets run whenever you start a new Bash session. This differs per distro but common files include:~/.bashrc~/.bash_profile- sometimes
~/.bash_aliases?
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
| #!/bin/sh | |
| if [ $# -eq 0 ]; then | |
| echo 2>&1 "You must specify the PHP version as the first argument." | |
| exit 1 | |
| fi | |
| ################################################################################### | |
| ### ENVIRONMENT HELPER ### | |
| ### --------------------------------------------------------------------------- ### |
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
| const MAX: u32 = 1_000_000; | |
| fn main() { | |
| fizzbuzz(); | |
| } | |
| struct Definition<'a> { | |
| divisor: u16, | |
| text: &'a str, | |
| } |
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
| SHELL := bash | |
| .SHELLFLAGS := -eu -o pipefail -c | |
| .ONESHELL: | |
| .DELETE_ON_ERROR: | |
| MAKEFLAGS += --warn-undefined-variables | |
| MAKEFLAGS += --no-builtin-rules | |
| ifeq ($(origin .RECIPEPREFIX), undefined) | |
| $(error This Make does not support .RECIPEPREFIX; Please use GNU Make 4.0 or later) | |
| endif | |
| # The editor config for IDEs automatically converts tabs (default Make config) to spaces. Use a printable character instead of whitespace. |
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
| pub fn function_from_external_crate<F, I>(get_more_info: F) -> Vec<Action> | |
| where | |
| F: FnMut(&str) -> I, | |
| I: IntoIterator<Item = String>, | |
| { | |
| todo!() | |
| } | |
| async fn function_in_my_crate(conn: &Pool<Postgres>) { // <-- Currently inside an async function so | |
| // can't create a runtime within a runtime? |
- Install the
system-update.serviceandsystem-update.timerservice files to a directory that SystemD loads service definitions from.- The most likely directory on most distros is
/etc/systemd/system/(create this directory if it does not exist).
- The most likely directory on most distros is
sudo systemctl daemon-reloadto tell SystemD to refresh its configuration cache.sudo systemctl enable --now software-update
If SystemD does not know about the software-update service you created, refer to your distros documention about which directories are checked for configuration. Perhaps try /usr/lib/systemd/system/ (not recommended initially)?
Either put the Jira/Issue number in the title, or exclaim "the PM gods hath forsaken me!"
Blocked by (these merge requests need to be reviewed and merged first):
Overall Category:
- 🐛
bugfix(semantic PATCH version bump) - ✨
feature(semantic MINOR version dump) - 💄
style(styling or template changes) - 🚨
test(adding, improving or correcting tests)
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
| <?php | |
| declare(strict_types=1); | |
| namespace App\Listener; | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpKernel\Event\ExceptionEvent; | |
| use Symfony\Component\HttpKernel\Event\ResponseEvent; |
OlderNewer