Skip to content

Instantly share code, notes, and snippets.

@ibaiul
ibaiul / Protonmail.md
Last active November 1, 2024 14:23
Configure the protonmail bridge linux client on CentOS server and Fedora

Protonmail on CentOS server

#protonmail #centos #fedora #linux

Before you start

Currently protonmail bridge for linux is distributed as part of an open beta program, but soon it will be made public (https://protonmail.com/bridge/install).

Consider that the bridge linux client requires a paid protonmail account to work.

Get the protonmail bridge linux installer

@avieth
avieth / gist:334201aa341d9a00c7fc
Last active July 22, 2022 13:42
Interpreting Free Monads of Functor Sums
Interpreting Free Monads of Functor Sums
========================================
This text deals with a way to compose certain kinds of monads, thereby mixing
their capabilities. It is a literate Haskell file, so let's begin with a
bunch of noise.
> {-# LANGUAGE MultiParamTypeClasses #-}
> {-# LANGUAGE FlexibleInstances #-}
> {-# LANGUAGE FlexibleContexts #-}
@abailly
abailly / gist:1948301
Created March 1, 2012 08:24
battle language sample
import Control.Monad
import Data.List
-- http://xkcd.com/287/
-- On voudrait pour 15.05 € de tapas; SVP
menu = [("gambas" ,215),
("aceitunas" ,275),
("choquitos" ,335),
("empanada" ,355),
@danielwaterworth
danielwaterworth / main.hs
Created February 26, 2012 10:21
Error conscious, pure iteratee library (based on pipes)
{-# LANGUAGE FlexibleInstances, DeriveDataTypeable #-}
import Data.Char
import Data.Typeable
import Control.Monad
import Control.Exception
import Control.Monad.Trans
import System.IO