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
"""One line description of a module level function. | |
The longer, optionally multi-line description goes here. This may have multiple | |
sentences and multiple lines. | |
Parameters | |
---------- | |
param1 : int | |
The first parameter. | |
param2 : Optional[str] |
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 bash | |
# Shell script to run latexdiff against the same file from a specified commit hash. | |
# Example: | |
# ./git-latexdiff.sh main.tex 12dfa1a | |
# $1 is the name of the old tex file (relative to the remote repo) | |
# $2 is the hash of the commit that we'd like to compare against |
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
# Windows | |
Thumbs.db | |
desktop.ini | |
# OS X | |
.DS_Store | |
.Spotlight-V100 | |
.Trashes | |
._* |
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
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"path": "path/to/your/project", | |
"file_exclude_patterns" : | |
[ | |
"*.aux", | |
"*.bbl", | |
"*.blg", |
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
## SublimeText Workspace | |
*.sublime-workspace | |
## Main PDF file | |
main.pdf | |
## Core latex/pdflatex auxiliary files: | |
*.aux | |
*.lof | |
*.log |
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
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/SublimeLinter/base16-ocean.light (SL).tmTheme", | |
"default_line_ending": "unix", | |
"font_size": 12, | |
"ignored_packages": | |
[ | |
"Anaconda", | |
"Monokai Extended", |
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/sh | |
# | |
# This script creates the configuration for an OpenVPN server (in Docker) | |
# and runs it. A client configuration file is saved OVPN_CLIENT_FILENAME. | |
# The OpenVPN docker container creates a volume container with the name | |
# given by OVPN_DATA_NAME. The OpenVPN server docker is exposed on the port | |
# OVPN_EXTERNAL_PORT. | |
OVPN_DATA_NAME="ovpn-data" | |
OVPN_SERVER_HOSTNAME="udp://pups.ddns.net" |
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
start on filesystem or runlevel [2345] | |
stop on shutdown | |
description "Jupyter / IPython Notebook Upstart script" | |
script | |
export HOME="/home/phil/Notebooks"; cd $HOME | |
echo $$ > /var/run/ipython_start.pid | |
exec su -s /bin/sh -c 'exec "$0" "$@"' phil -- /home/phil/Enthought/Canopy_64bit/User/bin/jupyter-notebook --config='/home/phil/.jupyter/jupyter_notebook_config.py' | |
end script |
NewerOlder