Skip to content

Instantly share code, notes, and snippets.

Avatar

Niels Gandraß ngandrass

View GitHub Profile
@mrcomoraes
mrcomoraes / clear_cache_MS_Teams.sh
Last active May 23, 2022
Clear cache Microsoft Teams on Linux
View clear_cache_MS_Teams.sh
#!/bin/bash
# This script cleans all cache for Microsoft Teams on Linux
# Tested on Ubuntu-like, Debian by @necrifede and Arch Linux by @lucas-dclrcq. Feel free to test/use in other distributions.
# Tested with Teams via snap package.
#
# How to use in terminal:
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap )
# or
# bash clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap )
@kissmygritts
kissmygritts / to_utm.vba
Created May 20, 2015
VBA lat long to UTM conversion
View to_utm.vba
Function to_utm(x, y) As Collection
Dim coordinates As Collection
Set coordinates = New Collection
E = 0.00669438
R = 6378137
K0 = 0.9996
E2 = E * E