cddsclab / weekly-group-meeting-paper-list Goto Github PK
View Code? Open in Web Editor NEWDSCL weekly group meeting paper list
DSCL weekly group meeting paper list
Previous discussion: CDDSCLab/Database-Optimization/issues/7
hi, @PiotrNewt, @ehds
@huge-melon init a repo to hold the weekly group meeting topic, paper list and brief summary. There is already one about database transaction shared by him.
Any suggesion and discussion are appreciate.
discussion are welcome.
Date:
Topic:
Keywords:
README.md
.-
to connect filename rather than
, the latter will casue dead link.Github has supported mathematical expressions in markdown , more information please refer to this blog. ๐๐๐
rendor latex formula to image with Github official service.
https://render.githubusercontent.com/render/math?math=
Vscode extension math to image.
Use a scripts, a simple example in python, style ref is math to image, code ref repo.
Save as python script and run python3 script-filename.py target-markdown-filename.md
.
import sys
import re
from urllib.parse import quote
# $$
# formula
# $$
interline_tag = '\n<img src="https://render.githubusercontent.com/render/math?math={}" class="ee_img tr_noresize" eeimg="1">\n'
interline_pattern = '\$\$\n*((.|\n)*?)\n*\$\$' # (.|\n) . or \n
# $formula$
inline_tag = '<img src="https://render.githubusercontent.com/render/math?math={}" class="ee_img tr_noresize" eeimg="1">'
inline_pattern = '\$\n*(.*?)\n*\$'
def replace_tex(content):
def dashrepl_quote(matchobj, tag):
formular = matchobj.group(1)
# quote & to %26 etc in $$ x&= a+1$$, otherwise, thers will be error when render with githubusercontent.com
formular = quote(formular)
return tag.format(formular, formular)
content = re.sub(interline_pattern, lambda mo: dashrepl_quote(mo, interline_tag), content)
content = re.sub(inline_pattern, lambda mo: dashrepl_quote(mo, inline_tag), content)
return content
if __name__=='__main__':
assert len(sys.argv) > 1, "Error: need filename as a argument"
filename = sys.argv[1]
with open(filename, mode='r',encoding='utf-8') as f:
content = f.read()
with open(filename, mode='w',encoding='utf-8') as f:
f.write(replace_tex(content))
Rendering multi-line formula example with githubusercontent:
$$
\begin{align}
x = v_0\cos\theta t\\
y = v_0\sin\theta t - \frac{1}{2}gt^2
\end{align}
$$
$$
\begin{align}
x &= v_0\cos\theta t\\
y &= v_0\sin\theta t - \frac{1}{2}gt^2
\end{align}
$$
$$
x = v_0\cos\theta t\\
y = v_0\sin\theta t - \frac{1}{2}gt^2
$$
Please use \begin{align}
to display in rows.
More discussion in stackoveflow.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.