Skip to content

Instantly share code, notes, and snippets.

View amir-awad's full-sized avatar
🎯
Focusing

Amir Awad amir-awad

🎯
Focusing
View GitHub Profile
@aboueleyes
aboueleyes / pres.py
Created April 25, 2021 22:58
Generate PDF files
#!/usr/bin/env python3
import os
file_name = 'template.tex'
with open(file_name, "w") as file_object:
file_object.write('\documentclass{beamer}\n')
file_object.write('\\usetheme{focus}\n')
file_object.write('\\begin{document}\n')
images = os.listdir('img')
text = []
If 2fa is enabled on github switch to ssh instead of https on linux
1. generate an ssh keypair on your linux box
ssh-keygen -t {rsa|dsa}
2. add the public key to github: profile - settings - ssh keys
3. switch from https to ssh
Check your repo remote: