Skip to content

Instantly share code, notes, and snippets.

View psosera's full-sized avatar

Peter-Michael Osera psosera

View GitHub Profile
#!/bin/bash
# Set the time
timedatectl set-ntp true
# Partition disk
parted /dev/sda mklabel msdos
parted /dev/sda mkpart primary linux-swap 1MiB 8GiB
parted /dev/sda mkpart primary ext4 8GiB 100%
parted /dev/sda set 2 boot on
@psosera
psosera / Main.purs
Created September 26, 2019 17:30
CSC 208: Tribools Homework Problem
module Main where
import Prelude
import Control.Monad.Eff.Console (log)
import TryPureScript (render, withConsole)
{--
- Problem (tribools): traditional boolean logic involves two values: true and
- false. However, it is sometimes beneficial to consider logics that involve
@psosera
psosera / Main.purs
Last active September 24, 2019 16:56
CSC 208: Introduction to Purescript
module Main where
import Prelude
import Control.Monad.Eff.Console (logShow)
import Data.Map (Map, lookup, singleton)
import TryPureScript (render, withConsole)
----- Introduction --------------------------------------------------------
@psosera
psosera / keybase.md
Created February 5, 2017 02:26
Keybase Proof

Keybase proof

I hereby claim:

  • I am psosera on github.
  • I am iampmo (https://keybase.io/iampmo) on keybase.
  • I have a public key ASAkMgRu0tifAefg430WkmbWvK6-a3_xLz05OcCW-Bx7awo

To claim this, I am signing this object: