Skip to content

Instantly share code, notes, and snippets.

View stevenlafl's full-sized avatar
🏠
Working from home

Steven Linn stevenlafl

🏠
Working from home
View GitHub Profile
@CC1119
CC1119 / enterprise_token.rb
Last active July 17, 2024 07:01 — 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.
@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.
@xiCO2k
xiCO2k / nginx-rtmp-stream-multi-debian-18.md
Last active May 30, 2024 01:53
RTMP Server to Stream to Facebook, Youtube, Instagram
apt install nginx
apt install libnginx-mod-rtmp
apt install ffmpeg
apt install stunnel4

vim /etc/nginx/nginx.conf

  • Remove http {} and mail {}
@izikeros
izikeros / convert_ssh2_key_to_openssh.sh
Last active July 17, 2024 22:38
[convert ssh2 public key to openssh] Convert ssh2 public key to openssh format and add to authorized_keys #ssh #key
# if received key in format:
#—- BEGIN SSH2 PUBLIC KEY —-
#
#Comment: "rsa-key-20160402"
#AAAAB3NzaC1yc2EAAAABJQAAAgEAiL0jjDdFqK/kYThqKt7THrjABTPWvXmB3URI
#
# and you want to add it to authorized keys
# from: https://tutorialinux.com/convert-ssh2-openssh/
ssh-keygen -i -f coworker.pub >> ~/.ssh/authorized_keys
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active July 30, 2024 16:44
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }