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
module Foo where | |
import Control.Monad.IO.Class | |
import Control.Monad.Trans.Resource | |
import Data.ByteString (ByteString) | |
import Data.ByteString.Unsafe | |
import Data.Functor | |
import Data.Word8 | |
import Foreign.ForeignPtr | |
import Foreign.ForeignPtr.Unsafe |
package sort | |
import ( | |
"context" | |
"fmt" | |
) | |
// Merge too already sorted and deduplicated lists. | |
func MergeLists(l []int, r []int) []int { | |
n := []int{} |
{-# LANGUAGE TemplateHaskell #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE LiberalTypeSynonyms #-} | |
module MyOptics where | |
import Optics | |
# Copyright 2017 Thomas Anderson <[email protected]> | |
# 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.