mirror of
https://github.com/sebaschi/dotfiles.git
synced 2025-11-08 18:14:27 +01:00
Add new aliases and fix functions
This commit is contained in:
parent
dc20abd2fb
commit
2606b41cc6
@ -55,25 +55,25 @@ function htd {
|
||||
}
|
||||
|
||||
function b2d {
|
||||
echi "obase=10; ibase=2; $1" | bc
|
||||
echo "obase=10; ibase=2; $1" | bc
|
||||
}
|
||||
|
||||
function h2d {
|
||||
echi "obase=10; ibase=16; $1" | bc
|
||||
echo "obase=10; ibase=16; $1" | bc
|
||||
}
|
||||
|
||||
function b2h {
|
||||
echi "obase=16; ibase=2; $1" | bc
|
||||
echo "obase=16; ibase=2; $1" | bc
|
||||
}
|
||||
|
||||
function h2b {
|
||||
echi "obase=2; ibase=16; $1" | bc
|
||||
echo "obase=2; ibase=16; $1" | bc
|
||||
}
|
||||
|
||||
function d2h {
|
||||
echi "obase=16; ibase=10; $1" | bc
|
||||
echo "obase=16; ibase=10; $1" | bc
|
||||
}
|
||||
|
||||
function d2b {
|
||||
echi "obase=2; ibase=10; $1" | bc
|
||||
echo "obase=2; ibase=10; $1" | bc
|
||||
}
|
||||
|
||||
@ -35,6 +35,8 @@ alias vu='cd ~/para/area/education/vu/mscompsec'
|
||||
alias ss='cd ~/para/area/education/vu/mscompsec/2024-s1-p1/ss'
|
||||
alias plsps='cd ~/para/area/education/vu/mscompsec/2024-s1-p1/plsps'
|
||||
alias connss='ssh -p 45123 -i ~/.ssh/id_ed25519_appsec zxtra3@appsec.vusec.net'
|
||||
alias as3='cd ~/para/area/education/vu/mscompsec/2024-s1-p1/ss/assignments/softsec/3_advexp'
|
||||
|
||||
|
||||
alias ccat='pygmentize -g'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user