This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ECR Image Cleanup Script | |
# This script identifies and removes old Docker images from an ECR repository | |
# while preserving the latest backend-* and frontend-* tagged images | |
set -e | |
# Configuration - can be overridden by environment variables or command line | |
ACCOUNT_ID="${ACCOUNT_ID:-012345678901}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Stages Git changes within a specified line range for a given file. | |
.DESCRIPTION | |
This script takes a file path and a line range (start and end lines) as input. | |
It identifies all Git changes within that line range and stages them for commit. | |
.PARAMETER FilePath | |
The path to the target file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Configure Git aliases | |
git config --global alias.co commit | |
git config --global alias.br branch | |
git config --global alias.st status | |
git config --global alias.ps push | |
git config --global alias.pl pull | |
git config --global alias.dc 'checkout -- .' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if status is-interactive | |
# Commands to run in interactive sessions can go here | |
end | |
# pnpm | |
set -gx PNPM_HOME "/Users/sankalpmukim/.local/share/pnpm" | |
fish_add_path /Users/sankalpmukim/.local/share/pnpm; # this one doesn't work for some reason. but let's try | |
# set --export PATH '$/Users/sankalpmukim/.local/share/pnpm/' $PATH | |
# pnpm end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"glassit.alpha": 255, | |
"security.workspace.trust.untrustedFiles": "open", | |
"editor.inlineSuggest.enabled": true, | |
"bracket-pair-colorizer-2.depreciation-notice": false, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"editor.formatOnSave": true, |