Skip to content

Instantly share code, notes, and snippets.

@mTvare6
mTvare6 / gist:769f9105b5d18e678c5dfa6e0b84277a
Created July 9, 2026 04:53
pclub-graphics-hire-test.tex
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{tabularx}
@mTvare6
mTvare6 / git_submodule_resolver.zsh
Last active May 23, 2023 17:46
Have this file in dotfiles and run it, so all dependencies get resolved automatically
ROOTREPOPATH="$(pwd)/"
find . -name .git | grep -vE '^./.git' | {
while read i;
do
cd $i/..
REPOPATH=$(pwd)
REPOLINK=$(git config --get remote.origin.url)
cd $ROOTREPOPATH
REPORELPATH=$(echo "$REPOPATH" | sed "s|$ROOTREPOPATH||g")