Skip to content

Instantly share code, notes, and snippets.

View marvhus's full-sized avatar
🎯
Focusing

Martin H. marvhus

🎯
Focusing
View GitHub Profile
instance_id=0a087eb5
installation_name=VisualStudio/14.37.32822
installation_path=C:\MSVC
installation_version=14.37.32822
display_name=Visual Studio Community 2022
display_desc=Powerful IDE, free for students, open-source contributors, and individuals
sdk_version=10.0.22000.0
sdk_path=C:\MSVC\Windows Kits\10
@Softwave
Softwave / README.md
Last active October 27, 2025 19:58
Fibonacci Program

Fib

Simple fibonacci number calculator.

Usage: fib nth Fibonacci number

// Handle-based array. Used like this:
//
// Entity_Handle :: distinct Handle
// entities: Handle_Array(Entity, Entity_Handle)
//
// It expects the type used (in this case
// Entity) to contains a field called
// `handle`, of type `Entity_Handle`.
//
// You can then fetch entities using
@n00bmind
n00bmind / first.jai
Created December 24, 2022 16:33
Jai OpenGL setup
#import "Basic";
#scope_file
#import "String";
#import "System";
#import "Window_Creation";
#import "Input";
#import "Windows";
#import "GL"; //( DUMP_GL_ERRORS = true );
@MkItReignn
MkItReignn / .vimrc
Last active July 18, 2022 22:03 — forked from jdah/.vimrc
jdh's NeoVim .vimrc
call plug#begin()
Plug 'drewtempelmeyer/palenight.vim'
Plug 'vim-airline/vim-airline'
Plug 'wlangstroth/vim-racket'
Plug 'sheerun/vim-polyglot'
Plug 'rust-lang/rust.vim'
Plug 'preservim/tagbar'
Plug 'universal-ctags/ctags'
Plug 'luochen1990/rainbow'
Plug 'vim-syntastic/syntastic'
@jdah
jdah / .tmux.conf
Created July 15, 2021 12:47
.tmux.conf
# plugins
set -g @plugin 'thewtex/tmux-mem-cpu-load'
# Remap prefix to C-a
set -g prefix 'C-\'
unbind-key C-b
unbind-key C-a
# vi-like keybindings
@jdah
jdah / .vimrc
Created June 14, 2021 11:54
jdh's NeoVim .vimrc
call plug#begin()
Plug 'drewtempelmeyer/palenight.vim'
Plug 'vim-airline/vim-airline'
Plug 'wlangstroth/vim-racket'
Plug 'sheerun/vim-polyglot'
Plug 'rust-lang/rust.vim'
Plug 'preservim/tagbar'
Plug 'universal-ctags/ctags'
Plug 'luochen1990/rainbow'
Plug 'vim-syntastic/syntastic'
@zrajm
zrajm / lubuntu-rc.xml
Last active March 7, 2025 23:44
Openbox Keybindings for Window Tiling (using windows key + arrow keys).
<!--
Keybindings for Window Tiling
=============================
For the below code to work insert it into the <keyboard> section of your
openbox config. On Lubuntu it's called `~/.config/openbox/lubuntu-rc.xml`, and
on Arch `~/.config/openbox/rc.xml`. To reload the config after modifying it,
you can either logout and login again, or run the command
openbox -\-reconfigure
@A6GibKm
A6GibKm / mu4e.md
Last active November 28, 2024 05:48
Read your emails with mu4e

Connecting emacs and Protonmail Bridge

This guide will cover the basics on how to integrate emacs with protonmail-bridge using

Configuring mbsync

@tonetheman
tonetheman / libraryfinder.cpp
Created September 1, 2018 12:40
Johnathan Blow's pastebin - a windows library finder
//
// Author: Jonathan Blow
// Version: 1
// Date: 31 August, 2018
//
// This code is released under the MIT license, which you can find at
//
// https://opensource.org/licenses/MIT
//
//