rune / Folder notes
0 j'aimes
0 forks
1 fichiers
Dernière activité
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 j'aimes
0 forks
1 fichiers
Dernière activité
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 / random_numbers
0 j'aimes
0 forks
1 fichiers
Dernière activité
Forumal for random numbers in Excel
| 1 | =ROUND(RAND()*10000+1,0) |
rune / AI.robots.txt
0 j'aimes
0 forks
1 fichiers
Dernière activité
A robots.txt file disallowing indexing by AI scrapers
| 1 | User-agent: AI2Bot |
| 2 | User-agent: Ai2Bot-Dolma |
| 3 | User-agent: Amazonbot |
| 4 | User-agent: Applebot |
| 5 | User-agent: Applebot-Extended |
| 6 | User-agent: Bytespider |
| 7 | User-agent: CCBot |
| 8 | User-agent: ChatGPT-User |
| 9 | User-agent: Claude-Web |
| 10 | User-agent: ClaudeBot |
rune / Default .gitignore
0 j'aimes
0 forks
1 fichiers
Dernière activité
A default .gitignore for python projects
| 1 | # Byte-compiled / optimized / DLL files |
| 2 | __pycache__/ |
| 3 | *.py[cod] |
| 4 | *$py.class |
| 5 | |
| 6 | # C extensions |
| 7 | *.so |
| 8 | |
| 9 | # Distribution / packaging |
| 10 | .Python |
rune / Disable M$ Defender Mac
0 j'aimes
0 forks
1 fichiers
Dernière activité
| 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 j'aimes
0 forks
1 fichiers
Dernière activité
| 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 j'aimes
0 forks
1 fichiers
Dernière activité
| 1 | reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4" /s | find "Version" |
Plus récent
Plus ancien