This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit Icon in /usr/share/applications/skypeforlinux.desktop | |
Icon=/usr/share/icons/hicolor/256x256/apps/skypeforlinux.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl stop nginx;certbot renew --dry-run --pre-hook "systemctl stop nginx" --post-hook "killall nginx;systemctl start nginx" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ip in $(seq 1 254);do echo "testing $ip";ping -c 1 192.168.1.$ip | grep "bytes from"; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In vim enter | |
:%s/<\/\?\zs\(\a\+\)\ze[ >]/\L\1/g | |
Tags as well | |
:%s/\(<[^>]*\)\@<=\<\(\a*\)\ze=['"]/\L\2/g | |
From: http://vim.wikia.com/wiki/Changing_all_HTML_tags_to_lowercase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn diff | vim -R - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done |