remove too-explicit and retired; fix mktruckdir to be better
This commit is contained in:
parent
ba41a4e60a
commit
245211c6d8
1 changed files with 5 additions and 20 deletions
25
aliases
25
aliases
|
|
@ -1,30 +1,15 @@
|
||||||
ruler() { for s in '....^....|' '1234567890'; do w=${#s}; str=$( for (( i=1; $i<=$((($COLUMNS + $w) / $w )) ; i=$i+1 )); do echo -n $s; done ); str=$(echo $str | cut -c -$COLUMNS) ; echo $str; done; }
|
ruler() { for s in '....^....|' '1234567890'; do w=${#s}; str=$( for (( i=1; $i<=$((($COLUMNS + $w) / $w )) ; i=$i+1 )); do echo -n $s; done ); str=$(echo $str | cut -c -$COLUMNS) ; echo $str; done; }
|
||||||
|
|
||||||
surftabbednoads() {
|
|
||||||
http_proxy=192.168.42.5:8118 tabbed -r2 surf -e -a@Aa -BDfg
|
|
||||||
}
|
|
||||||
|
|
||||||
surftabbed() {
|
|
||||||
tabbed -r2 surf -e -a@Aa -BDfg
|
|
||||||
}
|
|
||||||
|
|
||||||
mktruckdir() {
|
mktruckdir() {
|
||||||
sudo mkdir ${1}
|
USER=$(whoami)
|
||||||
sudo chown truck:truck ${1}
|
sudo mkdir ${1}
|
||||||
}
|
sudo chown ${USER}:${USER} ${1}
|
||||||
|
|
||||||
shitwin() {
|
|
||||||
xfreerdp2 /u:"Andrew Holland" +clipboard /jpeg /size:1918x1044 /v:192.168.1.92 /bpp:32
|
|
||||||
}
|
|
||||||
|
|
||||||
firewall-ssh() {
|
|
||||||
badssh -oKexAlgorithms=+diffie-hellman-group1-sha1 ntcadmin@77.86.234.126
|
|
||||||
}
|
}
|
||||||
|
|
||||||
randmac() {
|
randmac() {
|
||||||
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
|
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
|
||||||
}
|
}
|
||||||
|
|
||||||
randmacxen() {
|
randmacxen() {
|
||||||
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum| sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
|
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum| sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue