Skip to content

Instantly share code, notes, and snippets.

@Threnklyn
Threnklyn / enterprise_token.rb
Created July 8, 2022 08:58 — 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-2020 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or

Keybase proof

I hereby claim:

  • I am threnklyn on github.
  • I am kuchenm0nster (https://keybase.io/kuchenm0nster) on keybase.
  • I have a public key ASBF7xxxHknjLw_ZobCJbzPR_vxAsGjiPJQL5f4aLW-p4Ao

To claim this, I am signing this object:

@Threnklyn
Threnklyn / share.sh
Created November 20, 2018 15:15
One Time Download with netcat
#!/bin/bash
arg=("$@")
file=${arg[0]}
port=${arg[1]}
if [[ -n "$file" ]] && [[ -n "$port" ]]; then
{ echo -ne "HTTP/1.0 200 OK\r\nContent-Disposition: attachment; filename=\"$file\"\r\nContent-Length: $(wc -c < "$file")\r\n\r\n"; cat "$file"; } | nc -l $port
else
echo "Usage: share.sh <file> <port>"
@Threnklyn
Threnklyn / boxstarter.ps1
Last active July 26, 2019 12:46 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:

Keybase proof

I hereby claim:

  • I am Kuchenm0nster on github.
  • I am kuchenm0nster (https://keybase.io/kuchenm0nster) on keybase.
  • I have a public key whose fingerprint is 1974 A767 1EAB E584 1DA7 5F96 79BC 4261 D7F6 38D4

To claim this, I am signing this object: