- GitHoney is a dApp developed by TxPipe providing a mechanism to tie specific tasks in a github project's repository (eg. Issues) to bounties
- The currently implemented simple workflow is the following:
- Maintainers create a set of bounty tokens, locked into a smart contract, with some amount of Ada attached
- A contributor can "claim a bounty" on-chain, attaching some wallet/address id to the bounty for future reward
- The maintainer can either close the bounty, reclaiming the attached reward, or "merge" it, delivering the reward to the contributor
- More details available in the docs
- There's an off-chain "oracle" that ties into the GitHub API and drives the bounty claims:
- When a PR fixing the Issue is merged, it unlocks the reward
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
data Actif : Type where | |
Paracetamol : Actif | |
Morphine : Actif | |
record Substance where | |
constructor MkSubstance | |
principeActif : Actif | |
dosageMg : Nat |
I hereby claim:
- I am abailly on github.
- I am dr_c0d3 (https://keybase.io/dr_c0d3) on keybase.
- I have a public key ASD86WDkjx0YyL2R82hHkE2LJzHfpWcJDjCD7oYVnt33Xgo
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
||| A proof of the validity of matching algorithm for | |
||| regular expressions | |
||| | |
||| From https://arxiv.org/abs/2003.06458 | |
module re | |
import Decidable.Equality | |
%default total |
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
module Substitution where | |
import Data.Maybe | |
import Data.List(findIndex) | |
newtype Message = Msg { unMsg :: [Int] } | |
deriving (Eq, Show) | |
type SubstitutionTable = Int -> Int |
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
module Subway where | |
import Control.Arrow((>>>)) | |
import Data.List(sort) | |
data Subway = Sub [Subway] | |
deriving (Show, Eq, Ord) | |
fromString' :: [Subway] -> String -> Subway |
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
{-# LANGUAGE DeriveFunctor #-} | |
module Main where | |
import Data.List(group, sort) | |
data Tree a = E | N a (Tree a) (Tree a) | |
deriving (Eq, Ord, Show, Functor) | |
insert :: (Ord a) => [a] -> Tree a | |
insert list = insert' list E |
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 org.jparsec.examples.dsl; | |
import org.jparsec.Parser; | |
import org.jparsec.Parsers; | |
import org.jparsec.Scanners; | |
import org.jparsec.Terminals; | |
import java.util.Arrays; | |
public class DSL { |
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
||| A proof of the validity of matching algorithm for | |
||| regular expressions | |
||| | |
||| From https://arxiv.org/abs/2003.06458 | |
module re | |
%default total | |
infix 7 .| | |
infix 6 .. |
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
{-# LANGUAGE DeriveDataTypeable, DeriveGeneric, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, PolyKinds, | |
ScopedTypeVariables, TypeFamilies, TypeOperators, UndecidableInstances #-} | |
module Gorilla.Auth.Roles where | |
import Control.Monad.Trans (liftIO) | |
import Control.Monad.Trans.Except (runExceptT) | |
import Data.Proxy (Proxy (Proxy)) | |
import Data.Typeable (Typeable) | |
import GHC.Generics (Generic) | |
import Network.Wai (Request) |
NewerOlder