Skip to content

Instantly share code, notes, and snippets.

Byobu is a suite of enhancements to tmux, as a command line
tool providing live system status, dynamic window management,
and some convenient keybindings:
F1 * Used by X11 *
Shift-F1 Display this help
F2 Create a new window
Shift-F2 Create a horizontal split
Ctrl-F2 Create a vertical split
Ctrl-Shift-F2 Create a new session
@myandere
myandere / vimModeStateDiagram.svg
Created July 15, 2025 05:22 — forked from darcyparker/vimModeStateDiagram.svg
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@myandere
myandere / delete_lines.md
Created July 15, 2025 05:22 — forked from shreeshga/delete_lines.md
Delete all lines matching pattern in vim

The ex command g is very useful for acting on lines that match a pattern. You can use it with the d command, to delete all lines that contain a particular pattern, or all lines that do not contain a pattern.

For example, to delete all lines containing "profile" (the first command is optional; it shows the lines that the second command will delete):

:g/profile
:g/profile/d

More complex patterns can be used, such as deleting all lines that are empty or that contain only whitespace:

@myandere
myandere / job_control_zsh_bash.md
Created July 9, 2025 12:52 — forked from CMCDragonkai/job_control_zsh_bash.md
CLI: Job Control in ZSH and Bash

Job Control in ZSH and Bash

All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.

# run command in the foreground
command
# run commend in the background
@myandere
myandere / FixIconsOnWayland.md
Created July 2, 2025 21:40 — forked from Postrediori/FixIconsOnWayland.md
Fix Wayland icons of apps after switching to KDE & Wayland [Ubuntu 24.04]

Fix Wayland icons of apps after switching to KDE & Wayland [Ubuntu 24.04]

Description

After switching to Wayland some apps have default Wayland icon:

Default icons screenshot

Example setup for Firefox

@myandere
myandere / combine-all-md-files.py
Created November 10, 2024 09:38 — forked from Rust1667/combine-all-md-files.py
Python script used to combine all the .md files inside a folder into 1, adding the title of the file at the beginning of each of the joined sections. This script must be place inside that folder with the .md files.
outputFileName = 'single-page2'
import glob
filenames = glob.glob('*.md')
with open(outputFileName, 'w') as outfile:
for fname in filenames:
with open(fname) as infile:
fileTitleString = "\n\n\n" + "# " + fname + "\n"
outfile.write(fileTitleString)
for line in infile:
@myandere
myandere / fmhy_base64_decoded.py
Created November 10, 2024 09:37 — forked from Rust1667/fmhy_base64_decoded.py
get the base64 page from FMHY decoded in plain text using Python
import requests
#----------------base64 page processing------------
import base64
import re
doBase64Decoding = True
def fix_base64_string(encoded_string):
missing_padding = len(encoded_string) % 4
@myandere
myandere / changelogs.md
Created October 26, 2024 06:45 — forked from Adamantcheese/changelogs.md
Clover to Kuroba cumulative feature log
  • Releases are signed by Adamantcheese.

  • Dropped support for API 20 (Android 4.4W) and below. Only ~10.7% of devices use this anymore. Only API 21 (Android 5.0) and above will be supported. This also let us upgrade to a newer version of OkHTTP.

  • Migrate to AndroidX and updates to a number of libraries.

  • Remove force English locale. The app is only in English now due to issues with poor, incomplete translations, and the force-locale option no longer working or able to be working as of API 17.

  • Major application architecture changes, to easily facilitate forking. See docs/release.txt as well as the build.gradle file.

  • A number of performance improvements.

  • Codestyle is provided in the project now. See .idea/codeStyles.

  • Logger should only now spit out stuff you care about, and uncaught exceptions are easier to find; also phone info is dumped, so really a crash log is more than enough for most crash issues.

@myandere
myandere / xfce-i3-guide.md
Created October 3, 2024 17:31 — forked from fathulfahmy/xfce-i3-guide.md
A guide on how to setup XFCE with i3wm

How to XFCE with i3WM

Download

  1. Download XFCE Distribution
  2. Download i3 only (i3 status i3 lock dmenu is not needed)

⚠️ Do not installed preconfigured or distributed i3wm to avoid conflicts with XFCE settings
e.g.
do sudo dnf install i3 --setopt=install_weak_deps=False
dont "i3 desktop" or @i3-desktop-environment

@myandere
myandere / web-servers.md
Created August 25, 2024 10:21 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000