Skip to content

Instantly share code, notes, and snippets.

@TechnologistAU
TechnologistAU / yasdi.ini
Created Jan 21, 2019
Example for /etc/yasdi.ini
View 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 Jan 21, 2019
123Solar configuration file for nginx on Raspbian (Raspberry Pi)
View nginx.conf
##
# 123Solar configuration file for nginx on Raspbian (Raspberry Pi)
##
server {
listen 80;
listen [::]:80;
server_name _;
@TechnologistAU
TechnologistAU / msmtprc
Last active Jan 20, 2019
msmtp configuration template file
View msmtprc
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 Jan 20, 2019
123Solar & meterN configuration file for Nginx on Raspbian (Raspberry Pi)
View nginx.conf
##
# 123Solar & meterN configuration file for nginx on Raspbian (Raspberry Pi)
##
server {
listen 80;
listen [::]:80;
server_name _;
@TechnologistAU
TechnologistAU / unifi5-ubuntu.sh
Last active Jun 21, 2018
UniFi 5 Installation Script for Ubuntu
View unifi5-ubuntu.sh
#!/bin/bash
################################################################################
#
# This script automates the installation of the UniFi controller software on
# Ubuntu.
#
# http://www.technologist.site/ubnt
#
################################################################################
View dosbox.sh
#!/bin/bash
hardware_extra_dist=()
hardware_sources=()
gui_sources=()
################################################################################
#
# UpdateSources $1 $2 $3 $4 $5
#
@TechnologistAU
TechnologistAU / unifi.sh
Created Jan 10, 2018
UniFi 4 Installation Script for Raspberry Pi
View unifi.sh
#!/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 Jan 5, 2018
This script automates downloading, compiling, patching and running Quake 3 on the Raspberry Pi.
View quake3.sh
#!/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 Jan 15, 2019
WordPress Installation Script for Windows Server 2016 and Windows 10 (PowerShell)
View wordpress-install.ps1
<#
================================================================================
===== 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 Jan 3, 2018
Create a Hyper-V Virtual Machine suitable for running Debian
View Debian_Hyper-V.ps1
<#
.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