Skip to content

Instantly share code, notes, and snippets.

View AitorAstorga's full-sized avatar
🇪🇺

Aitor AitorAstorga

🇪🇺
View GitHub Profile
@Thadah
Thadah / clearNewTeamsCache.ps1
Last active October 25, 2024 07:31
Clears New Teams cache and restarts the application
# If the script throws a policy error, execute it with the command below
# Set-ExecutionPolicy Unrestricted -Scope Process -Force -ErrorAction SilentlyContinue; ls -Recurse *.ps*1 | Unblock-File; .\"clearNewTeamsCache.ps1"
# 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

Adding Dependencies

Introduction

Adding Dependencies allows you to access hooks, tools and apis provided by other mods. Depending on other's code allows you to spend lesser time on writing your code, and more time on refining it. A commonly used dependency in fabric is Fabric API.

Adding the repository

Open your build.gradle file and add the required maven repositories

repositories {
    maven {
 name = "Example"
@panoply
panoply / equal-width.md
Last active June 18, 2025 05:37
2 column full width table for github markdown

Equal widths

Github markdown full-width 2 column table.