Skip to content

Instantly share code, notes, and snippets.

View RvstFyth's full-sized avatar

Randy RvstFyth

  • Heerlen, Netherlands
View GitHub Profile
# apt installs older version
wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.appimage
chmod +x nvim-linux-x86_64.appimage
chmod 755 nvim-linux-x86_64.appimage
sudo chown root:root nvim-linux-x86_64.appimage
sudo mv nvim-linux-x86_64.appimage /usr/local/bin/nvim
@RvstFyth
RvstFyth / install_openjdk_24.sh
Created August 16, 2025 15:32
Install OpenJDK24 on debian. As in the repositories only 21 and 25 can be found in Debian Trixie
#!/bin/bash
# OpenJDK 24 Installation Script for Debian/Ubuntu
# This script installs OpenJDK 24.0.2 from the official OpenJDK archive
set -e # Exit on any error
echo "=== OpenJDK 24 Installation Script ==="
echo "Starting installation of OpenJDK 24.0.2..."

Keybase proof

I hereby claim:

  • I am rvstfyth on github.
  • I am xtr_dev0 (https://keybase.io/xtr_dev0) on keybase.
  • I have a public key ASCPhNqoW9zv6CDQ4ARP0ZJ_jMiyqZUpItNSF72qHNHCSQo

To claim this, I am signing this object:

@RvstFyth
RvstFyth / .vimrc
Created February 11, 2019 11:38
my .vimrc
" Install vim-plug
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'ervandew/supertab'
Plug 'scrooloose/nerdtree'
@RvstFyth
RvstFyth / weechat
Created December 14, 2018 09:59
Weechat configuration. Will get updated
/set weechat.look.bar_more_down "▼"
/set weechat.look.bar_more_left "◀"
/set weechat.look.bar_more_right "▶"
/set weechat.look.bar_more_up "▲"
/set weechat.look.prefix_same_nick "⤷"
/set weechat.look.prefix_error "⚠"
/set weechat.look.prefix_action "⚡"
# Split windows
/window splith 50
@RvstFyth
RvstFyth / disableOptions.js
Last active August 29, 2016 22:16
Disable select options, but still post values
var selectLists = document.getElementsByClassName('cSelects');
var form = document.getElementById('form');
// Keep an array that hold all selected values. Default value is '0' (in my case)
var disabled = ['0','0','0','0'];
// Disable selected colors, as a color cant be chosen twice
function toggleSelects()
{
for(var i = 0; i < selectLists.length; i++) {