Skip to content

Instantly share code, notes, and snippets.

View cronburg's full-sized avatar

Karl Cronburg cronburg

View GitHub Profile
@cronburg
cronburg / arch.install
Last active January 15, 2016 13:40 — forked from remysucre/arch.install
Arch Linux install script
# lsblk: show devices
parted /dev/sda
mklabel msdos
mkpart primary ext4 1MiB 100MiB
set 1 boot on
mkpart primary ext4 100 15GiB
mkpart primary linux-swap15 16
mkpart primary ext4 16 100%
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
#!/usr/bin/env python
import re
import sys
with open(sys.argv[1]) as f:
lines = f.readlines()
rx = re.compile(r"[\w\s]")
d = {}
# This file was automatically generated by 'stack init'
#
# Some commonly used options have been documented as comments in this file.
# For advanced use and comprehensive documentation of the format, please see:
# http://docs.haskellstack.org/en/stable/yaml_configuration/
# A warning or info to be displayed to the user on config load.
user-message: ! 'Warning (added by new or init): Some packages were found to have
names conflicting with others and have been commented out in the packages section.
karl@satellite:~/w/autobahn$ stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- Autobahn.cabal
Selecting the best among 9 snapshots...
Downloaded lts-7.1 build plan.
Fetching package index ...remote: Counting objects: 41, done.
remote: Compressing objects: 100% (32/32), done.