Skip to content

Instantly share code, notes, and snippets.

View EthanDeng's full-sized avatar
温柔正确的人总是难以生存,因为这世界既不温柔,也不正确。

Dongsheng Deng EthanDeng

温柔正确的人总是难以生存,因为这世界既不温柔,也不正确。
View GitHub Profile
@EthanDeng
EthanDeng / minted-vscode.json
Last active September 23, 2019 03:26
minted environment snippets for vs code
"Rminted": {
"prefix": "\\rmint",
"body": [
"\\begin{minted}{R}",
"$1",
"\\end{minted}",
],
"description": "minted env for R language"
},
"Pythonminted": {
@EthanDeng
EthanDeng / opt.sublime-snippet
Created April 14, 2019 02:19
Sublime Text Snippet for Optimization Problem
<snippet>
<content><![CDATA[
\begin{equation}
\begin{aligned}
& ${1:\min} & & \hspace*{-2em} ${2:problem} \\\\
& \text{subject to} & & ${3:contraint}
\end{aligned}
\end{equation}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->