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[10pt,english,landscape]{article} | |
\usepackage{multicol} | |
\usepackage{calc} | |
\usepackage[landscape]{geometry} | |
\usepackage{color,graphicx,overpic} | |
\usepackage[T1]{fontenc} | |
\usepackage[bitstream-charter]{mathdesign} | |
\usepackage[utf8]{inputenc} | |
\usepackage{url} |
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
bibexport -o extracted.bib main.aux | |
echo "delete.field = { abstract }" > remove-abs.rsc && bibtool -r remove-abs.rsc extracted.bib -o minified.bib |
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
sudo apt install libresample1 | |
http://mirrors.kernel.org/ubuntu/pool/universe/liba/libav/libavutil52_9.20-0ubuntu0.14.04.1_amd64.deb | |
sudo gdebi libavutil52_9.18-0ubuntu0.14.04.1_amd64.deb | |
http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libswscale2_9.20-0ubuntu0.14.04.1_amd64.deb | |
sudo gdebi libswscale2_9.18-0ubuntu0.14.04.1_amd64.deb | |
# Download clickshare deb | |
# https://drive.google.com/drive/folders/0B9IKZqXvLKM_Yno1UmpGLVRXNDg | |
# https://drive.google.com/file/d/0B9IKZqXvLKM_QzF4aTlRNVV5Wk0/view | |
sudo gdebi clickshare_01.07.01-79_amd64.deb |
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
#!/usr/bin/zsh | |
# This hook is sourced after this virtualenv is activated. | |
echo $fg_bold[green] $(python --version) | |
echo $fg_bold[green] $(which python) |
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
#!/usr/bin/env python3 | |
import os | |
import tkinter as tk | |
from tkinter import filedialog | |
from tkinter import ttk | |
from tkinter import scrolledtext | |
import time | |
import threading |
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
guake --no-startup-script # Should give info on how to disable popups | |
# For Guake Terminal 0.8.8 the following command is used | |
gconftool-2 --type bool --set /apps/guake/general/use_popup false |
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
#http://ubuntuhandbook.org/index.php/2017/10/change-login-screen-background-ubuntu-17-10/ | |
sudo cp ~/Pictures/landscape.png /usr/share/backgrounds/ | |
xhost +local: && sudo gedit /etc/alternatives/gdm3.css | |
#lockDialogGroup { | |
background: #000000 url(file:///usr/share/backgrounds/landscape.png); | |
background-repeat: no-repeat; | |
background-size: cover; | |
background-position: center; } |
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
\begin{table} | |
\centering | |
\caption{Your caption.} | |
\begin{tabular}{|p{2cm}|l|} \hline %Within a 'p' column \newline is defined | |
A long \newline text & Another text\\ \hline | |
\end{tabular} | |
\end{table} |
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
from requests import get | |
# Some more ideas: https://www.programmableweb.com/category/humor/api | |
data = get('https://api.chucknorris.io/jokes/random').json() | |
joke = data['value'] | |
print joke |
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
touch ~/Templates/txt.txt | |
touch ~/Templates/sh.sh |