Skip to content

Instantly share code, notes, and snippets.

View Dr-WaSaBi's full-sized avatar
😬
What happens when wasabi goes bad

Russell R. Riker Dr-WaSaBi

😬
What happens when wasabi goes bad
View GitHub Profile
@ThioJoe
ThioJoe / Appx-Uninstaller.ps1
Last active May 7, 2024 13:37
A basic script for uninstalling a list of app packages in Windows 10/11, including those pre-installed with Windows
# A basic script for uninstalling app packages in Windows 10/11, including those pre-installed with Windows
#
# Note: If you get an error about the script not being allowed to run, the below command will change the execution polciy temporarily for one session only:
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
#
# To execute the script, open a Powershell window to the directory with the script and run the following command using your scripts file name (and don't forget the .\ )
# .\WhateverScriptName.ps1
# -------------------------------------------------------------------------------------------
# Script by ThioJoe - https://github.com/ThioJoe
@T99
T99 / preserve_history.ps1
Last active August 25, 2022 16:18
Preserve/save PowerShell command history globally, across sessions.
# The full path at which to save the history file.
$history_file = "~\PowerShell\history.csv"
# The amount of history to save.
$history_size = 32KB
# Create the ~\PowerShell directory if is does not already exist.
if (!(Test-Path ~\PowerShell -PathType Container)) {
New-Item ~\PowerShell -ItemType Directory
}
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@svpino
svpino / twitter-unfollow.ipynb
Created August 11, 2020 18:58
twitter-unfollow.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xero
xero / irc.md
Last active May 3, 2024 23:19
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.