rune / Folder notes
0 喜欢
0 派生
1 文件
最后活跃于
A small zsh/bash/terminal function that shows a note on top of your folder
Place this bulk in your .bashrc or .zshrc file (or any other file that is sourced at terminal start.
For this to work you need [eza](https://github.com/eza-community/eza) installed.
Create a file named `.note` in any folder! Whatever you write will show on the top when your using the `ln` command.
Remember to `source .zshrc` to make the function active.
`ln() {[ -f .note ] && echo -e "📌 Note: $(cat .note)\n"; command eza -a -lOo "$@";}`
rune / Allow App to start (Mac OS)
0 喜欢
0 派生
1 文件
最后活跃于
If MacOS Gatekeeper stops you un-signed app to start, you can try this!
| 1 | sudo xattr -rd com.apple.quarantine /Applications/<name of app> |
rune / Disable M$ Defender Mac
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | launchctl unload /Library/LaunchAgents/com.microsoft.wdav.tray.plist |
| 2 | sudo launchctl unload /Library/LaunchDaemons/com.microsoft.fresno.plist |
| 3 | |
| 4 | sudo launchctl unload /Library/LaunchDaemons/com.tanium.taniumclient.plist |
rune / expand URL
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | expandurl () |
| 2 | { |
| 3 | [[ -z "$1" ]] && echo "Usage: expandurl <short url>" && return 1; |
| 4 | curl -s -IL "$1" | awk '/[Ll]ocation/ { print $2 }' |
| 5 | } |
rune / Find .NET version
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4" /s | find "Version" |
更新
更早