Skip to content

Instantly share code, notes, and snippets.

View badowhp's full-sized avatar
🏠
Working from home

Hipolit Badowski badowhp

🏠
Working from home
View GitHub Profile
@tekknolagi
tekknolagi / lines.py
Last active September 10, 2024 20:03
#!/usr/bin/env python
import multiprocessing
import random
import time
class Logger:
def __init__(self, num_lines, last_output_per_process, terminal_lock):
self.num_lines = num_lines
@codebykyle
codebykyle / connect.ps1
Last active October 3, 2025 08:37
Windows Terminal Split Pane Powershell Script - v2
using namespace System.Collections.Generic
# Encapsulate an arbitrary command
class PaneCommand {
[string]$Command
PaneCommand() {
$this.Command = "";
}
@2KAbhishek
2KAbhishek / Shell_Keybindings.md
Last active October 19, 2025 19:58
Keyboard shortcuts for bash/zsh

Shell Keybindings

Navigation 🚀

Keybinding Action
Alt + f/b Move cursor to previous/next word
Ctrl + a/e Move cursor to beginning/end of command
Ctrl + xx Toggle between the start of line and current cursor position
@worldofprasanna
worldofprasanna / terminal-capture.md
Last active August 27, 2025 10:37
Multiple screen terminal capture using asciinema & tmux

Commands Reference

  1. Start a new tmux named session tmux new -s terminal-capture
  2. Split the screen using these commands,
  • vertical split <C-b>"
  • horizontal split <C-b>%
  1. To navigate between the panes,
  • To goto Left pane <C-b> left-key
  • To goto Right pane <C-b> right-key
  • To goto Top pane up-key
@pmkay
pmkay / top-brew-packages.txt
Last active October 25, 2025 05:12 — forked from r5v9/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
coreutils: GNU File, Shell, and Text utilities
pkg-config: Manage compile and link flags for libraries
chromedriver: Tool for automated testing of webapps across many browsers
awscli: Official Amazon AWS command-line interface
automake: Tool for generating GNU Standards-compliant Makefiles
@MauriceBrg
MauriceBrg / Rocket_Chat_Send_Message.ps1
Created January 12, 2018 21:51
PowerShell-Script that sends any text to one or more Rocket.Chat Webhooks. Do with this what you like.
<#
.SYNOPSIS
Sends a message to one or more Rocket.Chat WebHooks.
.DESCRIPTION
This script can be called with parameters in order to send a message to one or more
Rocket.Chat webHooks. The text may contain any supported format keywords you can use
in the GUI.
@etasi
etasi / vim-great-cheatsheet.md
Created February 17, 2015 23:05
VIM: A Great Vim Cheat Sheet
layout title
default
A Great Vim Cheat Sheet

#A Great Vim Cheat Sheet

Note: If you’re decent at vim and want your mind blown, check out Advanced Vim.

@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active October 24, 2025 12:44
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line