Skip to content

Instantly share code, notes, and snippets.

# Start project zomboid on synology thanks to docker container
# ssh to your synology folder where you want to upload pzserver
mkdir server-data
mkdir server-files
sudo chown 1000:1000 server-data
sudo chown 1000:1000 server-files
# Start here hazzie/lgsmbase:latest manually in Synology Docker (operation not working from terminal, don't know why..)
@downthecrop
downthecrop / run-unix.sh
Created November 22, 2020 20:57
rs2006sp Linux/macOS start script
SOURCE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$SOURCE/Server" && java -Xmx1024m -jar Server.jar &
cd "$SOURCE/Client" && java -jar Client.jar &
@markasoftware
markasoftware / enterprise_token.rb
Last active December 14, 2025 09:36
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@GeoffreyCoulaud
GeoffreyCoulaud / manjaro-t100ta.md
Last active August 7, 2023 10:22
How to install 64bit Manjaro linux on the Asus t100ta

How to setup Manjaro on the Asus t100ta

Based on this tutorial by jbMacAZ on forums.manjaro.org
Made on 26/05/2020 for the Asus t100ta and Manjaro 20.0.1
These instructions should work for any 32bit EFI / 64bit CPU system, but I only tested it on the Asus t100ta, use at your own risk.
I tested the community editions for Budgie, Gnome and LXQt, but this tutorial should be good for any 64bit Manjaro edition.

My setup

I'm using vanilla Ubuntu 20.04, you will need gparted and unetbootin for this tutorial.
You will also need a 4GB or more USB stick which data will be wiped.
If like me your t100ta dock is broken, you can charge the computer normally until full, then use the charging micro-usb port to have an OTG cable + USB hub to connect the USB stick, a keyboard and a mouse.

@BenjaminPoncet
BenjaminPoncet / ffmpeg-wrapper
Last active November 24, 2025 08:38
Synology VideoStation ffmpeg wrapper with DTS, EAC3 and TrueHD support. This project is no longer maintained: Please see the following projects: https://github.com/darknebular/Wrapper_VideoStation/ - https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher
#!/bin/bash
rev="12"
_log(){
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log
}
_log_para(){
echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log
@breeze1990
breeze1990 / import.py
Last active September 14, 2022 04:17
Python: recursively import modules under a folder. https://stackoverflow.com/a/25562415/4107682
import importlib
import pkgutil
def import_submodules(package, recursive=True):
""" Import all submodules of a module, recursively, including subpackages
:param recursive: bool
:param package: package (name or actual module)
:type package: str | module