Skip to content

Instantly share code, notes, and snippets.

@mrcomoraes
mrcomoraes / clear_cache_MS_Teams.sh
Last active May 10, 2024 12:07
Clear cache Microsoft Teams on Linux
#!/bin/bash
# This script cleans all cache for Microsoft Teams on Linux
# Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions.
# Tested Teams via snap package.
# Tested Teams via flatpak package.
#
# How to use in terminal:
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak )
# or
@shaoran
shaoran / gist:1db4ed8bba8bc054cd31e2ea05a668d1
Last active September 27, 2023 10:54 — forked from zfwf/gist:64695924cb0941089f8163e73cfad209
NetworkManager tls-cipher=DEFAULT:@SECLEVEL=0
# Client configs, 16.04,
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
# network manager, 16.04, install below package to enable import openvpn client configs
sudo apt install network-manager-openvpn-gnome
# Client configs, 18.04/18.10
@hurryman2212
hurryman2212 / how-to-install-ubuntu-on-f2fs.md
Created September 18, 2023 02:53
Installing Ubuntu 22.04 LTS On F2FS Root Partition

Ubuntu 22.04 LTS With Boot-Time Mounted F2FS Root Partition

Put "/" at the end for src. and dest. directory for "rsync" to do proper copy!

Original partition structure

"/dev/nvme0n1p1" => /boot/efi (fat32)

"/dev/nvme0n1p2" => /boot (ext4)

"/dev/nvme0n1p3/" => / (f2fs)