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
# Produce PDFs from all Markdown files in a directory | |
# | |
# https://gist.githubusercontent.com/jacebrowning/9376324/raw/Makefile | |
# | |
# On Windows, install: | |
# | |
# - https://pandoc.googlecode.com/files/pandoc-1.12.3.msi | |
# - http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.5105.exe | |
# List files to be made by finding all *.md files and appending .pdf |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:ec9792295d515a0c75fe14b1a7b72f536dad998a3da1f0a00bfddee68c54e762" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
# ====================================================================== | |
# 1. Click the spotlight icon | |
# 2. Type "terminal" and press enter | |
# 3. In the new window, type "gcc" and press enter | |
# 4. If another dialog appears, click Install and wait for completion | |
# 5. Click the spotlight icon | |
# 6. Type "terminal" and press enter | |
# 7. Copy all of the lines below this block |
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
ID = 123456789abcdef | |
NAME = MyDocument | |
.PHONY: pdf tex download all clean | |
pdf: $(NAME).pdf | |
$(NAME).pdf: $(NAME).tex *.bib | |
pdflatex $(NAME) | |
bibtex $(NAME) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
# Git branch in prompt | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
# Git bash completion |
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
# PyLint | |
--report=no | |
--msg-template="{msg_id}:{line:3d},{column}:- {msg} - {obj}" | |
--max-line-length=79 | |
--disable=I0011,W0142,W0511,R0801 | |
# PEP8 | |
--ignore=E501 |
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
# Sublime Text 2 | |
alias sublime="/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe" | |
subl() | |
{ | |
for f in $@ | |
do | |
sublime `cygpath -w $f` & | |
done | |
} | |
alias e="sublime -n . &" |
OlderNewer