Skip to content

Instantly share code, notes, and snippets.

View JeffLabonte's full-sized avatar
:octocat:

Jeff Labonte JeffLabonte

:octocat:
View GitHub Profile
@JeffLabonte
JeffLabonte / install_neovim.sh
Created July 7, 2022 17:10 — forked from strobelt/install_neovim.sh
Install latest NeoVim in Debian
# Download latest NeoVim .deb package from GitHub using GH API
wget -o nvim.deb \
$(curl -s 'https://api.github.com/repos/neovim/neovim/releases/latest' \
| jq -r '.assets|.[]|select(.content_type == "application/x-debian-package")|.browser_download_url')
# Install .deb
sudo dpkg -i nvim.deb
# Clean up
rm -f nvim.deb
@JeffLabonte
JeffLabonte / hack-nerd.css
Created September 13, 2021 17:16 — forked from epikurus/hack-nerd.css
Hack Nerd Font for Blink app
This file has been truncated, but you can view the full file.
@font-face {
font-family: "Hack Nerd Font";
font-style: normal;
font-weight: 400;
src: url(data:font/ttf;charset-utf-8;base64,AAEAAAAVAQAABABQRFNJRwAAAAEAGpPgAAAACEZGVE2IbN28AAABXAAAABxHREVGCAscTwAAAXgAAAA2R1BPU7j/uP4AAAGwAAAAMEdTVUKOSQu5AAAB4AAABTpPUy8yKk0o+QAABxwAAABgUGZFZKg1fQEAAAd8AAACUFRURkHzRBYUABqOgAAABV1jbWFw7+BWQwAACcwAAAe+Y3Z0IMstHXAAGn8gAAABDGZwZ202t5w2ABqALAAADXZnYXNwAAAAEAAafxgAAAAIZ2x5ZheyDUcAABGMABicoGhlYWQXBXajABiuLAAAADZoaGVhD/MQGAAYrmQAAAAkaG10eP9jDlMAGK6IAABSVGxvY2EEQuX4ABkA3AAAUlhtYXhwHhSrRAAZUzQAAAAgbmFtZUTAHWcAGVNUAAAzyXBvc3TC0Kg4ABmHIAAA9/hwcmVwnZ+J2AAajaQAAADcAAAAAQAAAADZD7KOAAAAANYTwoAAAAAA2UlorQABAAAADAAAAC4AAAACAAUAAQB9AAEAfgCAAAIAgQNYAAEDWQNkAAIDZRSUAAEABAAAAAIAAAAAAAEAAAAKACwALgACREZMVAAObGF0bgAYAAQAAAAA//8AAAAEAAAAAP//AAAAAAAAAAEAAAAKAHgBIgACREZMVAAObGF0bgAkAAQAAAAA//8ABgAAAAEABQAHAAkACwAQAAJNT0wgACJST00gADYAAP//AAYAAAACAAYACAAKAAwAAP//AAcAAAACAAMABgAIAAoADAAA//8ABwAAAAIABAAGAAgACgAMAA1hYWx0AFBmcmFjAFhmcmFjAF5sb2NsAGZsb2NsAGxvcmRuAHJvcmRuAHhzaW5mAIBzaW5mAIZzdWJzAI
@JeffLabonte
JeffLabonte / doom.txt
Created February 12, 2021 17:32 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch
@JeffLabonte
JeffLabonte / wakelock.service
Created November 18, 2018 21:10
Lock screen after suspend with i3lock and systemd
# file /etc/systemd/system/wakelock.service
[Unit]
Description=Lock the screen on resume from suspend
[Service]
User=victor
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/bin/i3lock
@JeffLabonte
JeffLabonte / gist:f13144fe298c44000aba0e9f0395afd8
Last active August 14, 2018 02:26 — forked from gmas/gist:b5fd3d038905d1265485
switch gcc versions in debian
#install new versions of gcc and g++
sudo apt-get install gcc-4.8 g++-4.8
#remove existing alternatives
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++
#add new and old version to update-alternatives db
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-8