Skip to content

Instantly share code, notes, and snippets.

@kellpossible
kellpossible / mumc-snow-safety-presentation.md
Created May 13, 2019 04:59
Presentation about snow safety for MUMC

Snow Safety Presentation

Hypothermia

Mum will cover that topic.

Ice

  • Bigger concern than avalanches. Has killed more people.
@kellpossible
kellpossible / SWAP_PAUSE_ESCAPE.md
Last active October 7, 2023 08:29
xkb swap pause with delete key for HP Omen 15 2020
@kellpossible
kellpossible / HP Omen Laptop 15-en0xxx.xml
Created April 25, 2021 04:59
HP Omen 15 15-en0xxx nbfc configuration
<!-- Source https://h30434.www3.hp.com/t5/Gaming-Notebooks/OMEN-15-left-fan-always-on-what-is-wrong-with-this-computer/m-p/7954432#M37985 -->
<?xml version="1.0"?>
<FanControlConfigV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NotebookModel>HP OMEN Laptop 15-en0xxx</NotebookModel>
<Author>Generatoz</Author>
<EcPollInterval>500</EcPollInterval>
<ReadWriteWords>false</ReadWriteWords>
<CriticalTemperature>100</CriticalTemperature>
<FanConfigurations>
<FanConfiguration>
@kellpossible
kellpossible / gui_abstraction.rs
Created June 6, 2021 01:28
Rust Gui Abstraction
use serde::{Serialize, Deserialize};
use std::collections::HashMap;
use core::marker::PhantomData;
#[derive(Serialize, Deserialize, PartialEq, Eq, Copy, Clone, Hash, Debug)]
struct CallbackId(u32);
impl CallbackId {
pub fn none() -> Self {
CallbackId(0)
@kellpossible
kellpossible / init.vim
Last active December 18, 2021 21:38
My neovim Config
call plug#begin()
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
Plug 'romgrk/nvim-treesitter-context'
" Plug 'vmchale/just-vim'
Plug 'NoahTheDuke/vim-just'
" Collection of common configurations for the Nvim LSP client
Plug 'neovim/nvim-lspconfig'
@kellpossible
kellpossible / Design.md
Last active February 4, 2023 02:51
Caucusus Avalanche Forecast PDF
@kellpossible
kellpossible / capture_slides.sh
Last active March 20, 2024 01:05
Capture the output of https://github.com/maaslalani/slides and produce a beamer PDF presentation
#!/bin/bash
# Copyright 2023 Luke Frisken
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the “Software”), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: