Skip to content

Instantly share code, notes, and snippets.

@BastienM
BastienM / nzb-stack.yml
Last active September 17, 2016 21:40
nzb toolbelt on docker, replace UID/GID with the user's whom launch the containers
version: '2'
services:
nzbget:
image: linuxserver/nzbget
restart: 'always'
container_name: nzbget
networks:
- nzbget-tier
@b0bbywan
b0bbywan / .gitlab-ci.yml
Created February 4, 2016 11:33
Build and Deploy a javascript app with Gitlab-Ci
image: node:argon
before_script:
- apt-get -qq update
- apt-get -qq install -y python2.7 python2.7-dev build-essential make gcc g++ libicu-dev
- npm -g install npm --silent
- "echo -e \"export default {CLIENT_ID: '$CLIENT_ID'}\" > app/scripts/settings.js"
- npm set progress=false
- npm install --silent
anonymous
anonymous / dnsupdater.py
Created October 3, 2015 16:15
#!/usr/bin/python3
import urllib.request
import socket
import sys
dns_key = 'YOURAPIKEYHERE'
dns_url = 'https://dynamicdns.park-your-domain.com/update'
dns_sub_domains = ['@', 'www', 'host1', 'host2']
dns_domain = 'you.com'
log_file = '/var/log/dnsUpdater'
@jacobblock
jacobblock / FreeNAS.md
Last active October 9, 2025 17:53
Ultimate FreeNAS Setup

FreeNAS

I started using FreeNAS in August 2013. It is fantastic piece of software and I have been really impressed by the upgrades just in the few months I've been using it. It looks like they recently went to a plugin system as of version 9 to make installing software easier for end users. I've ran into several issues related to plugins and user + group permissions so I decided to just use the available FreeBSD port system. After fiddling for a few days (now turned into months) I believe I have created something helpful for the community and anyone interested in picking up the port system. The sandbox nature of FreeNAS's jail system is especially helpful for playing around without having any consequence on your core system.

Here are straight-forward instructions to setting up a bunch of different software on FreeNAS. If you make a terrible error, just throw up another plugin sandbox and repeat.

ToC

@evanscottgray
evanscottgray / docker_kill.sh
Last active November 7, 2023 03:40
kill all docker containers at once...
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt