Skip to content

Instantly share code, notes, and snippets.

View rafaucau's full-sized avatar
🛌
I may be slow to respond.

Rafał Całka rafaucau

🛌
I may be slow to respond.
View GitHub Profile
@dkorobtsov
dkorobtsov / Add_WindowsDefender_Exclusions.ps1
Last active March 7, 2025 20:53
PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues
# PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues
#
# For context please read this thread:
# https://github.com/microsoft/WSL/issues/8995
#
# How to use?
# - Save the Script: Open a text editor like Notepad and paste the PowerShell script into it.
# - Save the file with a .ps1 extension, for example, Add_WindowsDefender_Exclusions.ps1.
# - Run PowerShell as Administrator: Search for "PowerShell" in the Start menu, right-click on it, and choose "Run as administrator".
# - Navigate to the Script's Location: Use the cd command to navigate to the directory where you saved the .ps1 file.
@belgattitude
belgattitude / ci-yarn-install.md
Last active April 18, 2025 16:22
Composite github action to improve CI time with yarn 3+ / node-modules linker.
<?php
/**
* AMP Auto Image Lightbox plugin bootstrap.
*
* @package Google\AMP_Auto_Image_Lightbox
* @author Weston Ruter, Google
* @license GPL-2.0-or-later
* @copyright 2020 Google Inc.
*
* @wordpress-plugin