I hereby claim:
- I am diego898 on github.
- I am diego (https://keybase.io/diego) on keybase.
- I have a public key whose fingerprint is 8B24 A08D 5F16 3CE8 A2FB 206F F46E 5894 3150 5FEF
To claim this, I am signing this object:
<snippet> | |
<content><![CDATA[ | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% $1 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\section{${1:section name}} | |
\label{sec:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}} | |
${0:$TM_SELECTED_TEXT} | |
% END $2 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
\definecolor{myblue}{HTML}{4472C4} | |
\newcommand{\myp}{\textcolor{myblue}{p}} | |
\newcommand{\myP}{\textcolor{myblue}{P}} | |
\definecolor{mypurp}{HTML}{7030A0} | |
\newcommand{\mypt}{\textcolor{mypurp}{\tilde{p}}} | |
\newcommand{\myPT}{\textcolor{mypurp}{\tilde{P}}} | |
\definecolor{myorange}{HTML}{DF8344} | |
\newcommand{\myq}{\textcolor{myorange}{q}} | |
\definecolor{mybrown}{HTML}{843C0C} | |
\definecolor{mywhite}{HTML}{FFFFFF} |
#!/usr/bin/env perl | |
# Finds duplicate adjacent words. | |
# run in a directory: perl dupe_words *.tex | |
# Note: it does not recursively check subdirectories | |
use strict ; | |
my $DupCount = 0 ; | |
I hereby claim:
To claim this, I am signing this object:
This is a set of files to watch a directory where I place PDFs of papers and automatically create a corresponding tiddler for that paper.
TW_LOC
, TID_DEF_TAGS
, and TID_TEXT
in the bash script.scpt
file.scpt
file in ~/Library/Scripts/Folder Action Scripts/
open
line)gdate
from coreutils
to get the timestamp right.scpt
file@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* Improve Findbar */ | |
@keyframes scale-in { | |
0% { | |
transform: scaleY(0); | |
} | |
100% { | |
transform: scaleY(1); | |
} |
\documentclass[xcolor=dvipsnames]{beamer} | |
\usepackage{tikz,ifthen} | |
\usetikzlibrary{calc, intersections,through,backgrounds,positioning} | |
\usepackage{pgfpages} | |
\usepackage{blindtext} | |
\usepackage{multicol} | |
% \setbeameroption{show notes on second screen} | |
\usetheme[progressbar=frametitle]{metropolis} | |
\setbeamertemplate{frame numbering}[none] | |
\metroset{block=fill} |
% Load color package | |
\usepackage{xcolor} | |
% Define Seaborn colors | |
\definecolor{seabornBlue}{RGB}{76,114,176} | |
\definecolor{seabornGreen}{RGB}{85,168,104} | |
\definecolor{seabornRed}{RGB}{196,78,82} | |
% Define FLATUI colors | |
\definecolor{orangePumpkin}{RGB}{211,84,0} |
import numpy as np | |
import matplotlib.pyplot as plt | |
from mpl_toolkits.mplot3d import Axes3D | |
%matplotlib inline | |
import seaborn as sns | |
# set normal vector, and point on plane | |
point = np.array([1, 2, 3]) | |
normal = np.array([1, 1, 2]) |
add-tex-command citep op | |
add-tex-command cref op | |
add-tex-command eqref op | |
dont-tex-check-comments |