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
| Running phase: unpackPhase | |
| @nix { "action": "setPhase", "phase": "unpackPhase" } | |
| unpacking source archive /nix/store/4vshbg1rjirlffg7n6wkx921yfmzff6q-daq-2.2.2.tar.gz | |
| source root is daq-2.2.2 | |
| setting SOURCE_DATE_EPOCH to timestamp 1499285530 of file daq-2.2.2/ChangeLog | |
| Running phase: patchPhase | |
| @nix { "action": "setPhase", "phase": "patchPhase" } | |
| Running phase: updateAutotoolsGnuConfigScriptsPhase | |
| @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
| Updating Autotools / GNU config script to a newer upstream version: ./config.sub |
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
| { | |
| systemd.user.services."battery-low" = { | |
| enable = true; | |
| description = "Notify user if battery is below 10%"; | |
| partOf = ["graphical-session.target"]; | |
| wantedBy = ["graphical-session.target"]; | |
| serviceConfig = { | |
| Type = "simple"; | |
| ExecStart = pkgs.writeShellScript "battery-low-notification" | |
| '' |
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 fish | |
| # https://sre.google/sre-book/eliminating-toil/ | |
| rm "/tmp/nix-update-$argv[1]" -r | |
| cd $(zoxide query nixpkgs) | |
| git worktree remove "/tmp/nix-update-$argv[1]" | |
| git stash | |
| git switch master | |
| git pull | |
| set bump "$(nix run nixpkgs#nix-update -- "$argv[1]" &| rg -o -- '\d+\.\d+\.\d+ -> \d+.\d+\.\d+')" |
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
| diff --git a/src/options/filter.rs b/src/options/filter.rs | |
| index 8a63dbe0..b22881c3 100644 | |
| --- a/src/options/filter.rs | |
| +++ b/src/options/filter.rs | |
| @@ -28,10 +28,14 @@ impl SortField { | |
| /// Returns the default sort field if none is given, or `Err` if the | |
| /// value doesn’t correspond to a sort field we know about. | |
| fn deduce(matches: &MatchedFlags<'_>) -> Result<Self, OptionsError> { | |
| - let Some(word) = matches.get(&flags::SORT)? else { return Ok(Self::default()) }; | |
| + let Some(word) = matches.get(&flags::SORT)? else { |
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 sh | |
| gh pr checks $1 --watch && notify-send "ofborg is done cooking $1" || notify-send "ofborg burned $1" |
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
| (?!^version = .)([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)? |
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
| diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y | |
| index 201370b90..4b26af623 100644 | |
| --- a/src/libexpr/parser.y | |
| +++ b/src/libexpr/parser.y | |
| @@ -353,6 +353,7 @@ void yyerror(YYLTYPE * loc, yyscan_t scanner, ParseData * data, const char * err | |
| %left AND | |
| %nonassoc EQ NEQ | |
| %nonassoc '<' '>' LEQ GEQ | |
| +%nonassoc '$' DOL | |
| %right UPDATE |
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 | |
| ## Get the primary and secundary IPs | |
| awk '/\|--/ && !/\.0$|\.255$/ {print $2}' /proc/net/fib_trie | |
| ## Get only the primary IPs | |
| awk '/32 host/ { print i } {i=$2}' /proc/net/fib_trie |
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
| seq 100 | cksum | perl -lpe '$_=unpack"B*"' | rg --pcre2 '(.+)(?=.*\1)' -o | sort | tail -n 1 | wc -c | xargs -n 1 bash -c 'echo 2 ^ $1' args | bc |
NewerOlder