Skip to content

Instantly share code, notes, and snippets.

View broisnischal's full-sized avatar
🚀
Wubba Lubba dub dub

Nischal Dahal broisnischal

🚀
Wubba Lubba dub dub
View GitHub Profile
@broisnischal
broisnischal / docker-clean.sh
Created March 19, 2025 03:57
Clean up docker
# Stop all running containers
docker stop $(docker ps -q)
# Remove all containers
docker rm -f $(docker ps -aq)
# Remove all images
docker rmi -f $(docker images -aq)
# Remove all volumes
# Amazon Q pre block. Keep at the top of this file.
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/amaz$
# Q pre block. Keep at the top of this file.
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
alias dbb='dart pub run build_runner build --delete-conflicting-outputs && flutter clean && flutter pub get'
alias db='dart pub run build_runner build --delete-conflicting-outputs'
alias fc='flutter clean'
alias fg='flutter pub get'
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
{
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 4,
"semi": true,
"printWidth": 100
}
# .tmux.conf
set -g mouse on
setw -g mode-keys vi
unbind C-b
set -g prefix C-a
bind C-a send-prefix
bind | split-window -h
bind - split-window -v
# .bashrc
export PATH=$HOME/bin:/usr/local/bin:$PATH
alias ll='ls -la'
alias gs='git status'
alias gc='git commit -m'
# Enable colors in terminal
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
{
"deno.lint": true,
"deno.format": true,
"deno.enable": true,
"deno.unstable": true,
"terminal.integrated.env.linux": {},
"console-ninja.featureSet": "Community",
"editor.fontFamily": "Consolas",
"editor.fontWeight": "300",
"editor.fontSize": 13,
[
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
@broisnischal
broisnischal / .gitconfig
Last active September 13, 2024 05:19
Git Config
[user]
email = [email protected]
name = broisnischal
[alias]
st = status -sb
co = checkout
ci = commit -m
lg = log --oneline --graph --decorate --all
ca = commit --amend --no-edit
.editor-group-watermark > .letterpress {
background-image: url("https://raw.githubusercontent.com/broisnischal/flutter/main/test.png") !important;
opacity: 0.75;
}