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 ForeignFunctionInterface #-} | |
module MountUtils where | |
import Control.Monad (liftM) | |
import Foreign.C.Types | |
import Foreign.C.String | |
import Foreign.Ptr | |
import Foreign.Storable |
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
#!/usr/bin/env stack | |
-- stack --resolver lts-13.22 script | |
{- | |
Run this as, | |
> GITHUB_AUTH_TOKEN=<your_gists_token> ./Gists.hs | |
-} | |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE DeriveGeneric #-} |
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 TemplateHaskell #-} | |
{-# LANGUAGE OverloadedStrings#-} | |
{-# LANGUAGE LambdaCase, BlockArguments #-} | |
{-# LANGUAGE GADTs, FlexibleContexts, TypeOperators, DataKinds, PolyKinds, ScopedTypeVariables #-} | |
import Network.Minio | |
import qualified Data.HashMap.Strict as HM | |
import qualified Data.ByteString as B | |
import Polysemy | |
import Polysemy.Input |
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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: demo | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: demo |
OlderNewer