Skip to content

Instantly share code, notes, and snippets.

View oguzhan-yilmaz's full-sized avatar

Oguzhan Yilmaz oguzhan-yilmaz

View GitHub Profile
@oguzhan-yilmaz
oguzhan-yilmaz / tmux-copy-mode-osx.md
Created September 29, 2025 19:09 — forked from brendanhay/tmux-copy-mode-osx.md
Tmux, copy-mode, and OSX shenanigans.

Copy, with line wrapping!

If you've been trying to copy/paste text from a multi-pane tmux session with the mouse, you've probably been pretty pissed at the blissful ignorance a terminal application has of the rodent in your hand.

The alternative, which is quote-unqoute native copy/pasting using copy-mode takes a bit to get used to. So this is one solution for copying and pasting lines from a session with correct line wrapping behaviour, albeit keyboard only.

Disclaimer

Since copy-mode has similar concepts of marks, regions, and temp buffers to Emacs .. you'll probably find it straight forward if you're familar with Emacsen. For people using vi-mode in tmux, the same still applies but obviously the default key bindings will differ alot from what I show below.

How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

Before continuing: This guide is currently outdated but I'm working on a new one with upgrading steps included. I'll link it here once it's finished :)

This is a guide that will show you how to setup Plex Media Server with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent with Docker. It is written for Ubuntu 20.04 but should work on other Linux distributions as well (considering supported distributions by Docker). It is also written for people who have some experience with Linux and Docker. If you are new to Docker, I recommend you to read the Docker documentation, and if you are new to Linux, I recommend you to read the Ubuntu documentation.

Now, let's get started!

Please note: This guide was written without considering hardlinking for Sonarr/Radarr. If you want to use hardlinking refer to #Hardlinking

@oguzhan-yilmaz
oguzhan-yilmaz / install_debian_with_debootstrap_howto.md
Created April 26, 2025 19:53 — forked from varqox/install_debian_with_debootstrap_howto.md
Instructions how to install Debian using debootstrap
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "<h1 style='color:blue'>Hello There!</h1>"
if __name__ == "__main__":
app.run(host='0.0.0.0')
@oguzhan-yilmaz
oguzhan-yilmaz / testing_ssh.sh
Last active March 11, 2022 13:19
testing-ssh
#!/bin/bash
echo "quicktest running"
echo "sshing to $HOSTNAME"
ssh -vv $HOSTNAME
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: check-executables-have-shebangs # best practice
- id: check-json # verifies json syntax
- id: check-yaml # verifies yaml syntax check-symlinks
- id: check-symlinks # empty symlinks detector
- id: destroyed-symlinks # broken symlinks detector