Generation of a self-signed SSL certificate involves a simple 3-step procedure:
STEP 1: Create the server private key
openssl genrsa -out cert.key 2048STEP 2: Create the certificate signing request (CSR)
openssl req -new -key cert.key -out cert.csr| ############ 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 |
| # npm using https for git | |
| git config --global url."https://github.com/".insteadOf git@github.com: | |
| git config --global url."https://".insteadOf git:// | |
| # npm using git for https | |
| git config --global url."git@github.com:".insteadOf https://github.com/ | |
| git config --global url."git://".insteadOf https:// |
| [Unit] | |
| Description=Gpio daemon | |
| [Service] | |
| ExecStart=/usr/local/bin/pigpiod | |
| Type=forking | |
| [Install] | |
| WantedBy=multi-user.target |
With Ruby 1.8 (default version on MacOS) :
sudo gem install json
curl -s https://api.github.com/orgs/[ORGANIZATION]/repos | ruby -rubygems -e 'require “json”; JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["ssh_url"]} ]}'
With Ruby 1.9+, the json library is by default thus you just use :
| # http proxy | |
| git config --global https.proxy http://127.0.0.1:1088 | |
| git config --global https.proxy http://127.0.0.1:1088 | |
| # socks5 proxy | |
| git config --global http.proxy socks5://127.0.0.1:1080 | |
| git config --global https.proxy socks5://127.0.0.1:1080 | |
| # unset proxy | |
| git config --global --unset http.proxy |
| static uint32_t seed = 0; | |
| static void srand32(uint32_t s) { | |
| seed = s; | |
| } | |
| static uint32_t rand32(void) { | |
| seed = (uint32_t)(((uint64_t)1664525 * seed) + 1013904223); |
| # On a MAC, use: | |
| nm *.o | c++filt |
| # Pack the nodejs application using `pkg` (https://github.com/zeit/pkg) | |
| # dependencies: rimraf, cpx and pkg | |
| # > npm i rimraf cpx pkg -D | |
| .PHONY: init clean build | |
| OS := $(shell uname) | |
| ARCH := $(shell uname -p) | |
| all: dist |