-
-
Save emilwojcik93/37410ecbc1e2e1b7610ec4d28866ffed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} % for SVG logo | |
\usepackage{tabularx} % for tables | |
\usepackage{amssymb} % \square | |
\usepackage{enumitem} % itemize | |
\usepackage{calc} % calculating sizes | |
\usepackage[margin=1in,top=0.5in]{geometry} % reduce margins | |
\usepackage[pdftex, pdfauthor={Håvard Pettersson}, % set pdf metadata | |
pdftitle={Arch Linux Fuck-up Assessment Form}]{hyperref} | |
\renewcommand{\familydefault}{\sfdefault} % sans serif | |
\pagenumbering{gobble} % no page numbers | |
\setlength{\parindent}{0pt} % disable paragraph indent | |
\def\svgwidth{0.6\columnwidth} | |
\title{\input{arch-logo.pdf_tex}\hspace{-0.39\columnwidth}Fuck-up Assessment Form} | |
\author{} | |
\date{\vspace{-3.5em}} | |
\begin{document} | |
\maketitle | |
\begin{center} | |
\texttt{<@phrik> Welcome to \#archlinux, tell us how you fucked up.} | |
\end{center} | |
\vspace{1em} | |
\textbf{IRC nickname:} \dotfill | |
\ \textbf{Date and time of fuck-up:} \dotfill | |
\vspace{0.5em} | |
\def\arraystretch{1.5} % increase vertical table size | |
\begin{tabularx}{\textwidth}{|lllX|} | |
\hline | |
\multicolumn{4}{|l|}{\textbf{What emotions were going through your head upon fucking up?} (check all that apply)} \\ \hline | |
\(\square\) Panic & | |
\(\square\) Remorse & | |
\(\square\) Amplified IRC elitism & | |
\(\square\) Fear, uncertainty and doubt \\ | |
\(\square\) Nerdrage & | |
\(\square\) Wah wah wah & | |
\(\square\) Desire to install Ubuntu & | |
\(\square\) Other (please specify): \dotfill \\ \hline | |
\end{tabularx} | |
\vspace{0.5em} | |
% there's probably a way easier method to align the two | |
% "I (didn't) listen(ed) to" points but this works | |
\newlength{\listenedwidth} | |
\newlength{\didntlistenwidth} | |
\settowidth{\listenedwidth}{I listened to} | |
\settowidth{\didntlistenwidth}{I didn't listen to} | |
\begin{tabularx}{\textwidth}{|X|} | |
\hline | |
\textbf{What initially caused your fuck-up to occur?} (check all that apply) \\ \hline | |
\vspace{-8pt} | |
\begin{enumerate}[label={\(\square\)},noitemsep,topsep=0pt,leftmargin=*] | |
\item systemd | |
\item \texttt{pacman -Sy <package>} | |
\item \texttt{pacman -S --force <package>} | |
\item The AUR | |
\item I used yaourt | |
\item I installed \dotfill (packages) | |
\item I ran \texttt{dd} and now my computer won't boot | |
\item I didn't look it up on the Arch Wiki | |
\item I looked it up on the Debian Wiki | |
\item Allan broke it | |
\item I tried deleting a file named {\raise.17ex\hbox{\(\sim\)}} | |
\item My root partition is btrfs | |
\item I used an installation script | |
\item I forgot the root password | |
\item I saved the root password in a text file only readable by root | |
\item I copy-pasted commands from an abandoned online discussion forum | |
\item I tried setting up a printer and now lp0 is on fire | |
\item I couldn't find \texttt{\#archlinux} | |
\item I took \texttt{\#archlinux-offtopic} seriously | |
\item I listened to \makebox[7em+\didntlistenwidth-\listenedwidth]{\dotfill} (IRC nick) | |
\item I didn't listen to \makebox[7em]{\dotfill} (IRC nick) | |
\item I tried to be funny in IRC and got banned | |
\item I put my swap file in \texttt{/tmp} | |
\item I installed LUKS with a detached header and my mom washed the pants with the USB stick in them | |
\item I don't know, but it wasn't my fault | |
\item Other (please specify): \dotfill \vspace*{-\baselineskip} | |
\end{enumerate} \\ \hline | |
\end{tabularx} | |
\vspace{0.5em} | |
\begin{tabularx}{\textwidth}{|lllX|} | |
\hline | |
\multicolumn{4}{|l|}{\textbf{What have you tried so far to remedy your fuck-up?} (check all that apply)} \\ \hline | |
\(\square\) \texttt{pacman -Syu} & | |
\(\square\) Rebooting & | |
\(\square\) Reinstalling Arch Linux & | |
\(\square\) Installing Gentoo \\ | |
\(\square\) Crying & | |
\(\square\) Crying in IRC & | |
\multicolumn{2}{l|}{\(\square\) Other (please specify): \dotfill} \\ \hline | |
\end{tabularx} | |
\vspace*{\fill} | |
\begin{center} | |
Please return completed form to \texttt{/dev/null} in order for your fuck-up to be assessed by a professional. | |
\end{center} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Creator: Inkscape inkscape 0.92.1, www.inkscape.org | |
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 | |
%% Accompanies image file 'arch-logo.pdf' (pdf, eps, ps) | |
%% | |
%% To include the image in your LaTeX document, write | |
%% \input{<filename>.pdf_tex} | |
%% instead of | |
%% \includegraphics{<filename>.pdf} | |
%% To scale the image, write | |
%% \def\svgwidth{<desired width>} | |
%% \input{<filename>.pdf_tex} | |
%% instead of | |
%% \includegraphics[width=<desired width>]{<filename>.pdf} | |
%% | |
%% Images with a different path to the parent latex file can | |
%% be accessed with the `import' package (which may need to be | |
%% installed) using | |
%% \usepackage{import} | |
%% in the preamble, and then including the image with | |
%% \import{<path to file>}{<filename>.pdf_tex} | |
%% Alternatively, one can specify | |
%% \graphicspath{{<path to file>/}} | |
%% | |
%% For more information, please see info/svg-inkscape on CTAN: | |
%% http://tug.ctan.org/tex-archive/info/svg-inkscape | |
%% | |
\begingroup% | |
\makeatletter% | |
\providecommand\color[2][]{% | |
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% | |
\renewcommand\color[2][]{}% | |
}% | |
\providecommand\transparent[1]{% | |
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% | |
\renewcommand\transparent[1]{}% | |
}% | |
\providecommand\rotatebox[2]{#2}% | |
\ifx\svgwidth\undefined% | |
\setlength{\unitlength}{423.71735817bp}% | |
\ifx\svgscale\undefined% | |
\relax% | |
\else% | |
\setlength{\unitlength}{\unitlength * \real{\svgscale}}% | |
\fi% | |
\else% | |
\setlength{\unitlength}{\svgwidth}% | |
\fi% | |
\global\let\svgwidth\undefined% | |
\global\let\svgscale\undefined% | |
\makeatother% | |
\begin{picture}(1,0.29415983)% | |
\put(0,0){\includegraphics[width=\unitlength,page=1]{arch-logo.pdf}}% | |
\end{picture}% | |
\endgroup% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: alfa.pdf | |
alfa.pdf: alfa.latex | |
latexmk -pdf $< | |
alfa.png: alfa.pdf | |
convert -density 150 -flatten $< $@ | |
clean: alfa.latex | |
latexmk -CA $< | |
.PHONY: all clean alfa.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment