Skip to content

Instantly share code, notes, and snippets.

@Hashino
Hashino / arch-guide.md
Last active March 16, 2025 14:44
archlinux: a (more friendly) how-to in troubleshooting for newcomers.

archlinux: a (more friendly) how-to in troubleshooting for newcomers.

This article is an updated version of a reddit post with a similar title written by u/zendeavor.

Have you tried asking for Arch related help and found that the community was "unfriendly" and "unhelpful"? Only telling you to "RTFM: Read the Friendly Manual"? Then this article may be helpful to you.

@RichardBronosky
RichardBronosky / README.MD
Last active December 5, 2025 04:01
cb - A leak-proof tee to the clipboard - Unify the copy and paste commands into one intelligent chainable command.

cb

A leak-proof tee to the clipboard

This script is modeled after tee (see [man tee][2]) and works on Linux, macOS, Cygwin, WSL/WSL2

It's like your normal copy and paste commands, but unified and able to sense when you want it to be chainable.

This project started as an answer to the StackOverflow question: [How can I copy the output of a command directly into my clipboard?][3]

@kenjyco
kenjyco / 01-Learning-Python3.md
Last active October 5, 2025 12:42
Learn Python 3 with Jupyter Notebook
@guiassemany
guiassemany / git-discard-all-and-pull.md
Created December 20, 2015 19:17
GIT - Discard all local changes and pull

git discard all local changes/commits and pull from upstream

  • git reset --hard origin/master
  • git pull origin master
@edouard-lopez
edouard-lopez / color-scheme-switcher.sh
Last active July 24, 2024 11:46
Switch profile/color scheme in Konsole from command line (also works for Yakuake). The wrapper allows to work both in konsole and tmux session
# Konsole color changing
theme-night() {
switch-term-color "colors=TomorrowNightBlue"
}
theme-light() {
switch-term-color "colors=Tomorrow"
}
switch-term-color() {
arg="${1:-colors=Tomorrow}"
if [[ -z "$TMUX" ]]
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 14, 2025 12:59
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname