Skip to content

Instantly share code, notes, and snippets.

Server = https://arch.mirror.constant.com/$repo/os/$arch
Server = https://mirrors.mit.edu/archlinux/$repo/os/$arch
Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch
Server = https://mirror.umd.edu/archlinux/$repo/os/$arch
Server = https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch
## Run ### pacman -Syyu
@andreyk0
andreyk0 / Foo.hs
Last active May 5, 2020 18:46
ghc pattern match
{-# LANGUAGE PatternSynonyms #-}
module Foo where
newtype FooBar = FooBar String deriving (Eq, Show)
pattern Whoa :: FooBar
pattern Whoa = FooBar "whoa"
pattern Meah :: FooBar
@andreyk0
andreyk0 / update.sh
Created May 1, 2020 13:36
amazonka 1 module at a time
#!/bin/sh
# Run in 'gen'
# gen/vendor/botocore: 1.16.0
set -e
set -x
PROOT=$(realpath ..)
@andreyk0
andreyk0 / keybase.md
Created September 27, 2018 20:09
keybase.md

Keybase proof

I hereby claim:

  • I am andreyk0 on github.
  • I am andreyk0 (https://keybase.io/andreyk0) on keybase.
  • I have a public key whose fingerprint is 81D3 6A78 EEBD AABF 9909 CBF5 D29D D5BF 0A0D 164A

To claim this, I am signing this object: