Skip to content

Instantly share code, notes, and snippets.

VimWiki Cheatsheet

[number] refers to the wiki number, set by the order in your vimrc. The default is 1.

Wiki Management

  • [number] <leader> ww - open wiki index file
  • [number] <leader> wt - open wiki index file in new tab
  • <leader> ws - list and select available wikis
  • wd - delete wiki page
@voodoojello
voodoojello / i3-config
Last active May 29, 2020 18:09
i3 config files tweaked for Adwaita-Dark
#--------------------------------------------------------------------------
# i3 Config - Thu Aug 16 09:47:16 2018 -0500
# Tweaked for Adwaita-Dark (https://www.gnome-look.org/p/1014995/)
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
# keybind vars
#--------------------------------------------------------------------------
# shift Shift_L (0x32), Shift_R (0x3e)
# lock Caps_Lock (0x42)
@udkyo
udkyo / Dockerfile
Last active November 3, 2025 16:16
Basic container for X11 forwarding goodness
FROM ubuntu
RUN apt update \
&& apt install -y firefox \
openssh-server \
xauth \
&& mkdir /var/run/sshd \
&& mkdir /root/.ssh \
&& chmod 700 /root/.ssh \
&& ssh-keygen -A \
&& sed -i "s/^.*PasswordAuthentication.*$/PasswordAuthentication no/" /etc/ssh/sshd_config \
@frankie567
frankie567 / interactive_google_oauth2.py
Last active July 29, 2023 22:07
Interactive Google OAuth2 flow with Streamlit
import asyncio
import streamlit as st
from httpx_oauth.clients.google import GoogleOAuth2
st.title("Google OAuth2 flow")
"## Configuration"
client_id = st.text_input("Client ID")
@CSaratakij
CSaratakij / README.txt
Last active July 29, 2025 06:24
Video Wallpaper (hw-accelerate) : Use 'mpv' as a video player backend with 'xwinwrap' to wrap our window to be use as a desktop background
You want to use a live wallpaper in x11?
Great!!...but It come as a cost.
I did experiment with .gif backend and non hardware accelerate backend, It sucks.
CPU usage was so high (40% up just for idle), unacceptable for my laptop.
Running with those backend for such a really long time will slowly turn your laptop into the hot potato.
But don't be upset, we can reduce those cost.
Using the video player with hardware video decoding support can reduce the cost.