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 July 26, 2024 15:05
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2023 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@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 June 21, 2024 11:40
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