December 04, 2023

Minecraft Java Edition with Quilt running in Docker

  docker run -d -it --name mc-a \
    --restart unless-stopped \
    -e EULA=TRUE \
    -e VERSION="1.19.4" \
    -e MEMORY=16G \
    -e TYPE=QUILT \
    -e QUILT_LOADER_VERSION=0.21.0 \
    -e QUILT_INSTALLER_VERSION=0.21.0 \
    -p 192.168.1.40:25565:25565 \
    -v minecraft-a:/data \
    itzg/minecraft-server

https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/server-types/quilt/

FAILED MISERABLY! NEED MORE RESOURCES.....

November 05, 2023

Minecraft Ultimate Origins Docker Instance

 docker run -d -it --name minecraft -e EULA=TRUE -e VERSION="1.19.2" -p 192.168.1.177:25565:25565 -v minecraft-volume:/data itzg/minecraft-server

 docker run -d -it --name mc-vh \
    --restart unless-stopped \
    -e EULA=TRUE \
    -e VERSION="1.18.2" \
    -e MEMORY=16G \
    -e TYPE=FORGE \
    -e FORGEVERSION=40.2.9 \
    -e CF_SERVER_MOD=https://mediafilez.forgecdn.net/files/4747/283/Vault-Hunters-3rd-Edition-3.11.5-server-files.zip \
    -p 192.168.1.50:25565:25565 \
    -v minecraft-vh:/data \
    itzg/minecraft-server
    


netplan/00-installer-config.yaml

https://edge.forgecdn.net/files/4747/283/Vault-Hunters-3rd-Edition-3.11.5-server-files.zip

    -e GENERIC_PACK="https://mediafilez.forgecdn.net/files/4747/283/Vault-Hunters-3rd-Edition-3.11.5-server-files.zip" \

October 31, 2023

TellyTV Docker & Plex for NZ TV

# References
# https://jonohill.nz/2019/3/11/plex-dvr-nz.html
# https://github.com/tellytv/telly
# https://www.matthuisman.nz/2017/07/new-updated-nz-iptv-files.html

mkdir /var/lib/telly

nano /var/lib/telly/telly.config.toml

[Discovery]                                    
  Device-Auth = "telly123"                     
  Device-ID = 12345678                         
  Device-UUID = ""
  Device-Firmware-Name = "hdhomeruntc_atsc"
  Device-Firmware-Version = "20150826"
  Device-Friendly-Name = "telly"
  Device-Manufacturer = "Silicondust"
  Device-Model-Number = "HDTC-2US"
  SSDP = true
[IPTV]
  Streams = 3
  Starting-Channel = 1
  XMLTV-Channels = true
  FFMpeg = true             
[Log]
  Level = "warn"
  Requests = false
[Web]
  Base-Address = "192.168.1.40:6077"
  Listen-Address = "0.0.0.0:6077"
[[Source]]
  Name = "FreeviewNZ"
  Provider = "Custom"
  M3U = "http://i.mjh.nz/nz/raw-tv.m3u8"
  Filter = ""
  FilterKey = ""
  FilterRaw = false
  Sort = ""

apt-get install docker.io

docker run -d \
  --name='telly' \
  --net='bridge' \
  -e TZ="Pacific/Auckland" \
  -p 192.168.1.40:6077:6077/tcp \
  -v /var/lib/telly:/etc/telly \
  --restart unless-stopped \
  tellytv/telly:dev-ffmpeg

November 02, 2022

acme.sh letsencrypt DST Root CA X3

Well that was fun.

Updated acme.sh to fix an issue with some browsers seeing the expired cert isse and got errors from zerossl.com

[Wed Nov  2 15:18:43 NZDT 2022] Polling order status: https://acme.zerossl.com/v2/DV90/order/9Lxxxxxxxx

[Wed Nov  2 15:18:45 NZDT 2022] Order status is processing, lets sleep and retry.

I added 

    --perferred-chain

to get over the expired cert issue and

    --set-default-ca --server letsencrypt

to ensure the cert was with letsencrypt.

Full command line is now.... 

acme.sh --issue -d walkerfamily.kiwi --dns dns_gd -d *.walkerfamily.kiwi --dns dns_gd -d wjw.nz -d *.wjw.nz -d wjw.co.nz -d *.wjw.co.nz -d wjw.co.uk -d *.wjw.co.uk -d wjw.uk -d *.wjw.uk -d *.nzags.com --dns dns_zonomi --preferred-chain 

August 13, 2022

Mailinabox Whitelist

 # zonomi

96.126.101.97

2600:3c01::f03c:91ff:fedf:8260

#LAN

192.168.1.0/24

2406:e0001:1:2400::/64


November 01, 2021

Export Flows from Microsoft Flow

# Install & Load Modules

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell

Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber

set-executionpolicy bypass

Import-Module Microsoft.PowerApps.Administration.PowerShell

Import-Module Microsoft.PowerApps.PowerShell

# Login

Connect-AzureAD

Add-PowerAppsAccount

# Export All Flows to CSV

 $exportFolderPath = "c:\OneDriveTemp\"


$flows = Get-AdminFlow

 

$flowExport = [System.Collections.ArrayList]@();

 

# Loop through all flows to expand on the user property. 

foreach ($flow in $flows) {

 

    $custFlow = New-Object -TypeName psobject 

 

    $custFlow | Add-Member -MemberType NoteProperty -Name FlowName -Value $flow.FlowName

    $custFlow | Add-Member -MemberType NoteProperty -Name Enabled -Value $flow.Enabled

    $custFlow | Add-Member -MemberType NoteProperty -Name DisplayName -Value $flow.DisplayName

    $custFlow | Add-Member -MemberType NoteProperty -Name CreatedTime -Value $flow.CreatedTime

    $custFlow | Add-Member -MemberType NoteProperty -Name EnvironmentName -Value $flow.EnvironmentName

    $custFlow | Add-Member -MemberType NoteProperty -Name LastModifiedTime -Value $flow.LastModifiedTime

 

    # Get the email of the user who created the flow. 

    try {

        $user = Get-AzureADUser -ObjectId $flow.CreatedBy.userId

        $custFlow | Add-Member -MemberType NoteProperty -Name CreatedBy -Value $user.Mail

    } catch {

        $custFlow | Add-Member -MemberType NoteProperty -Name CreatedBy -Value 'NOT FOUND IN AAD'

    }

 

    $flowExport.Add($custFlow) | Out-null

}

 

# Export to CSV.

$flowExport | Export-Csv -Path ($exportFolderPath + 'Flows1.csv') -Delimiter ',' -NoTypeInformation



# Other Commands

Get-AdminPowerAppEnvironment

Get-AdminPowerAppEnvironment –Default

Get-AdminPowerAppEnvironment –EnvironmentName 'EnvironmentName'


Get-AdminPowerApp

Get-AdminPowerApp 'DisplayName'


Get-AdminFlow

October 22, 2021

Minecraft Docker R.A.D

docker run -d -it --name minecraft-rogue -e EULA=TRUE -p 192.168.1.150:25566:25566 -v rogue-volume:/data itzg/minecraft-server:java16

cp -r /media/nas-backup/minecraft/RAD-Serverpack-1.47a/* .

docker container rm minecraft-rogue

docker run -d -it --name minecraft-rogue -e VERSION=1.12.2 -e TYPE=FORGE -e FORGE_INSTALLER=forge-1.12.2-14.23.5.2854.jar -e EULA=TRUE -e MEMORY=8G -p 192.168.1.150:25565:25565 -v rogue-volume:/data itzg/minecraft-server:java8

Manually editted the EULA.txt

chmod -R 777 * 

docker update --restart unless-stopped minecraft-rogue