Skip to content

Instantly share code, notes, and snippets.

View iloire's full-sized avatar
😈

ivan l. iloire

😈
View GitHub Profile
# Uninstall-DefaultWindows11Apps.ps1
# Run this script as Administrator in PowerShell
Write-Host "Uninstalling default Windows 11 apps unnecessary for development..."
# List of common Windows 11 apps to remove (add or remove as needed)
$appsToRemove = @(
"Microsoft.BingNews"
"Microsoft.BingWeather"
"Microsoft.BingFinance"
# Instructions to run this Boxstarter script:
# 1. Save this script as Boxstarter-DevTools.ps1 on your Windows VM or upload it to a public/secret GitHub Gist and get the raw URL.
# 2. Open an elevated PowerShell prompt (Run as Administrator).
# 3. Ensure Boxstarter is installed by running: choco install -y boxstarter
# 4. Run the script using one of the following commands:
# - Local file: Install-BoxstarterPackage -PackageName C:\Path\To\Boxstarter-DevTools.ps1 -DisableReboots
# - Gist URL: Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/username/uniqueid/raw/Boxstarter-DevTools.ps1 -DisableReboots
# 5. The -DisableReboots flag is optional; remove it to allow Boxstarter to handle reboots automatically.
# 6. Monitor the installation; check $env:LocalAppData\Boxstarter\Boxstarter.log for errors if any package fails.
@iloire
iloire / clean-cookies.py
Created December 3, 2022 21:08
Clean Google Chrome cookies automation
"""
Cleans non white-listed cookies on Chrome
1. Example of cookies-whitelist.txt (domains you allow cookies for). One domain per line:
www.microsoft.com
www.google.es
www.namecheap.com
2. Now put it in your crontab:
@iloire
iloire / gist:417dc85612c6fa816dcafaa2941f9dd2
Created September 25, 2022 18:23 — forked from tripurari001/gist:e78aa7b33a1f9f000405309a8082982a
Openwest 2015 - Erik Falor - From Vim Muggle to Wizard in 10 Easy Steps
_
- - /, /, |\ 222222222222222
)/ )/ ) ' _ \\ 2:::::::::::::::22
)__)__) \\ /\\ < \, ,._-_ / \\ _-_, 2::::::222222:::::2
~)__)__) || / /-|| || || || ||_. 2222222 2:::::2
) ) ) || /\\ (( || || || || ~ || 2:::::2
/-_/-_/ \\ || \/\\ \\, \\/ ,-_- 2:::::2 ::::::
/ 2222::::2 ::::::
(, 22222::::::22 ::::::
.--.--.-----. 22::::::::222
@iloire
iloire / canvas_processing.html
Created July 8, 2012 18:00
Canvas/JS animation created by Javier Santana for the SpainJS
<!--
Taken form: http://javisantana.com/a/hello_spainjs.html
Original author: Javier Santana.
Some code cleaning, added comments to make it instructional: Iván Loire
-->
<html>
<head>
<style>
html, body {