Skip to content

Instantly share code, notes, and snippets.

@planetceres
planetceres / RESET_USB_KERNEL_MODULE.md
Last active October 21, 2025 08:11
Restart/reset USB kernel module in Ubuntu 18.04 without rebooting
@markasoftware
markasoftware / enterprise_token.rb
Last active October 28, 2025 16:37
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 ################
@simonmikkelsen
simonmikkelsen / getimg.sh
Created January 26, 2018 10:53
Download your own image from Mapillary
#!/bin/bash
if [ $# -lt 3 ]
then
echo "Usage: $0 email password imageKey"
exit
fi
email="$1"
shift
pass="$1"