Skip to content

Instantly share code, notes, and snippets.

@TechnologistAU
TechnologistAU / yasdi.ini
Created January 21, 2019 05:21
Example for /etc/yasdi.ini
[DriverModules]
Driver0=yasdi_drv_serial
[COM1]
Device=/dev/ttyUSB0
Media=RS485
Baudrate=1200
Protocol=SMANet
[Misc]
DebugOutput=/dev/stderr
@TechnologistAU
TechnologistAU / nginx.conf
Created January 21, 2019 04:31
123Solar configuration file for nginx on Raspbian (Raspberry Pi)
##
# 123Solar configuration file for nginx on Raspbian (Raspberry Pi)
##
server {
listen 80;
listen [::]:80;
server_name _;
@TechnologistAU
TechnologistAU / msmtprc
Last active January 20, 2019 03:24
msmtp configuration template file
defaults
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account default
host smtp.email.com
port 587
auth on
user user@email.com
@TechnologistAU
TechnologistAU / nginx.conf
Last active January 20, 2019 02:21
123Solar & meterN configuration file for Nginx on Raspbian (Raspberry Pi)
##
# 123Solar & meterN configuration file for nginx on Raspbian (Raspberry Pi)
##
server {
listen 80;
listen [::]:80;
server_name _;
@TechnologistAU
TechnologistAU / unifi5-ubuntu.sh
Last active June 21, 2018 09:08
UniFi 5 Installation Script for Ubuntu
#!/bin/bash
################################################################################
#
# This script automates the installation of the UniFi controller software on
# Ubuntu.
#
# http://www.technologist.site/ubnt
#
################################################################################
#!/bin/bash
hardware_extra_dist=()
hardware_sources=()
gui_sources=()
################################################################################
#
# UpdateSources $1 $2 $3 $4 $5
#
@TechnologistAU
TechnologistAU / unifi.sh
Created January 10, 2018 10:59
UniFi 4 Installation Script for Raspberry Pi
#!/bin/bash
################################################################################
#
# This script automates the installation of the UniFi controller software on the
# Raspberry Pi.
#
# http://www.technologist.site/ubnt
#
################################################################################
@TechnologistAU
TechnologistAU / quake3.sh
Last active May 12, 2022 22:13
This script automates downloading, compiling, patching and running Quake 3 on the Raspberry Pi.
#!/bin/bash
################################################################################
#
# This script automates downloading, compiling, patching and running Quake 3 on
# the Raspberry Pi.
#
# This script is written and maintained by Chris Lowe.
#
# http://www.technologist.site
@TechnologistAU
TechnologistAU / wordpress-install.ps1
Last active January 15, 2019 10:57
WordPress Installation Script for Windows Server 2016 and Windows 10 (PowerShell)
<#
================================================================================
===== WordPress Installation Script for Windows Server 2016 and Windows 10 =====
================================================================================
#>
"`r`nWordPress Installation Script for Windows Server 2016 and Windows 10"
"===================================================================="
cd ~\Downloads
@TechnologistAU
TechnologistAU / Debian_Hyper-V.ps1
Last active January 3, 2018 05:29
Create a Hyper-V Virtual Machine suitable for running Debian
<#
.SYNOPSIS
Creates a Hyper-V Virtual Machine suitable for running Debian.
.DESCRIPTION
This PowerShell script creates a new Hyper-V Generation 2 Virtual Machine
that is suitable for installing and running Debian. The default hardware
configuration set by this script is as follows:
- 4 Processor Cores
- 2GB Static Memory