Skip to content

Instantly share code, notes, and snippets.

View ebruning's full-sized avatar

Ethan Bruning ebruning

View GitHub Profile

Sublime Text Setup

NOTE: Your mileage may vary, depending on project, and/or perhaps you prefer a different IDE altogether.

The principles here are what we're shooting for, not necessarily that everything be used verbatim.

In the interest of automating code quality, and cutting down on the necessity for manual code reviews, we strongly urge each front-end developer to install these Sublime Text packages.

  • Babel
  • SublimeLinter
@jacobtomlinson
jacobtomlinson / freenas-disk-temp.py
Last active August 21, 2019 16:06
Get FreeNAS system temperatures in InfluxDB format
#!/usr/bin/env python
import os
import re
import subprocess
def cpuTemp(hostname):
sysctl = subprocess.Popen(['/sbin/sysctl', '-a'],stdout=subprocess.PIPE)
while True:
line = sysctl.stdout.readline()
@ebruning
ebruning / docker-compose.yml
Last active December 5, 2016 19:26
nas build
# docker-compose up -d
sabnzbd:
image: "sabnzbd/sabnzbd"
container_name: "sabnzbd"
volumes:
- "/opt/appdata/sabnzbd:/datadir"
- "/mnt/volume01/movies:/movies"
- "/mnt/volume01/downloads:/downloads"
ports:
@styblope
styblope / docker-api-port.md
Last active December 30, 2025 07:23
Enable TCP port 2375 for external connection to Docker

Enable TCP port 2375 for external connection to Docker

See this issue.
Docker best practise to Control and configure Docker with systemd.

  1. Create daemon.json file in /etc/docker:

     {"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}