Skip to content

Instantly share code, notes, and snippets.

View andrewc12's full-sized avatar

Andrew Innes andrewc12

  • Perth, Australia
View GitHub Profile
@andrewc12
andrewc12 / .gntrc
Created May 9, 2018 10:23 — forked from kabturek/.gntrc
finch config for irssi layout ~/.gntrc
[general]
shadow = 0
# There is experimental mouse support
mouse = 0
# To use some custom window-manager
wm = /usr/lib/gnt/irssi.so
@andrewc12
andrewc12 / build.sh
Created October 21, 2020 02:28 — forked from superboum/LICENCE.txt
Install Debian with Debootstrap + Grub EFI
#!/bin/bash
set -e # Exit on error
DEVICE=$1
[ -z "${DEVICE}" ] && echo "Usage $0 /dev/sdX" && exit 1
udevadm info -n ${DEVICE} -q property
echo "Selected device is ${DEVICE}"
read -p "[Press enter to continue or CTRL+C to stop]"
@andrewc12
andrewc12 / latex_hide_figure.tex
Created December 24, 2020 08:12 — forked from asalt/latex_hide_figure.tex
How to hide whole sections in a latex document.
%http://tex.stackexchange.com/questions/77920/comment-package-excludecomment-gives-error
\documentclass[12pt]{article}
\usepackage{todonotes} % \missingfigure
\usepackage{comment} % to exclude whole sections when I want to
\newif\ifshow % toggle true or false based on if want to hide section
%\showtrue % show the sections
\showfalse % hide the sections
\ifshow