Skip to content

Instantly share code, notes, and snippets.

@Gottfr1ed
Gottfr1ed / downloader.py
Last active May 28, 2025 04:34
RUTUBE video/playlist downloader
#!/usr/bin/python3
import argparse
import subprocess
import urllib.request
import urllib.error
import json
import re
import os
import shutil
@Gottfr1ed
Gottfr1ed / .editorconfig
Created March 21, 2024 15:26
EditorConfig
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
@Gottfr1ed
Gottfr1ed / init.lua
Last active October 15, 2024 16:45
neovim config
-- ingore case when searching in lowercase
vim.opt.hlsearch = false
vim.opt.ignorecase = true
vim.opt.smartcase = true
-- scroll half screen
vim.opt.scrolljump = -50
-- ignore case when completing file names and directories
vim.opt.wildignorecase = true
@Gottfr1ed
Gottfr1ed / .tmux.conf
Last active April 7, 2024 09:54
tmux config
# session settings
set -g default-terminal 'screen-256color'
set -g history-limit 5000
set -g mouse on
set -g base-index 1
set -g renumber-windows on
set -g status-keys vi
set -g status-left ''
set -g status-style 'fg=grey,bg=default'
@Gottfr1ed
Gottfr1ed / zoneminder
Last active October 15, 2024 16:26
zoneminder config for nginx
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name = zoneminder;
location = / {
return 301 zm;
}