Skip to content

Instantly share code, notes, and snippets.

View marcmorente's full-sized avatar
👨‍💻
Brewing

Marc Morente marcmorente

👨‍💻
Brewing
View GitHub Profile
void main() {
var source =
"""{{math-tex:0}} for details. PCRE & JavaScript flavors of RegEx are supported.
{{math-tex:1}}, and view patterns you create or favorite in My Patterns.
Explore results with the Tools below. Replace &
{{math-tex:2}} output custom results. Details
{{math-ml:}} lists capture groups. Explain describes
{{math-ml:234}} your expression in plain English.""";
RegExp mathText = new RegExp(r'\{{' + figuresTagList[0] + r':[0-9]+}}');
void main() {
Runes sup = new Runes('\u{00B3}');
Runes sub = new Runes('\u{2083}');
print('2'+new String.fromCharCodes(sup));
print('2'+new String.fromCharCodes(sub));
}
void main() {
Runes sup = new Runes('\u{00B3}');
Runes sub = new Runes('\u{2083}');
print('2'+new String.fromCharCodes(sup));
print('2'+new String.fromCharCodes(sub));
}
@marcmorente
marcmorente / .zshrc
Created October 28, 2019 10:00 — forked from deepu105/.zshrc
export TERM="xterm-256color" # This sets up colors properly
# workaround as per https://superuser.com/questions/1222867/zsh-completion-functions-broken
FPATH=$HOME/.oh-my-zsh/plugins/git:$HOME/.oh-my-zsh/functions:$HOME/.oh-my-zsh/completions:/usr/share/zsh/site-functions:/usr/share/zsh/$ZSH_VERSION/functions
export FPATH
# set shell
export SHELL=/usr/bin/zsh