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
# Playing around a bit with OSX speech synthis API to troll the spam caller. | |
# had some pretty funny results so far. | |
osascript -e "set Volume 4" | |
say -r 160 -v 'veena' "Hello " | |
osascript -e "set Volume 2" | |
say -r 190 -v 'veena' "I received a call from interpol about credential abusing." | |
sleep 1 | |
say -r 210 -v 'veena' "It seems my passport has been stolen." | |
sleep 1 |
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
/** | |
* Converts flat object into Html description list using key => value | |
* ```html | |
* <dl> | |
* <dt>{key}</dt> | |
* <dd>{value}</dd> | |
* </dl> | |
* ``` | |
* | |
* @param obj |
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
#!/bin/bash | |
# Microsoft Teams Cleanup Script | |
# This script removes all Microsoft Teams related cache, data, and preference files | |
# Based on analysis of actual Teams installations and Microsoft support documentation | |
# List of known Microsoft Teams-related folders (optimized - only shortest paths) | |
teams_folders=( | |
# Original Application Support folders | |
"$HOME/Library/Application Support/Microsoft/Teams" |
OlderNewer