This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |