Skip to content

Instantly share code, notes, and snippets.

View CarbonChauvinist's full-sized avatar

CarbonChauvinist

View GitHub Profile
@runiq
runiq / README.md
Last active November 17, 2023 00:40
🌈

HOW TO 🌈

  1. Save as 🌈.lua
  2. cd $(dirname path/to/🌈.lua)
  3. nvim 🌈.lua
  4. :luafile %
  5. Press F5 to 🌈

The F5 bit is just for demonstration. In an actual statusline, you'll want to uncomment line 65 so it actually checks for LSP messages.

@MunifTanjim
MunifTanjim / VSCode-Neovim-Keybindings.md
Last active May 19, 2024 11:03
VSCode Keyboard Shortcuts to use with vscode-neovim
@davialexandre
davialexandre / gruvbox_dark.json
Created June 23, 2019 18:09
Gruvbox Dark color scheme for the new Windows Terminal
{
"background" : "#282828",
"black" : "#282828",
"blue" : "#458588",
"brightBlack" : "#928374",
"brightBlue" : "#83A598",
"brightCyan" : "#8EC07C",
"brightGreen" : "#B8BB26",
"brightPurple" : "#D3869B",
"brightRed" : "#FB4934",
@mailhost
mailhost / dsdt.patch
Created June 10, 2019 14:32
Dell Precision 5510 1.10.0 DSDT fixes
--- dsdt.orig 2019-06-10 16:09:40.945676250 +0200
+++ dsdt.dsl 2019-06-10 16:28:15.274723137 +0200
@@ -3905,11 +3905,13 @@
If (LEqual (PM6H, One))
{
CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW) // _RW_: Read-Write Status
- Store (Zero, ECRW (If (PM0H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN) // _LEN: Length
- Store (Zero, F0LN) /* \_SB_.PCI0._CRS.F0LN */
@BrinkerVII
BrinkerVII / ARCH_INSTALLATION_GUIDE.md
Last active March 12, 2024 23:11
Arch Linux Installation Guide

Note

This guide is out of date! Following this guide will leave you with a non-functioning system. You can still use this guide for inspiration, but please still do use the Official installation guide

Arch Linux installation guide

Hi there, this is a guide to install Arch Linux on your computer. I decided to write a guide because I find most other guides to be either too minimalistic or they have you set up some parts of the system in strange ways.

This guide is reference material for myself, as well as for other people who would like to install Arch for the first time.

General notes

@simonjbeaumont
simonjbeaumont / tmup
Last active October 13, 2021 11:03
Update bash to latest tmux environment on reattaching.
#!/bin/bash
tmup ()
{
echo -n "Updating to latest tmux environment...";
export IFS=",";
for line in $(tmux showenv -t $(tmux display -p "#S") | tr "\n" ",");
do
if [[ $line == -* ]]; then
unset $(echo $line | cut -c2-);
@mattratleph
mattratleph / vimdiff.md
Last active July 18, 2024 15:03 — forked from roothybrid7/vimdiff_cheet.md
vimdiff cheat sheet

vimdiff cheat sheet

##git mergetool

In the middle file (future merged file), you can navigate between conflicts with ]c and [c.

Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).

:diffupdate (to remove leftover spacing issues)

:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)