Skip to content

Instantly share code, notes, and snippets.

View ripxorip's full-sized avatar

ripxorip ripxorip

View GitHub Profile
@ripxorip
ripxorip / random_fstab.txt
Last active July 20, 2023 12:07
Som random fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme1n1p3
UUID=2415ea65-b291-4dce-bbad-c67855a1b24c / btrfs rw,noatime,compress=lzo,ssd,space_cache=v2,subvol=@ 0 0
# /dev/nvme1n1p3
UUID=2415ea65-b291-4dce-bbad-c67855a1b24c /home btrfs rw,noatime,compress=lzo,ssd,space_cache=v2,subvol=/@home 0 0
@ripxorip
ripxorip / ripxorip_wine_patches.patch
Created March 30, 2023 17:41
Ripxorip Wine Patches
diff --git a/dlls/comctl32/button.c b/dlls/comctl32/button.c
index 77eb54fbcf1..f1b633499f9 100644
--- a/dlls/comctl32/button.c
+++ b/dlls/comctl32/button.c
@@ -584,7 +584,8 @@ static LRESULT CALLBACK BUTTON_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, L
theme = GetWindowTheme( hWnd );
hdc = wParam ? (HDC)wParam : BeginPaint( hWnd, &ps );
- if (is_themed_paint_supported(theme, btn_type))
+ /* This is where the bug is for the buttons! */
@ripxorip
ripxorip / gist:67d2bc478c8a88012f2128dbebc01a9e
Last active June 26, 2021 18:18
Rust cross compile debian docker image
(db rust_cross_compiler /home/ripxorip/.cargo/bin/cargo build --target=aarch64-unknown-linux-gnu)
FROM debian:buster
ARG USERNAME=ripxorip
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN groupadd --gid 1000 $USERNAME
RUN useradd -s /bin/bash --uid 1000 --gid 1000 -m $USERNAME
@ripxorip
ripxorip / vimrc
Last active November 14, 2021 18:05
Minimalistic vimrc
set number
set rnu
syntax on
set incsearch
set nocompatible
filetype plugin indent on " Load plugins according to detected filetype.
syntax on " Enable syntax highlighting.
set autoindent " Indent according to previous line.
scp $1 pi@printer:~/
ssh pi@printer "sudo mount /dev/sda1 /home/pi/SD"
ssh pi@printer "sudo cp /home/pi/$1 /home/pi/SD/"
ssh pi@printer "sudo rm /home/pi/$1"
ssh pi@printer "sudo umount /home/pi/SD"
@ripxorip
ripxorip / .bashrc
Last active November 29, 2018 14:38
Most important parts of my bashrc
set -o vi
bind '"jk":vi-movement-mode'
alias c="cd"
alias ..="cd .."
alias v="nvim"