-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d49fea
commit 866c632
Showing
9 changed files
with
140 additions
and
227 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM ghcr.io/tudalgo/algotex:latest | ||
|
||
# install pre-commit | ||
RUN apt-get update \ | ||
&& apt-get -y install pre-commit sudo | ||
|
||
# setup non-root user | ||
ARG USERNAME=vscode | ||
ARG USER_UID=1000 | ||
ARG USER_GID=$USER_UID | ||
|
||
# Create the user | ||
RUN groupadd --gid $USER_GID $USERNAME \ | ||
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \ | ||
# Add sudo support. | ||
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \ | ||
&& chmod 0440 /etc/sudoers.d/$USERNAME \ | ||
# set the default shell to bash rather than sh | ||
&& chsh -s /bin/bash $USERNAME | ||
|
||
# set the default user. | ||
USER $USERNAME |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"James-Yu.latex-workshop", | ||
"dangmai.workspace-default-settings", | ||
"valentjn.vscode-ltex" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"task": { | ||
"prefix": "\\task", | ||
"body": [ | ||
"\\begin{task}[points=${1:auto}]{${2:Aufgabentitel}}", | ||
"\t$0", | ||
"\\end{task}" | ||
], | ||
"description": "Create A Task Environment", | ||
"scope": "latex" | ||
}, | ||
"subtask": { | ||
"prefix": "\\subtask", | ||
"body": [ | ||
"\\begin{subtask*}[points=${1:1}]{${2:Aufgabentitel}}", | ||
"\t$0", | ||
"\\end{subtask*}" | ||
], | ||
"description": "Create A Subtask Environment", | ||
"scope": "latex" | ||
}, | ||
"inlinejava": { | ||
"prefix": [ | ||
"\\inlinejava", | ||
], | ||
"body": "\\inlinejava{$0}", | ||
"description": "Displays java code inline", | ||
"scope": "latex" | ||
}, | ||
"Def Box": { | ||
"prefix": "\\defBox", | ||
"body": [ | ||
"\\begin{defBox}", | ||
"\t$0", | ||
"\\end{defBox}" | ||
], | ||
"description": "Create An Definition Box (accentcolor Stripe, light accentcolor Background)", | ||
"scope": "latex" | ||
}, | ||
"Info Box": { | ||
"prefix": "\\infoBox", | ||
"body": [ | ||
"\\begin{infoBox}", | ||
"\t$0", | ||
"\\end{infoBox}" | ||
], | ||
"description": "Create An Info Box (accentcolor Stripe, no Background)", | ||
"scope": "latex" | ||
}, | ||
"Gray Info Box": { | ||
"prefix": "\\grayInfoBox", | ||
"body": [ | ||
"\\begin{grayInfoBox}", | ||
"\t$0", | ||
"\\end{grayInfoBox}" | ||
], | ||
"description": "Create A Gray Info Box (gray Stripe, gray Background)", | ||
"scope": "latex" | ||
}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"latex-workshop.latexindent.args": [ | ||
"-c", | ||
"%DIR%/", | ||
"%TMPFILE%", | ||
"-l=%WORKSPACE_FOLDER%/latexindent.yaml", | ||
"-y=defaultIndent: '%INDENT%'" | ||
], | ||
"latex-workshop.latex.verbatimEnvs": [ | ||
"verbatim", | ||
"lstlisting", | ||
"minted", | ||
"codeBlock" | ||
], | ||
"files.associations": { | ||
"*.sty": "latex-expl3", | ||
"*.cls": "latex-expl3", | ||
"*.def": "latex", | ||
"*.aux": "latex", | ||
"*.toc": "latex", | ||
"*.pygstyle": "latex", | ||
"*.pygtex": "latex" | ||
}, | ||
"grammarly.selectors": [ | ||
{ | ||
"language": "latex", | ||
"scheme": "file" | ||
} | ||
], | ||
"latex-workshop.bibtex-format.tab": "4 spaces", | ||
"ltex.language": "de-DE", | ||
"files.insertFinalNewline": true | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.