Skip to content

Instantly share code, notes, and snippets.

View grant-park's full-sized avatar
⌨️
keyboarding

Grant Park grant-park

⌨️
keyboarding
View GitHub Profile
@schlueter
schlueter / gist:bd84628c4d3da6eef8246624f379fdd8
Created September 16, 2017 22:55
Install xmonad on a chromebook with crouton
# 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
@michaelmrose
michaelmrose / zathu
Created September 12, 2015 01:45
zathura config
# Zathura configuration file
# See man `man zathurarc'
# Open document in fit-width mode by default
set adjust-open "best-fit"
# One page per row by default
set pages-per-row 1
#stop at page boundries
anonymous
anonymous / Quote Generator.markdown
Created August 23, 2015 10:43
Quote Generator
@Ben-G
Ben-G / GenerateEquatable.swift
Last active October 13, 2016 18:19
Generate Equatable in terms of member fields
import Foundation
struct Term {
let offset: Int
let value: String
}
let term = Term(offset: 0, value: "")
let output = generateEquatable(term)
print(output)
@redguardtoo
redguardtoo / .ctags.sample
Last active March 21, 2024 16:55
my ~/.ctags. Please note this is configuration for Exuberant Ctags. If you use Universal Ctags, you need run `ctags --options="$HOME/.ctags" -e -R` in shell at least once and fix all the warnings.
--c++-kinds=+p
--fields=+iaS
--extra=+q
--exclude=*/.hg/*
--exclude=.hg/*
--exclude=*/.cvs/*
--exclude=.cvs/*
--exclude=*/.svn/*
--exclude=.svn/*
--exclude=*/.git/*