🇬🇧 English · 🇻🇳 Tiếng Việt
A small CLI for inspecting and cleaning up the hidden nvim processes that the
herdr-nvim plugin keeps alive behind
every tab in Herdr.
🇬🇧 English · 🇻🇳 Tiếng Việt
A small CLI for inspecting and cleaning up the hidden nvim processes that the
herdr-nvim plugin keeps alive behind
every tab in Herdr.
| #!/bin/bash | |
| # Git Worktree Manager - Manage worktrees in .worktrees/ directory | |
| # Usage: ./scripts/worktree.sh <command> [args] | |
| # | |
| # Alias setup (add to ~/.bashrc or ~/.zshrc): | |
| # alias wt='./scripts/worktree.sh' | |
| # | |
| # Then use: wt add feat/xyz, wt pr 123, wt remove feat/xyz, wt list, wt clean | |
| set -e |
| #!/usr/bin/env node | |
| const { execSync, spawn } = require("child_process"); | |
| const os = require("os"); | |
| const fs = require("fs"); | |
| const soundType = process.argv[2] || "default"; | |
| // Check if command exists | |
| function commandExists(cmd) { |
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gzYou can use this script to bypass the bans on Telegram API by different hosts. Simply send the request to this script instead of the Telegram Bot API after deploying it as a web app and allowing anonymous access.
It accepts bot GET and POST requests with the following params
| name | type | Description |
|---|
| #!/bin/bash | |
| GREEN="\e[32m" | |
| RED="\e[31m" | |
| YELLOW="\e[33m" | |
| CYAN="\e[36m" | |
| NC="\e[0m" | |
| echo -e "${YELLOW}📦 Checking disk usage of common development folders...${NC}" | |
| echo |
| #!/bin/bash | |
| set -e | |
| # Function to print a section header | |
| section() { | |
| echo | |
| echo "🔹 $1" | |
| } |
| REM Delete eval folder with licence key and options.xml which contains a reference to it | |
| for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
| for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
| rd /s /q "%%a/config/eval" | |
| del /q "%%a\config\options\other.xml" | |
| ) | |
| ) | |
| REM Delete registry key and jetbrains folder (not sure if needet but however) | |
| rmdir /s /q "%APPDATA%\JetBrains" |
| SWAP_SIZE=16G && SWAP_FILE=/swapfile && sudo swapoff -a && sudo rm -f $SWAP_FILE && sudo fallocate -l $SWAP_SIZE $SWAP_FILE && sudo chmod 600 $SWAP_FILE && sudo mkswap $SWAP_FILE && sudo swapon $SWAP_FILE && echo "$SWAP_FILE none swap sw 0 0" | sudo tee -a /etc/fstab |