This file contains 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
# Gontzal Pujana 2023 | |
# Set-ExecutionPolicy Unrestricted -Scope Process -Force -ErrorAction SilentlyContinue; ls -Recurse *.ps*1 | Unblock-File; .\"clearTeamsCache.ps1" | |
# Stop Teams Process | |
function Stop-Teams { | |
$teams = Get-Process -Name Teams -ErrorAction SilentlyContinue | |
if ($null -ne $teams){ | |
Write-Host "Team Process Found, stopping..." -ForegroundColor Yellow | |
Stop-Process -Name Teams -Force | |
Start-Sleep 5 |
This file contains 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 | |
# Define the source and destination directories | |
SRC_DIR="/path/to/folder/" | |
DEST_DIR="/path/to/folder/" | |
# Define audio quality | |
# 0.1 (Highest Quality) - 2 (Lowest Quality) | |
AUDIO_QUALITY=1 | |
AUDIO_SAMPLING=44100 |
This file contains 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
// ==UserScript== | |
// @name Auto Join w2g.tv Room | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.1 | |
// @description Automatically click the 'Join the Room' button on w2g.tv | |
// @author Thadah D. Denyse | |
// @match *://w2g.tv/* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
# Stop Teams Process | |
function Stop-Teams { | |
$teamsProcessName = "ms-teams" | |
$teams = Get-Process -Name $teamsProcessName -ErrorAction SilentlyContinue | |
if ($null -ne $teams){ | |
Write-Host "Teams Process Found, stopping..." -ForegroundColor Yellow | |
Stop-Process -Name $teamsProcessName -Force | |
Start-Sleep 5 | |
} | |
$teams = Get-Process -Name $teamsProcessName -ErrorAction SilentlyContinue |