- one
- two
- three
not a list item
produces:
| escape C-p | |
| bind Escape abort | |
| bind u undo | |
| bind b exec firefox | |
| bind c slack | |
| bind m spotify | |
| set border 0 | |
| set barpadding 0 0 0 0 | |
| set padding 0 0 0 0 |
| #!/bin/sh | |
| # Set cursor | |
| xsetroot -cursor_name left_ptr & | |
| # Set background | |
| xsetroot -solid black & | |
| feh --bg-center background.png & | |
| # Enable a second monitor if present | |
| xrandr --output eDP1 --auto --output HDMI2 --auto --right-of eDP1 & |
| # pylint: disable=import-error,wildcard-import,bare-except | |
| from __future__ import print_function | |
| import sys | |
| import traceback | |
| import random | |
| from pprint import pprint as pp | |
| import yaml |
| # if you want to use a non qwerty keyboard layout | |
| sudo dpkg-reconfigure keyboard-configuration | |
| sudo cryptsetup luksOpen /dev/sda3 some-vg | |
| # enter password | |
| sudo vgscan | |
| # mount the root drive | |
| sudo mount /dev/mapper/some--vg-root /mnt | |
| # consult /mnt/etc/fstab to find out where the boot directories are so you can mount them |
| # in chromebook shell | |
| 4 sudo sh ~/Downloads/crouton -t xorg,cli-extra,audio,touch,extension | |
| 5 enter-chroot | |
| 6 sudo enter-chroot | |
| # in the chroot | |
| 6 sudo apt install curl | |
| 7 curl -sSL https://get.haskellstack.org/ | sh | |
| 8 stack install xmonad | |
| 9 stack setup | |
| 10 stack install xmonad |
| import groovy.json.JsonSlurper | |
| def build = Thread.currentThread().executable | |
| def workspace = new File(build.workspace.getRemote()) | |
| def repositoryMatcher = "git config --get remote.origin.url".execute(null, workspace).text =~ /.+?(bitbucket.org|github.com)(?::|\/)(.*?).git$/ | |
| def pullIdMatcher = "git log ${build.getEnvironment()["GIT_COMMIT"]} --merges --oneline -n 1".execute(null, workspace).text =~ /pull request #(\d+)/ | |
| if (!pullIdMatcher) { | |
| println "Could not find pull request for commit '${build.getEnvironment()["GIT_COMMIT"]}'." |
| #!/usr/bin/env bash | |
| set -e | |
| ((DEBUG)) && set -x | |
| TIMES=100 | |
| WORDS=100 | |
| rm -rf $(<head-words) | |
| rm -rf $(<tail-words) | |
| uniq -i /usr/share/dict/words > uniq-words |
| # With Vagrant and Virtualbox installed, running `vagrant up` in a directory with this file | |
| # will create an Ubuntu Xenial VM running on Virtualbox and then will install the | |
| # prerequisites for and then the systemd python package for python3. After | |
| # installation, a simple test is run and it's output will be shown. | |
| $SCRIPT = <<EOS | |
| apt-get update | |
| apt-get install -qq libsystemd-dev libncurses5-dev python3-dev | |
| curl -fsSl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
| python3 get-pip.py |
# Boot off a live usb or similar as if you're installing
# If you're more comfortable with a different keyboard layout
$ loadkeys dvorak
# populate the second argument of the cryptsetup command based on this
$ parted <<<'print'
# the third argument may be anything, it needn't be used later
$ cryptsetup open /dev/sda3 foobar
# check your volume groups to see what to mount
$ ls /dev/vg