https://www.keycloak.org/docs/latest/server_installation/- Dead Linkhttps://keycloak.ch/keycloak-tutorials/tutorial-1-installing-and-running-keycloak/- Outdated- https://www.keycloak.org/downloads
- Installation on Debian 11.03
- Pre-requisite: (check/set)
timedatectl set-timezone America/Chicago
Some notes on what I was testing...
Working on getting Commodore and Amiga BBS and terminals going.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
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
cscript wincomputerinfo.vbs |
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 | |
if [ ! $(whoami) = 'root' ]; then | |
echo "This script should be run as root." > /dev/stderr | |
exit 1 | |
fi | |
#set vars | |
ip=`ifconfig | awk '/inet / {print $2}' | grep -v 127.0.0.1` | |
rname=`nslookup $ip | grep name | cut -d' ' -f 3` | |
subdomain=`echo $rname | cut -d. -f 2` | |
domain=`echo $rname | cut -d. -f 3`.`echo $rname | cut -d. -f 4` |
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
# have your pi automatically log in to x and want to remotely view the screen with rdp | |
# | |
sudo apt install freerdp2-shadow-cli | |
cp /etc/xdg/lxsession/LXDE-pi/autostart .config/lxsession/LXDE-pi/autostart | |
echo @freerdp-shadow-cli -auth >>.config/lxsession/LXDE-pi/autostart |
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
@echo off | |
net.exe session 1>NUL 2>NUL || (Echo This script requires elevated rights. & Exit /b 1) | |
set key=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WslService | |
set val=Start | |
set new=0x0 | |
set old= | |
for /F "skip=2 tokens=3" %%r in ('reg query %key% /v %val%') do set old=%%r | |
echo old=%old% |
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
@echo off | |
net.exe session 1>NUL 2>NUL || (Echo This script requires elevated rights. & Exit /b 1) | |
set key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System | |
set val=ConsentPromptBehaviorAdmin | |
set new=0x0 | |
set old= | |
echo 0 = Elevate without prompting | |
echo 1 = Prompt for credentials on the secure desktop |
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
$dir = get-childitem -path E:\tv -directory -Exclude "*sonar*" | |
foreach ($series in $dir){ | |
$show = get-item $series | |
$show_lwt = $show.LastWriteTime | |
$seasons = get-childitem -directory $series | |
foreach ($season in $seasons){ | |
$showseason = get-item "$series\$season" | |
$season_lwt = $showseason.LastWriteTime |
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 | |
# | |
if [ ! -f "$HOME/bin/composer.phar" ]; then | |
sudo apt-get update | grep -P "\d\K upgraded" | |
sudo apt-get -y install curl php-cli php-mbstring git unzip | grep -P "\d\K installed" | |
if [[ ! -f "composer-setup.php" ]]; then | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
fi | |
HASH="$(wget -q -O - https://composer.github.io/installer.sig)" | |
HASHFILE=$(php -r "echo hash_file('SHA384','composer-setup.php');") |
NewerOlder