sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev \
libxcb-util0-dev libxcb-icccm4-dev libyajl-dev \
libstartup-notification0-dev libxcb-randr0-dev \
libev-dev libxcb-cursor-dev libxcb-xinerama0-dev \
libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev \
autoconf libxcb-xrm0 libxcb-xrm-dev automake \
This file contains hidden or 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
from presenter import * | |
config.disable_caching = True | |
jt = lambda mob: JustifyText(mob, tex_width=8.6) | |
def get_element(name, tex_type=jt): | |
return { | |
"name": name, | |
"type": tex_type, | |
} |
This file contains hidden or 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
from manimlib import * | |
# manim_config["camera"]["background_color"] = YELLOW | |
# manim_config["camera"]["fps"] = 60 | |
class Example0(Scene): | |
def construct(self): | |
# Tex (GL) = MathTex (CE) | |
# TexText (GL) = Tex (CE) | |
t = TexText("This is a test") |
This file contains hidden or 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
FROM ubuntu:latest | |
RUN apt update && \ | |
apt upgrade -y && \ | |
apt install -y curl unzip zip git ninja-build gettext cmake build-essential zsh && \ | |
echo "PROMPT='%n@%m %~ %# '" > /root/.zshrc | |
RUN chsh -s $(which zsh) | |
SHELL [ "/bin/zsh", "-c" ] | |
ENV SHELL=/bin/zsh |
This file contains hidden or 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
from manim import * | |
config.disable_caching = True | |
# Change default font size | |
DEFAULT_FONT_SIZE = 28 | |
MathTex.set_default(font_size=DEFAULT_FONT_SIZE) | |
Tex.set_default(font_size=DEFAULT_FONT_SIZE) | |
SCALE_FACTOR = 1 | |
tmp_pixel_height = config.pixel_height |
This file contains hidden or 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
syntax on | |
set number "Show numbers | |
set tabstop=2 "Tabulator size is 2 spaces | |
set shiftwidth=2 "Every 2 spaces is a tabulator | |
set expandtab "Convert tabulator to spaces | |
set autoindent | |
set mouse=a "Enable mouse | |
set undofile "Enable undo history | |
set undodir=~/.config/nvim/undo "set undo file |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- i3
- i3blocks
- i3exit
- picom
- rofi
- rofi-calc
- rofi-emoji
- rofi-file-browser-extended
This file contains hidden or 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
# Font config | |
font_family MesloLGSDZ Nerd Font | |
bold_font auto | |
italic_font auto | |
bold_italic_font auto | |
font_size 14 | |
# Theme | |
foreground #a9b1d6 | |
background #1A1B26 |
NewerOlder