Skip to content

Instantly share code, notes, and snippets.

View ggrrll's full-sized avatar

Gianr Lazz ggrrll

View GitHub Profile
@ggrrll
ggrrll / .bashrc
Created February 12, 2026 17:21
my bash profile :)
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@ggrrll
ggrrll / clouds-resources.md
Created January 19, 2026 11:08
clouds-resources
@ggrrll
ggrrll / .bash_profile
Created December 18, 2025 10:45
macos bash profile
# suppress warining
export BASH_SILENCE_DEPRECATION_WARNING=1
# # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# # don't put duplicate lines or lines starting with space in the history.
# # See bash(1) for more options
@ggrrll
ggrrll / folders_files_comparishon.sh
Created October 19, 2023 13:44
compare files in two folders
#!/bin/bash
# Argument passing and checking
while getopts 't:r:' flag; do
case "${flag}" in
t) TARGETDIR="${OPTARG}" ;;
r) REFDIR="${OPTARG}" ;;
*)
echo "usage: $0 [-t] [-r]" >&2
exit 1
@ggrrll
ggrrll / MacOS.md
Last active December 18, 2025 09:55
macOS suggestions
@ggrrll
ggrrll / tax_names.md
Last active May 29, 2022 11:10
Swiss tax terms
@ggrrll
ggrrll / IMU_resources.md
Last active January 31, 2022 22:04
resources for IMU (inertial measurement unit )