Skip to content

Instantly share code, notes, and snippets.

View duffleit's full-sized avatar

David Leitner duffleit

View GitHub Profile
@duffleit
duffleit / clean-teams-cache.sh
Created May 19, 2020 15:08
Clean Microsoft Teams Cache on OSX
rm -rf ~/Library/Application\ Support/Microsoft/Teams/Application\ Cache/Cache
rm -rf ~/Library/Application\ Support/Microsoft/Teams/blob_storage
rm -rf ~/Library/Application\ Support/Microsoft/Teams/Cache
rm -rf ~/Library/Application\ Support/Microsoft/Teams/databases
rm -rf ~/Library/Application\ Support/Microsoft/Teams/GPUCache
rm -rf ~/Library/Application\ Support/Microsoft/Teams/IndexedDB
rm -rf ~/Library/Application\ Support/Microsoft/Teams/Local\ Storage
rm -rf ~/Library/Application\ Support/Microsoft/Teams/tmp
@duffleit
duffleit / userwidget.element.html
Created July 2, 2019 11:10
UserWidget WebComponent
<script>
class UserWidget extends HTMLElement {
static get observedAttributes() {
return ['name'];
}
constructor(){
super();
this.attachShadow({mode:'open'});
this.shadowRoot.innerHTML = '<div>NO NAME</div>';