Skip to content

Instantly share code, notes, and snippets.

View mroavi's full-sized avatar

Martin Roa Villescas mroavi

  • Eindhoven University of Technology
View GitHub Profile
@mroavi
mroavi / particle-system.jl
Last active February 6, 2022 15:25
A simple particle system animation in Julia.
using Plots, Distributions
theme(:juno) # sets theme and resets all attributes of the Plots package
gr(
xlims=[-10,10],
ylims=[-10,10],
aspect_ratio=:equal,
framestyle=:grid,
fillalpha=0.3,
leg=false,
size=(1200,800),
@mroavi
mroavi / test.vim
Last active August 10, 2021 13:47
Template file useful to share a minimalist example of an issue with vim
" test.vim
" usage: nvim --clean -u test.vim
set nocompatible hidden laststatus=2
if !filereadable('/tmp/plug.vim')
silent !curl --insecure -fLo /tmp/plug.vim
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif