```bash
xfconf-query -c xfce4-keyboard-shortcuts -p "/commands/default/<Alt>F1" -r
xfconf-query -c xfce4-keyboard-shortcuts -p "/commands/custom/<Alt>F1" -r
```
xfce4 删除 Alt+F1 热键定义以避免与 Rider 热键冲突。
#unixtips
my default shell is bash and i don't have autocomplete set up. whenever i have to rename files which are too tedious to type, i switch to the fabulous fish shell to get autocomplete out of the box.

#unixtips #linuxtips

To escape a literal dollar sign in a ripgrep replacement string, use `$$`.

#unixtips

Three of my most favorite aliases:
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'

#UnixTips #Shell #Shortcuts #Aliases

#unixtips If you use gnome with Nautilus, which is the default File manager in gnome.
```
sudo apt install gnome-sushi
```
你就能像在macOS中那样按空格快速预览文件(图片、PDF、文本、音频、视频等)

#unixtips

#ubuntu 下清除dns缓存:`sudo systemctl restart dnsmasq`

#curl #unixtips

You can use curl to download files in your terminal if you don't have a proper browser.

```
# -k equals --insecure, -o equals --output
curl -k -o "filename-you-want-to-save" "url you want to download"
# for example
curl -ko "stackoverflow.html" "https://stackoverflow.com/questions/75612763/downloading-files-with-curl"
```

Downloading files with curl

I tried downloading the csv files from this repository from the command line of ubuntu 20. What i have tried so far: curl --output /home/../test2.csv https://cloudstor.aarnet.edu.au/plus/s/

Stack Overflow

#gitbash #unixtips

curl -L -o /usr/bin/jq.exe https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe

可以解决 windows 下的 gitbash 没有 jq 可用的问题。

#unixtips #ubuntu
如果你不希望你的ubuntu server经常自动更新内核,可以使用下面的命令暂停和恢复内核自动更新。
```
sudo apt-mark [un]hold linux-image-generic linux-headers-generic
```