Skip to content

Instantly share code, notes, and snippets.

@ImportTaste
ImportTaste / Sorting.ps1
Created March 30, 2024 16:44 — forked from PanosGreg/Sorting.ps1
Different ways to sort objects
## Different ways to Sort
# ========================
# a) via Array class and the .Sort() method
# b) via LINQ and the OrderBy() method
# c) via the Sort-Object function
# d) via Comparer class for
# d1) List & SortedSet
# AppImageKit-checkrt.git
2bde0d486db033202783e22139d563fe0b44392d commit refs/heads/gh-workflow
3b0f28c71f630178f28881f1a82d6d038bb12cc7 commit refs/heads/master
9523470cd94df0b6d3fb217f966d8c84b2f8a8e6 commit refs/heads/old
b9a00c30e28cf13cffb2df5686b8218cd92ef957 commit refs/pull/1/head
c952b8eff575c13c0ba57439b6e722aea22b6a24 commit refs/pull/2/head
63ff7543717d961d5021c6552d1d4b85b797a0be commit refs/pull/3/head
7447173eb64d60fed400b9d5eb5ab08098172be5 commit refs/pull/4/head
bfa87628b15794131d1fc2391d94ac0f7883b3eb commit refs/pull/4/merge
@ImportTaste
ImportTaste / mbedtls.git
Created March 5, 2024 17:55 — forked from toriningen/mbedtls.git
yuzu tags
git tag 'feature-opaque-keys-2.7-rc1' 278c0e1135568ec77598bb1f27471817dcc5044f
git tag 'mbedos-release-15-11' d59d29ab9fc03a524322ba56e52700634d7fc2fc
git tag 'mbedtls-1.3.10' ae9d0bb1cbee91f000666c45069cd0ad4155a3d0
git tag 'mbedtls-1.3.11' 6861e92e664428c2baaa67f094d45458cc812f2d
git tag 'mbedtls-1.3.12' d6f319459bc8e042a49916cb9b5cd65a0c816b8c
git tag 'mbedtls-1.3.15' c0a447de34e13842c943898c4a2ec5ac4280f251
git tag 'mbedtls-1.3.16' 3b13f4a667dbf2532c8dea6e7f4a12714e7f379a
git tag 'mbedtls-1.3.17' 6a9f82d5e0545bc245a51d04b572ad2ddd460bc0
git tag 'mbedtls-1.3.18' 3b06797e0e98fd2bea9b3af2d8ef30cd333494e4
git tag 'mbedtls-1.3.19' 6d02bc403bfffbdd13c2597e1748622a1d9ad0e6
@ImportTaste
ImportTaste / Get-Token.ps1
Created March 1, 2024 16:26 — forked from vector-sec/Get-Token.ps1
PowerShell script to enumerate all Process and Thread tokens.
function Get-Token
{
foreach($proc in (Get-Process))
{
if($proc.Id -ne 0 -and $proc.Id -ne 4)
{
try
{
$hProcess = OpenProcess -ProcessId $proc.Id -DesiredAccess PROCESS_QUERY_LIMITED_INFORMATION
}
@ImportTaste
ImportTaste / html_tags_you_can_use_on_github.md
Last active October 30, 2023 15:48 — forked from seanh/html_tags_you_can_use_on_github.md
HTML Tags You Can Use on GitHub

NOTICE

GitHub no longer uses html-pipeline, so information contained within this gist may be out-of-date.

Currently, this fork only adds this notice and fixes the link to the old sanitization code in the References section.


HTML Tags You Can Use on GitHub

@ImportTaste
ImportTaste / README.md
Created September 29, 2023 03:20 — forked from amitxv/README.md
Steam -no-browser after patch

Steam -no-browser after patch (Working June 2023)

  • Disregard the original steam shortcut and only use the batch scripts below to launch steam

  • There is a slight CPU utilization penalty which can be circumvented by suspending the problematic thread

steam-no-browser.bat:

@ImportTaste
ImportTaste / cogs_slash_test.py
Created June 18, 2023 09:54 — forked from wiktorpp/cogs_slash_test.py
Simple cogs example in discord.py (tested on 2.0.1)
#cogs / test.py
from discord.ext import commands
class Test(commands.Cog):
def __init__(self, client):
self.client = client
@commands.hybrid_command()
@commands.cooldown(1, 10, commands.BucketType.user)
@ImportTaste
ImportTaste / Get-AvailableExceptionsList.ps1
Created June 8, 2023 00:40 — forked from wpsmith/Get-AvailableExceptionsList.ps1
PowerShell: Retrieves all available Exceptions to construct ErrorRecord objects.
<#
.Synopsis
Retrieves all available Exceptions to construct ErrorRecord objects.
.Description
Retrieves all available Exceptions in the current session to construct ErrorRecord objects.
.Example
$availableExceptions = Get-AvailableExceptionsList
@ImportTaste
ImportTaste / New-ErrorRecord.ps1
Created June 8, 2023 00:39 — forked from wpsmith/New-ErrorRecord.ps1
PowerShell: Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error.
<#
.Synopsis
Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error.
.Description
Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error.
.Parameter Exception
The Exception that will be associated with the ErrorRecord.