Skip to content

Instantly share code, notes, and snippets.

View Taubin's full-sized avatar

Taubin

View GitHub Profile

Fix for AMD Series 1 processors

Add the disable cstate in the go file

/usr/local/sbin/zenstates --c6-disable

So the go file would look like this:

#!/bin/bash
#Start the Management Utility
Removing syncthing
Recreating c396deb4b344_syncthing ... error
ERROR: for c396deb4b344_syncthing Cannot start service syncthing: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: write sysctl key net.core.rmem_max: open /proc/sys/net/core/rmem_max: no such file or directory: unknown
ERROR: for syncthing Cannot start service syncthing: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: write sysctl key net.core.rmem_max: open /proc/sys/net/core/rmem_max: no such file or directory: unknown
ERROR: Encountered errors while bringing up the project.
@Taubin
Taubin / docker-compose.yml
Created May 6, 2021 20:30
syncthing docker-compose
---
version: "2.1"
services:
syncthing:
image: ghcr.io/linuxserver/syncthing
container_name: syncthing
hostname: syncthing #optional
environment:
- PUID=1000
- PGID=1000
@Taubin
Taubin / log.log
Created May 3, 2021 21:56
enigmatica-6-docker
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 3 1000 1000 42 May 3 21:50 /data',
[init] Resolved version given LATEST into 1.16.5,
[init] Resolving type given CURSEFORGE,
[init] Looking for Feed-The-Beast / CurseForge server modpack.,
[init] Unpacking FTB server modpack /modpacks/Enigmatica6-0.4.10.zip ...,
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
# SPY Server Configuration File
# TCP Listener
#
bind_host = 0.0.0.0
bind_port = 5555-6666
# List Server in Airspy Directory
#
list_in_directory = 0
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@Taubin
Taubin / .env
Created January 13, 2020 21:02
Current Working Docker
MY_DOMAIN=[REDACTED]
DOMAINNAME=[REDACTED]
DEFAULT_NETWORK=traefik_net
CF_API_EMAIL=[REDACTED]
CF_API_KEY=[REDACTED]
HTTP_USERNAME=[REDACTED]
HTTP_PASSWORD=[REDACTED]
@Taubin
Taubin / traefik.yml
Created January 9, 2020 22:06
Traefik Docker
traefik:
image: "traefik:v2.1"
container_name: "traefik"
hostname: "traefik"
restart: unless-stopped
env_file:
- .env
ports:
- "80:80"
- "443:443"
version: "3.6"
services:
whoami:
image: "containous/whoami"
container_name: "whoami"
hostname: "whoami"
labels:
- "traefik.enable=true"
{"lastUpload":"2020-01-17T22:30:53.137Z","extensionVersion":"v3.4.3"}