Skip to content

Instantly share code, notes, and snippets.

View Elteoremadebeethoven's full-sized avatar
🏠
I'm studying

Alexander Vázquez Elteoremadebeethoven

🏠
I'm studying
  • Mexico City
View GitHub Profile
# --------- IMPORTS
from manimlib.imports import *
from pathlib import Path
# ---------- FLAGS
RESOLUTION = ""
FLAGS = f"-pl {RESOLUTION}"
SCENE = "Test"
class Test(Scene):
from manim import *
# Change background color
# config["background_color"] = GRAY
# config["frame_rate"] = 25
# FRAME_HEIGHT = config["frame_height"]
class WriteTex(Scene):
def construct(self):
tex = VGroup(
media_dir = ./exports
assets_dir = ./assets
video_dir = {media_dir}/videos/{module_name}/{quality}
images_dir = {media_dir}/images/{module_name}/{quality}
tex_dir = ./tmp/Tex
text_dir = ./tmp/texts
partial_movie_dir = ./tmp/partial_movie_files/{module_name}/{quality}/{scene_name}
#!/bin/sh
# Copy any font (folder name) to the $font variable from here:
# https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts
font=Meslo
fontpath="$HOME/.local/share/fonts"
version="2.3.3"
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v"$version"/$font.zip
mkdir -p "$fontpath"

ZSH config

Install dependencies

  • ZSH
  • curl
  • wget
  • git
  • xclip
  • ripgrep
# 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
@Elteoremadebeethoven
Elteoremadebeethoven / i3_and_rofi_config.md
Last active September 10, 2023 17:45
i3+rofi installation
@Elteoremadebeethoven
Elteoremadebeethoven / anims_1.ipynb
Last active July 29, 2023 14:08
Manim: Class Animations in depth
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Elteoremadebeethoven
Elteoremadebeethoven / i3_linux_mint.md
Last active June 20, 2024 05:44
Install i3 on Linux Mint

Compile i3 on Linux Mint (Ubuntu distros)

Install dependencies:

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 \
@Elteoremadebeethoven
Elteoremadebeethoven / init.vim
Last active April 3, 2024 06:20
Basic nvim config without plugins for tutorials in CoCalc
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