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
#an atom snippet for inserting tikz enabled picture in latex, copy to your own snippets file | |
'.text.tex.latex': | |
'tikzfigure': | |
'prefix': 'tikzfig' | |
'body': """ | |
\\\\begin{center} | |
\\\\begin{tikzpicture} | |
\\\\node[anchor=south west,inner sep=0] (image) at (0,0) | |
{\\\\includegraphics[$1]{$2}}; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
</head> | |
<body> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus dignissim interdum metus, et aliquam neque sodales ut. Curabitur venenatis urna leo, sed ultricies sem porta varius. Pellentesque dictum posuere est. Cras pretium tincidunt dolor sit amet vehicula. Nullam vel magna sit amet ante facilisis varius a quis felis.</p> |
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
#!/bin/bash | |
# | |
if [ -e index.html ] | |
then echo "index.html already exists, please remove it and rerun this script" | |
exit | |
fi | |
#Create Thumbnails | |
# | |
#Check if directory exists and create it if not | |
if [ -d thumbs ] |