Skip to content

Instantly share code, notes, and snippets.

View nekoprog's full-sized avatar
:octocat:
I may be slow to respond.

Neko Prog nekoprog

:octocat:
I may be slow to respond.
View GitHub Profile
@nekoprog
nekoprog / enterprise_token.rb
Created January 21, 2026 04:38 — forked from markasoftware/enterprise_token.rb
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 ################
@nekoprog
nekoprog / scrcpy_webcam.markdown
Created October 17, 2023 05:08 — forked from cadadr/scrcpy_webcam.markdown
Use android phone as webcam using scrcpy, OpenCamera, and v4l2-loopback

Download Android SDK and put it under a known location. Get the appropriate commandlinetools package from this page. Then, extract it under ~/Android/.

mkdir -p ~/Android/Sdk
cd ~/Android
cp ~/Downloads/commandlinetools-linux-6858069_latest.zip .
unzip commandlinetools-linux-6858069_latest.zip