I hereby claim:
-
I am hasufell on github.
-
I am maerwald (https://keybase.io/maerwald) on keybase.
-
I have a public key ASD4nyaFvOcwo0fVoRlS-fAsqKt8jRjEYo9hH-heREmstQo
# Copyright 2017 Thomas Anderson <tanderson@caltech.edu> | |
# Distributed under the terms of the GNU General Public License v2 | |
VPV="v${PV}" | |
require github [ user="${PN}" pn=client tag=${VPV} ] | |
require systemd-service [ systemd_files=[ ] systemd_user_files=[ packaging/linux/systemd/keybase.service ] ] | |
SUMMARY="Keybase CLI tool" | |
HOMEPAGE="https://keybase.io/" |
I hereby claim:
I am hasufell on github.
I am maerwald (https://keybase.io/maerwald) on keybase.
I have a public key ASD4nyaFvOcwo0fVoRlS-fAsqKt8jRjEYo9hH-heREmstQo
/** | |
* Returns a constant value. This will only | |
* be computed on the first render. | |
*/ | |
export function useConst<T>(value: T | (() => T)): T { | |
const [state] = useState<T>(() => | |
typeof value === "function" ? (value as Function)() : value | |
); | |
return state; | |
} |
packages: . | |
source-repository-package | |
type: git | |
location: https://github.com/tel/saltine.git | |
tag: 8bc2a719806fbdce82c20e0a102255e296e325cf |
#!/bin/sh | |
set -e | |
cd "$(mktemp -d)" | |
# create normal file | |
touch normal-file | |
# create proper symlink |
# fmt-version=1 | |
# tab separated columns | |
# tool | version | arch | supported-distros | url | | |
ghc 8.4.3 x86_64 |debian,{6,7,8}|gentoo|archlinux| <url-to-deb-tarball> | |
ghc 8.4.3 x86_64 |fedora|centos,{7}| <url-to-fedora-tarball> | |
ghc 8.4.3 i386 |debian,{6,7,8}| <url> | |
ghc 8.4.4 x86_64 |ubuntu|gentoo|archlinux| <url> | |
cabal 2.4.0.0 x86_64 |unknown| <url> |
nixos-install
, however installs, because that partition is obviously mounted, but doesn't record it in hardware-configuration.nix
. Changing configuration after reboot seems to work, but the new configuration never shows up in the boot menu and is never booted. Silent failure, no error handling, wasted hours of debugging and rebooting.#!/bin/bash | |
# | |
# Author: Julian Ospald <hasufell@posteo.de> | |
# Version: 0.0.1 | |
# Date: 2018-06-08 | |
# Reason: automate digest generation | |
# | |
# This pre-commit hook generates digests for all packages | |
# that have been changed and possibly adds the Manifests to the index. | |
# |
{ | |
"Enable": ["vet", "golint", "megacheck"], | |
"Vendor": true, | |
"Aggregate": true, | |
"Errors": true, | |
"Deadline": "600s", | |
"Linters": { | |
"vet": { | |
"Command": "go vet", | |
"PartitionStrategy": "packages" |
data Flag = Flag { | |
_flagName :: String | |
, _flagDep :: [Int] | |
} | |
-- If a flag with name 'fname' already exists in the input list, | |
-- add 'fdep' to it. Otherwise append a new Flag to the list with 'fdep' | |
-- being the only item. | |
addFlag :: [Flag] -> String -> Int -> [Flag] |