Skip to content

Instantly share code, notes, and snippets.

@3115fcfc-2c0b-4076-927f-ae6531c76061
3115fcfc-2c0b-4076-927f-ae6531c76061 / enterprise_token.rb
Last active May 22, 2025 13:42 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ Until Version 15.5.1 ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ From Version 16.0.0 ################
############ Add this line in docker-compose file. This needs to go in the same volumes section as ################
############ the /data volumes. NOT in the /db part. ################
############ volumes: ################
############ - /mnt/data/openproject/enterprise_token.rb:/app/app/models/enterprise_token.rb:ro ################
############ For both ################
############ also be sure to RESTART OpenProject after replacing the file.
@CC1119
CC1119 / enterprise_token.rb
Last active May 10, 2025 05:16 — forked from markasoftware/enterprise_token.rb
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-2024 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.
@avoidwork
avoidwork / gist:0c5170900146c936b29b5e0de4c87921
Last active March 25, 2025 23:55
Debian 12 nvidia drivers (apt/sources.list)
# Disable SecureBoot in UEFI for kernel module to load
# add options to primary
non-free contrib
# add source
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
@hkfuertes
hkfuertes / proxmox_alpine_lxc_ollama_igpu.md
Last active April 25, 2025 15:13
Alpine LXC Container with iGPU Ollama Server on Proxmox

How to setup an LXC container with AMD iGPU (Ryzen 7 5800H) passthrougth for Ollama in Proxmox

Proxmox

First we need to install the Alpine LXC, the easiest way is to use Proxmox Helper scripts: https://tteck.github.io/Proxmox/

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/alpine.sh)"

I would install in "advance" mode and be generous with the resources (8-16 cores, 16G ram, 128GB disk)

@MrKelpy
MrKelpy / OpenMAINT-2.3-U20.04-InstallationGuide.md
Last active May 22, 2025 07:23
Installation Guide for openMAINT 2.3 (CMDBuild 3.4.1) in Ubuntu 20.04 LTS

Introduction

OpenMAINT is notoriously hard to install and set up, so I've decided to go ahead and document the steps I took to install it, alongside every bit of information for others that might find it useful.

Important: Not only is openMAINT hard to install, it's also hard to understand. I've created a simple "All you need to know" guide to openMAINT that can be found here.


Acknowledgements, Necessities, etc

⠀⠀⠀⠀If you're reading this wondering why docker can't simply be used to make our life easier... go ahead and try it for yourself. If you're one of the lucky ones who got it working, then great! If not, accept it, relate to us and keep reading this guide. If you're still a bit skeptic about it, I have some notes about docker at the end of the guide, so go take a look.
⠀⠀⠀⠀Either way, we'r

@markasoftware
markasoftware / enterprise_token.rb
Last active May 23, 2025 06:32
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 ################
@mortenege
mortenege / websockets_using_apache_reverse_proxy.md
Created March 4, 2018 07:10
WebSockets using Apache Reverse Proxy

WebSockets using Apache Reverse Proxy

This post will cover how to configure our already running server [1, 2] to proxy websocket connections to a backend of our choice. We will continue using Vagrant to provision the guest machine.

Step 1

Clone or download a simple websocket server into our vagrantfolder (and extract if an archive).

Step 2

Modify 001-mysite.conf to include our websocket redirect.