Skip to content

Instantly share code, notes, and snippets.

View chiragverma11's full-sized avatar
🎯
Focusing

Chirag Verma chiragverma11

🎯
Focusing
View GitHub Profile
@NorbiPeti
NorbiPeti / IntelliJFlatpak.md
Last active June 3, 2025 15:28
IntelliJ IDEA Flatpak Setup Guide

IntelliJ IDEA Flatpak Setup Guide

In this guide I collect all the things I had to manually set up after installing IntelliJ using Flatpak on Linux. Also mostly applicable to other JetBrains IDEs like PHPStorm, WebStorm, Rider, PyCharm etc.

Java versions

Flatpak uses an isolated environment to install the latest version of (usually graphical) applications without having to rely on installed system libraries and such with varying versions.

@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active July 8, 2025 22:00
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@peterrus
peterrus / gnome3_keybind_backup.sh
Last active May 12, 2025 04:44
Backs up and restores gnome3 keybindings
#!/usr/bin/env bash
# Backs up and restores gnome3 keybindings
# Tested with Gnome 3.36.8
# by peterrus
set -e
mkdir -p gnome3-keybind-backup
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
@pil0u
pil0u / install_postman.sh
Last active May 29, 2024 18:41
Install Postman on Linux through CLI without Snap
# This script basically automates the official Postman installation guide for Linux:
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux
# 32 or 64-bit?
BIT=$(getconf LONG_BIT)
# Download the appropriate version
wget -O ~/postman.tar.gz "https://dl.pstmn.io/download/latest/linux${BIT}"
# Extract the archive in /opt
@rishavpandey43
rishavpandey43 / git-commit-styleguide.md
Last active July 8, 2025 09:57
This gist consist of the rules and best practice of good conventional git commit message

Git Commit Messages Style-Guides

  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests liberally after the first line
  • When only changing documentation, include [ci skip] in the commit title
  • Consider starting the commit message with an applicable emoji

Types

@BoQsc
BoQsc / reloadGnome.md
Last active December 14, 2024 16:42
Reloading Gnome Desktop Environment via command line

dbus-run-session -- gnome-shell --nested --wayland

busctl --user call \ org.gnome.Shell \ /org/gnome/Shell \ org.gnome.Shell.Extensions ReloadExtension \ s "$name"

@2KAbhishek
2KAbhishek / Shell_Keybindings.md
Last active June 25, 2025 05:55
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
@magicdude4eva
magicdude4eva / zsh-syntax-highlighting paste performance improvement
Last active April 25, 2025 19:23
zsh-syntax-highlighting paste performance improvement
Add the following in .zshrc:
...
plugins=(osx git zsh-autosuggestions zsh-syntax-highlighting zsh-nvm docker kubectl)
...
### Fix slowness of pastes with zsh-syntax-highlighting.zsh
pasteinit() {
OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]}
zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`?