[
](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22app.hayase%22%2C%22url%22%3A%22https%3A%2F%2Fapi.hayase.watch%2Flatest%22%2C%22author%22%3A%22api.hayase.watch%22%2C%22name%22%3A%22Hayase%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22intermediateLink%5C%22%3A%5B%5D%2C%5C%22customLinkFilterRegex%5C%22%3A%5C%22%5C%22%2C%5C%22filterByLinkText%5C%22%3Afalse%2C%5C%22matchLinksOutsideATags%5C%22%3Atrue%2C%5C%22skipSort%5C%22%3Afalse%2C%5C%22reverseSort%5C%22%3Afalse%2C%5C%22sortByLastLinkSegment%5C%22%3Afalse%2C%5C%22versionExtractWholePage%5C%22%3Afalse%2C%5C%22requestHeader%5C%22%3A%5B%5D%2C%5C%22defaultPseudoVersioningMethod%5C%22%3A%5C%22partialAPKHash%5C%22%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%5C%5C%5Cd%2B(.%5C%5C%5C%5Cd%2B)%2B%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22version
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 nix | |
| #! nix shell --expr ``{}`` --command bash --rcfile | |
| . ~/.bashrc | |
| . ~/.nix-profile/etc/profile.d/nix.sh |
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 std = @import("std"); | |
| pub fn build(b: *std.build.Builder) !void { | |
| const target = b.standardTargetOptions(.{}); | |
| const mode = b.standardReleaseOptions(); | |
| const lib = b.addSharedLibrary("plugin", "src/plugin.zig", .unversioned); | |
| lib.setTarget(target); | |
| lib.setBuildMode(mode); | |
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
| # /etc/systemd/system/timesync.service | |
| [Unit] | |
| Description=time sync using HTTP Date header | |
| Wants=network-online.target network.target | |
| After=network-online.target network.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/bin/bash -c '{ exec {sleep}<> <(:); while ! : >/dev/tcp/time.google.com/80; do read -r -t 1 -u $$sleep; done; } 2>/dev/null; true' | |
| ExecStart=/bin/bash -c 'timedatectl set-time "$(date +"%%Y-%%m-%%d %%H:%%M:%%S %%Z" -d"$(curl -sSI http://time.google.com | grep -i "Date: " | cut -d" " -f2-)")"' |
I hereby claim:
- I am env25 on github.
- I am env25 (https://keybase.io/env25) on keybase.
- I have a public key ASDE5jYkU8sq2BQfR6Pv-6wYAW68ifCPPbkv6xfknPM8ego
To claim this, I am signing this object:
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
| color0 #000000 | |
| color1 #d81029 | |
| color2 #00c172 | |
| color3 #e2e800 | |
| color4 #1571ce | |
| color5 #c824c2 | |
| color6 #00aad1 | |
| color7 #e5e5e5 | |
| color8 #666666 | |
| color9 #fe3646 |
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 textwidth | |
| import ( | |
| "unicode" | |
| "golang.org/x/text/width" | |
| ) | |
| // IsComb returns true if r is a Unicode combining character. Alias of: | |
| // |
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 ( | |
| "fmt" | |
| "os" | |
| "strings" | |
| "github.com/gdamore/tcell/v2" | |
| "github.com/gdamore/tcell/v2/encoding" | |
| "github.com/mattn/go-runewidth" |
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
| export function *fibonacci(n) { | |
| const infinite = !n && n !== 0; | |
| let current = 0n; | |
| let next = 1n; | |
| while (infinite || n--) { | |
| yield current; | |
| [current, next] = [next, current + next]; | |
| } | |
| } |
To update the BIOS/UEFI firmware requires HP-specific files in the EFI System Partition, also referred to as ESP.
On a Linux system, the ESP is typically mounted on /boot/efi or /efi. Whithin you should also find a EFI directory, e.g. /boot/efi/EFI or /efi/EFI. This article assumes that the ESP is mounted on /efi and that the /efi/EFI directory exists. You can replace that with the mount point your system uses.
The HP-specific files are located in /efi/EFI/HP or /efi/EFI/Hewlet-Packard. These files typically come preinstalled in HP Windows PCs. If you have these files you could skip Install HP-specific files.
NewerOlder