This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update | |
apt install -y nginx-full fcgiwrap apache2-utils openssl | |
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out certificate.crt -keyout certificate.key | |
# chown -R www-data:www-data /path/to/repos | |
# nginx -t | |
# service nginx restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import csv | |
import json | |
import sys | |
import os | |
filename = sys.argv[1] | |
with open(filename) as input: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 46b84175dfac14a92fd6bcf3b03bc3c3715ab6cb Mon Sep 17 00:00:00 2001 | |
From: nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | |
Date: Sat, 6 Mar 2010 21:47:30 +0000 | |
Subject: [PATCH] backport the commit from trunk: | |
Sun Feb 28 11:49:35 2010 NARUSE, Yui <[email protected]> | |
* openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0. | |
patched by Jeroen van Meeuwen at [ruby-core:25210] | |
fixed by Nobuyoshi Nakada [ruby-core:25238], | |
Hongli Lai [ruby-core:27417], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// leveldb compaction bug test | |
// | |
#include <cstdlib> | |
#include <ctime> | |
#include <iostream> | |
#include <deque> | |
#include <map> | |
#include <string> |