Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
#!/bin/bash | |
# generate new personal ed25519 ssh keys | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>" | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <[email protected]>" | |
# generate new host cert authority (host_ca) ed25519 ssh key | |
# used for signing host keys and creating host certs | |
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network |
#requires -version 5.1 | |
#requires -RunAsAdministrator | |
#PSRefresh.ps1 | |
<# | |
Update key PowerShell components on a new Windows 10/11 installation. | |
This script is not intended for server operating systems. The script | |
should be run in an interactive console session and not in a remoting session. |
# Copyright: (c) 2024, Jordan Borean (@jborean93) <[email protected]> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
Function Get-ServiceDacl { | |
<# | |
.SYNOPSIS | |
Gets the service DACL entries. | |
.DESCRIPTION | |
Gets all the DACL entries for the service(s) specified. |
#!/usr/bin/env powershell | |
# This script can keep the computer awake while executing another executable, or | |
# if no executable was passed in, then it stays awake until this script stops. | |
# There are 3 different ways of staying awake: | |
# Away Mode - Enable away mode (https://blogs.msdn.microsoft.com/david_fleischman/2005/10/21/what-does-away-mode-do-anyway/) | |
# Display Mode - Keep the display on and don't go to sleep or hibernation | |
# System Mode - Don't go to sleep or hibernation | |
# The default mode is the System Mode. | |
# Away mode is only available when away mode is enabled in the advanced power options. |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
# Description: Core functions for the script | |
# Author: EpLord | |
Function Test-Admin { | |
# Check if the script is running as an administrator | |
if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
Write-Warning -Message "This script must be run as an administrator." | |
Start-Sleep -Seconds 5 | |
Exit |
# List of built-in apps to remove | |
$UninstallPackages = @( | |
#"Microsoft.WindowsAlarms" | |
#"Microsoft.WindowsCalculator" | |
#"Microsoft.WindowsCamera" | |
#"AppUp.ThunderboltControlCenter" | |
"Microsoft.Getstarted" | |
#"Microsoft.Microsoft3DViewer" | |
"Clipchamp.Clipchamp" | |
"Microsoft.WindowsFeedbackHub" |