Skip to content

Instantly share code, notes, and snippets.

View aryadas98's full-sized avatar
πŸš€
Taking off!

Arya Das aryadas98

πŸš€
Taking off!
View GitHub Profile
@aryadas98
aryadas98 / merge_to_monorepo.sh
Created April 17, 2026 23:01
Merge repos to a monorepo
#!/bin/bash
# folder structure
# common_folder
# |--- target monorepo
# |--- repo1
# |--- repo2
set -e
@aryadas98
aryadas98 / round.sh
Last active January 17, 2017 11:50
A bash script to round numbers.
#!/bin/bash
if [ $1 == "--help" ]; then
echo -e "Dependencies: bc\n\nUsage: round p x\nRounds x to the nearest 10^p."
exit 0;
fi
p=$1
x=$2