Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View unquietwiki's full-sized avatar

Michael Adams unquietwiki

View GitHub Profile
@unquietwiki
unquietwiki / build.cake
Created April 17, 2018 02:04
Example build.cake file for .NET Core 2.0
```csharp
// https://github.com/Microsoft/msbuild/issues/2532
// env var "MSBuildSDKsPath" needs to be set to the correct "sdks" subfolder
// Other refs: https://cakebuild.net/api/ & https://cakebuild.net/docs/fundamentals/asynchronous-tasks
using System.Threading;
using Cake.Common.Tools.DotNetCore;
using Cake.Common;
@unquietwiki
unquietwiki / confluence-Dockerfile
Created November 6, 2018 02:07
Dockerfile to use Atlassian Confluence
FROM blacklabelops/alpine
LABEL maintainer="Michael Adams, unquietwiki@gmail.com"
LABEL buildver="20181105.0"
# Requires https://github.com/blacklabelops/confluence/blob/master/docker-entrypoint.sh
# Reference images
# https://github.com/blacklabelops/confluence
# https://github.com/cptactionhank/docker-atlassian-confluence
# https://github.com/RenanPalmeira/docker-graalvm-alpine
@unquietwiki
unquietwiki / openwrt_uboot_mtd_espressobin.txt
Last active March 11, 2019 15:58
OpenWRT / u-boot / mtd / EspressoBin notes
=== Issues ===
http://espressobin.net/forums/topic/boot-behavior-of-the-switch-and-security/
=== U-Boot References ===
https://www.denx.de/wiki/U-Boot
http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide
http://etutorials.org/Linux+systems/embedded+linux+systems/Chapter+9.+Setting+Up+the+Bootloader/9.5+U-Boot/
@unquietwiki
unquietwiki / Starbound_FU_Server_Linux.txt
Last active March 26, 2019 16:05
Starbound + Frackin Universe Server on Linux (Debian/Ubuntu)
## Key References
- https://starbounder.org/Guide:LinuxServerSetup
- https://developer.valvesoftware.com/wiki/SteamCMD#Linux
- http://steamcommunity.com/sharedfiles/filedetails/?id=734496146&searchtext=Frackin+Universe
- https://github.com/sayterdarkwynd/FrackinUniverse
- https://developer.github.com/v3/repos/releases/#get-the-latest-release
- https://forum.studio-397.com/index.php?threads/how-to-getting-content-from-the-workshop-on-my-dedicated-server.58702/
- https://steamcommunity.com/sharedfiles/filedetails/?id=729480149
@unquietwiki
unquietwiki / host-file-antispam-opimized-may2019.txt
Created June 10, 2019 20:40
Modified StevenBlack host list
This file has been truncated, but you can view the full file.
# This hosts file is a merged collection of hosts from reputable sources,
# with a dash of crowd sourcing via Github
#
# Date: 24 May 2019 13:43:27 (UTC)
# Extensions added to this file: fakenews, gambling, porn, social
# Number of unique domains: 57,892
#
# Modified with IPv6 localhost by unquietwiki; 10 Jun 2019
#
# Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
@unquietwiki
unquietwiki / auto-maintain-service.txt
Created August 25, 2022 07:33
Auto-maintain on Debian/Ubuntu
/opt/auto-maintain.sh
#!/bin/bash
apt update
apt autoremove -y
apt upgrade -y
reboot
/etc/systemd/system/auto-maintain.timer
@unquietwiki
unquietwiki / upgrade_wiki.sh
Created December 27, 2023 03:43
wikijs update w/docker and postgres
#!/bin/sh
# NOTE: Docker documentation @ https://docs.requarks.io/install/docker
# NOTE: adjust network as needed; use "docker network ls" to help pick the correct one.
# Rebuild wiki.js instance
docker stop wiki
docker rm wiki
docker pull ghcr.io/requarks/wiki:2
@unquietwiki
unquietwiki / teamcity.service
Created April 22, 2024 02:47
Systemd service for TeamCity server
[Unit]
Description=TeamCity Server
After=network.target
[Service]
Type=forking
User=teamcity
Group=teamcity