Skip to content

Instantly share code, notes, and snippets.

View tan86's full-sized avatar
🎯
Focusing

J tan86

🎯
Focusing
View GitHub Profile
@tan86
tan86 / init.lua
Last active July 19, 2022 16:27
nvim config
vim.cmd "packadd paq-nvim"
vim.g.mapleader = ','
local indent = 4
local lsp, cmp = require'lspconfig', require'cmp'
local set = vim.opt
local function map(mode, lhs, rhs, opts)
local options = {noremap = true, silent = true}
if opts then options = vim.tbl_extend('force', options, opts) end
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
@XlogicX
XlogicX / games.md
Last active July 15, 2025 06:54
List of Boot Sector Gamers

Boot Sector Games

A list of playable boot sector games, most of which are on github. Fun to play, great to learn from. There are also many cool non-booting boot sectors out there that aren't games (so more like demos), but this page is just reserved to interactive boot sectors / games. This list is also not complete, but not on purpose, it is a best effort collection of games, so if you know of any fun boot sector games, please contribute.

This page lists a collection of 31 games spanning several authors: nanochess, me, daniel-e, shikhin, JulianSlzr, XanClic, QiZD90, darkvoxels, guyhill, w-shackleton, egtzori, VileR, ish_works, franeklubi, queso_fuego, franeklubi, Jethro82, waternine9, tevoran, palma3k, taylor-hartman. peterferrie should also be mentioned as he has touched a lot of these games.

TetrOS

https://github.com/daniel-e/tetros

Tetris Clone. Full color, no score. This was one of the older boot sector games out there. ![tetros](https://gist.github.com/assets/1570856/3a0d1023-cbe6-4b4d-

@lucianposton
lucianposton / .muttrc
Last active May 7, 2024 08:27
mutt: muttrc settings for ProtonMail Bridge
set from="[email protected]"
set my_user="[email protected]"
set my_pass="pass"
set ssl_starttls=yes
set smtp_url="smtp://$my_user:[email protected]"
# workaround for https://github.com/neomutt/neomutt/issues/1211
set imap_authenticators=login
@seven1m
seven1m / init.vim
Last active January 18, 2025 07:49
my vim/neovim config in < 100 LOC
syntax on " enable syntax highlighting
set background=dark " we like it dark!
try | colorscheme gruvbox | catch | endtry " use this awesome theme if possible
highlight Pmenu ctermbg=black guibg=black | " fix popup color so it's easier to read
filetype plugin on " load plugins based on file type
filetype indent on " load indent settings based on file type
set shiftwidth=2 " number of spaces to use for indenting
set softtabstop=2 " number of spaces to use when inserting a tab
set tabstop=2 " show tabs as 2 spaces
set expandtab " convert tabs into spaces