Skip to content

Instantly share code, notes, and snippets.

Alex Brandt alunduil

Block or report user

Report or block alunduil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AlgorithmR.hs
module AlgorithmR
( algorR
)
where
algorR :: Num a => Int -> Int -> [a] -> ([a], [a])
algorR = algorR' ([], [])
algorR' :: Num a => ([a], [a]) -> Int -> Int -> [a] -> ([a], [a])
algorR' (ys, zs) _ 0 _ = (ys, zs)
View stdin
+ '[' -e Makefile ']'
+ '[' -e zfs-replicate.cabal ']'
+ hlint src test
No hints
+ cabal new-clean
+ cabal new-configure -O0 --enable-tests --enable-benchmarks
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O0
In order, the following would be built (use -v for more details):
View etcos-release
NAME=NixOS
ID=nixos
VERSION="20.03beta695.b2935fbecea (Markhor)"
VERSION_CODENAME=markhor
VERSION_ID="20.03beta695.b2935fbecea"
PRETTY_NAME="NixOS 20.03 (Markhor)"
LOGO="nix-snowflake"
HOME_URL="https://nixos.org/"
DOCUMENTATION_URL="https://nixos.org/nixos/manual/index.html"
SUPPORT_URL="https://nixos.org/nixos/support.html"
View stdin
+ '[' -e Makefile ']'
+ '[' -e zfs-replicate.cabal ']'
+ hlint src test
No hints
+ cabal v2-clean
+ cabal v2-configure -O0 --enable-tests --enable-benchmarks
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O0
In order, the following would be built (use -v for more details):
@alunduil
alunduil / .githookspre-commit
Created Mar 26, 2020
.git/hooks/pre-commit
View .githookspre-commit
#!/usr/bin/env bash
set -e
set -x
if [ -e Makefile ]; then
make lint
make check
elif [ -e zfs-replicate.cabal ]; then
hlint src test
View stdin
-- Logs begin at Sat 2019-03-09 23:21:42 PST, end at Wed 2019-10-02 20:34:44 PDT. --
Mar 09 23:21:47 elijah systemd[1]: Starting Network Time Synchronization...
Mar 09 23:21:47 elijah systemd[1]: Started Network Time Synchronization.
Mar 09 23:23:49 elijah systemd-timesyncd[2330]: Synchronized to time server 47.190.36.230:123 (0.nixos.pool.ntp.org).
Mar 09 23:24:47 elijah systemd-timesyncd[2330]: Synchronized to time server 198.58.105.63:123 (0.nixos.pool.ntp.org).
Mar 10 08:12:12 elijah systemd-timesyncd[2330]: Synchronized to time server 45.43.30.59:123 (0.nixos.pool.ntp.org).
Mar 10 10:55:40 odin systemd-timesyncd[2330]: Synchronized to time server 173.255.206.154:123 (0.nixos.pool.ntp.org).
Mar 10 11:05:18 odin systemd[1]: Stopping Network Time Synchronization...
Mar 10 11:05:18 odin systemd[1]: Stopped Network Time Synchronization.
-- Reboot --
View tmpOverride.hs
module Override where
import Control.Arrow ((&&&), (|||))
newtype Selector a = Selector { unSelector :: a -> Bool }
class Or a where
or :: a -> a -> a
class And a where
View stdin
building Nix...
building the system configuration...
these derivations will be built:
/nix/store/wj5743801mrh3429v1bchslprvlijvy3-zfs-replicate-1.1.4.drv
/nix/store/hxhy8xsf3apk1zsiwc5kxmhhiadzpnnr-unit-script-zfs-replication-start.drv
/nix/store/j3hzjm0jqkbg90myqqxy71bw6bwbfpgv-unit-zfs-replication.service.drv
/nix/store/ykmpc3zpm6l9yb2m2zv5r9hrdsilgh6n-system-units.drv
/nix/store/3iz7gqb8p6vqzkaxdwhxl3mdcb1r40xr-etc.drv
/nix/store/wfj833gj9pihifzp2nkdl6a0xm80axaq-nixos-system-odin-19.03.172361.cf3e277dd0b.drv
building '/nix/store/wj5743801mrh3429v1bchslprvlijvy3-zfs-replicate-1.1.4.drv'...
View stdin
===> Evaluating config script "rebar.config.script"
===> Evaluating config script "/home/alunduil/Projects/erlang/minikube.erl/_build/default/plugins/coveralls/rebar.config.script"
===> 21.2.3 satisfies the requirement for minimum OTP version 18
===> Expanded command sequence to be run: [{default,report}]
===> Provider: {default,report}
Rebar3 report
version 3.10.0
generated at 2019-04-21T22:08:23+00:00
=================
Please submit this along with your issue at https://github.com/erlang/rebar3/issues (and feel free to edit out private information, if any)
View stdin
===> Evaluating config script "rebar.config.script"
===> Evaluating config script "/home/alunduil/Projects/erlang/minikube.erl/_build/default/plugins/coveralls/rebar.config.script"
===> 21.2.3 satisfies the requirement for minimum OTP version 18
===> Expanded command sequence to be run: []
===> Provider: {default,do}
===> Expanded command sequence to be run: [{hex,user}]
===> Provider: {hex,user}
Not authenticated as any user currently for this repository
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: {try_clause,ok}
You can’t perform that action at this time.