This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while (1) {Get-BitLockerVolume -MountPoint "C:" | Select-Object EncryptionPercentage; sleep 5} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invoke-WebRequest ` | |
-Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-23.Q4-Win10-Win11-For-HIP.exe" ` | |
-OutFile "~\Downloads\Setup.exe" | |
Start-Process ~\Downloads\Setup.exe -ArgumentList '-install','-log',"${env:USERPROFILE}\installer_log.txt" -NoNewWindow -Wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://projects.blender.org/blender/blender/raw/branch/main/build_files/build_environment/linux/linux_rocky8_setup.sh -o linux_rocky8_setup.sh | |
chmod +x linux_rocky8_setup.sh | |
sudo ./linux_rocky8_setup.sh | |
echo "source scl_source enable gcc-toolset-11" | sudo tee -a /etc/profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-AppPackage -path "https://cdn.winget.microsoft.com/cache/source.msix." | |
winget install Microsoft.VisualStudio.2022.Community --override "--add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended" | |
winget install Git.Git | |
winget install Kitware.CMake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"label":"lighthouse","message":"99","schemaVersion":1,"color":"4c1","namedLogo":"Lighthouse"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import time | |
import subprocess | |
import re | |
import paramiko | |
from paramiko import SSHClient, AutoAddPolicy | |
REMOTE_FILE_OUTPUT = "/home/site/wwwroot.tar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"label":"lighthouse","message":"99","schemaVersion":1,"color":"4c1","namedLogo":"Lighthouse"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[Parameter(Mandatory=$true)] | |
[string]$PersonalToken, | |
[Parameter(Mandatory=$true)] | |
[string]$Organization, | |
[Parameter(Mandatory=$true)] | |
[string]$Project | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do result=$(curl -s ifconfig.wearetriple.com); if [[ "$result" != "$previous_result" ]]; then echo "$(date) $result"; previous_result=$result; fi; sleep 1; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
print_help() { | |
echo "Usage: ./domain_check.sh DESIRED_OUTCOME DOMAIN1 [DOMAIN2 ...]" | |
echo "Check a list of domains against a desired outcome using the dig command." | |
echo "" | |
echo "Arguments:" | |
echo " DESIRED_OUTCOME The expected outcome for the domains." | |
echo " DOMAIN1 The first domain to check." | |
echo " DOMAIN2 ... Additional domains to check." |
NewerOlder