-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoken.tex
More file actions
53 lines (35 loc) · 2.64 KB
/
Copy pathtoken.tex
File metadata and controls
53 lines (35 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
\documentclass{article} % For LaTeX2e
\usepackage{rickroll}
\usepackage{hyperref}
\usepackage{url}
\usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
\usepackage{mathexam}
%\ExamClass{COURSE NUMBER}
\ExamName{GitHub Token}
\ExamHead{}
\begin{document}
%\ExamNameLine
% Here is the header that adds all of the rickrolling commands
\rickroll
% You can add hidden questions as you would like
\hiddenquestion{How many licks does it take to get to the center of a Tootsie Pop?}
\ExamInstrBox{Instructions : Follow the steps to create an authentication token for GitHub. This token can be used to clone GitHub repositories to your own computer and push your changes back to homework. If you prefer to create an SSH key, you can follow GitHub's instruction \href{https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent}{here}.
}
To create a Github authentication token, follow the steps below:
\begin{enumerate}
\item Go to `github.com` and click on your image in the top right corner.\\
\includegraphics[width=0.75\textwidth]{figs/1picture.jpg}
\item Click on `Settings`\\
\includegraphics[width=0.75\textwidth]{figs/2settings.jpg}
\item Scroll down and click on `Developer Settings`\\
\includegraphics[width=0.75\textwidth]{figs/3developersettings.jpg}
\item Click on `Personal Access Tokens` and `Tokens` (highlighted in blue). Then click `generate new token` (both the green and then the red circles.\\
\includegraphics[width=0.75\textwidth]{figs/4createnew.jpg}
\item This will allow you to create a new token. Your token will be a generated password that will give you access to Github features. To create a new token, give your token a name (green), select the amount of time your token should remain active (blue), and click the box next to `write` (red). The `write` automatically selects all `repo` options, letting you control code repositories, while also having access to write updates. \textbf{Make sure to select an expiration date past the end of the semester so that you don't need to redo these steps to complete assignments for the course.}\\
\includegraphics[width=0.75\textwidth]{figs/5token.jpg}
\item Click `generate to create this token.\\
\includegraphics[width=0.75\textwidth]{figs/6generate.jpg}
\item \textbf{You now have a token!} It is a password, similar to that shown in the image below. It will not allow you to login to `github.com`. It will allow to `pull`, `push`, and otherwise manipulate homework repositories.\\
\includegraphics[width=0.75\textwidth]{figs/7password.jpg}
\end{enumerate}
\end{document}