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 | |
################################################################################ | |
# | |
# 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.lowefamily.com.au |
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
<# | |
================================================================================ | |
===== WordPress Installation Script for Windows Server 2016 and Windows 10 ===== | |
================================================================================ | |
#> | |
"`r`nWordPress Installation Script for Windows Server 2016 and Windows 10" | |
"====================================================================" | |
cd ~\Downloads |
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
<# | |
.SYNOPSIS | |
Creates a Hyper-V Virtual Machine suitable for running Ubuntu Server. | |
.DESCRIPTION | |
This PowerShell script creates a new Hyper-V Generation 2 Virtual Machine | |
that is suitable for installing and running Ubuntu Server. The default | |
hardware configuration set by this script is as follows: | |
- 4 Processor Cores | |
- 1GB Dynamic Memory (512MB to 1TB) | |
- 127GB Dynamic Hard Disk |
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
<# | |
.SYNOPSIS | |
Creates a Hyper-V Virtual Machine suitable for running Raspbian x86. | |
.DESCRIPTION | |
This PowerShell script creates a new Hyper-V Generation 2 Virtual Machine | |
that is suitable for installing and running Raspbian x86. The default | |
hardware configuration set by this script is as follows: | |
- 4 Processor Cores | |
- 896MB Static Memory | |
- 128MB RemoteFX 3D Video Adapter |
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 | |
DEV=sda | |
parted /dev/$DEV --script mklabel gpt | |
parted /dev/$DEV --script mkpart persistence 0% 100% | |
mkfs.ext4 /dev/${DEV}1 | |
mkdir -p /media/pi/persistence | |
mount /dev/${DEV}1 /media/pi/persistence | |
chown pi /media/pi/persistence | |
echo / union > /media/pi/persistence/persistence.conf |
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 | |
PATH="$PATH:/usr/bin/" | |
DISPLAY="1" | |
DEPTH="16" | |
GEOMETRY="1920x1080" | |
OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}" | |
case "$1" in | |
start) |
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
[Unit] | |
Description=VNC Server | |
[Service] | |
Type=forking | |
ExecStart=/usr/local/bin/myvncserver start | |
ExecStop=/usr/local/bin/myvncserver stop | |
ExecReload=/usr/local/bin/myvncserver restart | |
User=pi |
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 | |
################################################################################ | |
# | |
# This script automates the installation of the UniFi controller software on | |
# Ubuntu. | |
# | |
# http://www.technologist.site/ubnt | |
# | |
################################################################################ |