Skip to content

Instantly share code, notes, and snippets.

View golharam's full-sized avatar

Ryan Golhar golharam

View GitHub Profile
@golharam
golharam / README.md
Last active December 18, 2023 19:42
Raspberry PI 4 Ubiquiti Network Controller
  1. Set up Raspberry PI 4 64-bite Lite OS
  2. Disable Wifi & Bluetooth
sudo vi /boot/config.txt

Under the section "[all]", add:

dtoverlay=disable-wifi
dtoverlay=disable-bt

Raspberry Setup APC UPS

What is this?
Raspberry Pi 4 OS (Raspbian) install apcupsd Installation guide

What is apcupsd?
apcupsd is a open source UPS mangement and controlling software, it allows the computer to interact with APC UPSes.

1. Install Raspberry Pi OS Lite (64-bit) on Raspberry Pi 4

@golharam
golharam / README.md
Created November 8, 2019 13:16 — forked from asadharis/README.md
How to setup a single-machine (Sun) Grid Engine installation for unit tests on Travis-CI

Setting up a SGE cluster on a single Amazon EC2 machine

The gist here provides a script to automate the process of installing Sun Grid Engine (SGE) on a single EC2 machine.

Motivation

SGE is a job scheduler for a computing cluster. This usually involves a cluster of multiple machines. However for many applications we don't need a massive computing cluster and a cluster of 8-30 nodes would be sufficient. In this tutorial we set-up SGE on a single amazon EC2 machine. The reasons for doing so are as follows:

  1. Automation: Setting-up a cluster with SGE is fairly involved as it requires multiple machines communicating with each other and having some shared memory. A single machine with multiple cores is already a simple cluster where the memory is shared across cores.
  2. Moderate Size: Amazon EC2 instances provide a variety of computing options with the number of cores ranging from 1 to 128.
  3. Cost: The On-Demand price structure of AWS makes this a relatively cheap option. Further cost redu