Skip to content

Instantly share code, notes, and snippets.

View albertobazilio98's full-sized avatar
🥔
I'm a potato

albertobazilio98 albertobazilio98

🥔
I'm a potato
View GitHub Profile
@albertobazilio98
albertobazilio98 / .bash_functions
Last active October 4, 2022 19:20
my bash functions
#!/bin/bash
ropen() {
#!/bin/bash
cd $1
rvm use
bundle i
code .
}
@albertobazilio98
albertobazilio98 / multitab.sh
Last active January 22, 2021 12:35
function to execute multiple comands in different terminal tabs
# function to execute multiple comands in different terminal tabs
# ex: nt "code ." "cd ~/path/to/somewhere && npm run dev" "cd ~/path/to/other/folder && docker-compose up"
nt() {
for arg in "$@"
do
gnome-terminal --tab -- bash -ic "$arg; bash"
done
}
@albertobazilio98
albertobazilio98 / fix_sublime.sh
Last active January 22, 2021 12:34
Fixing sublime callback on terminal
alias subl='code'