Skip to content

Instantly share code, notes, and snippets.

View duttaANI's full-sized avatar

Aniruddha Dutta duttaANI

View GitHub Profile
@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
@digitallysavvy
digitallysavvy / .js
Last active October 30, 2023 22:10
Full implementation of Agora interface
// simple JS interface for Agora.io web SDK
// app / channel settings
var agoraAppId = " "; // Set your Agora App ID
var channelName = 'agora-web-docs-demo';
// video profile settings
var cameraVideoProfile = '480_4'; // 640 × 480 @ 30fps & 750kbs
var screenVideoProfile = '480_2'; // 640 × 480 @ 30fps

To install zsh run: (1) > sudo apt-get install zsh

We can run step (2) to see installed zsh version (2) > zsh --version in my case it was: zsh 5.1.1 (x86_64-ubuntu-linux-gnu)

And now install oh-my-zsh: (3) > sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

@nickpegg
nickpegg / hostapd.conf
Created August 23, 2014 00:25
My hostapd config
# Set up some logging. VERY useful to see why things aren't working.
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
# Which interface to use and which bridge to join
interface=wlan0
bridge=br0