#OpenSSL cheat sheet This is a brief howto for socket programmers.
ex: 1024bits length key pair:
$> openssl genrsa -out myprivate.pem 1024
$> openssl rsa -in myprivate.pem -pubout -out mypublic.pem
#! /bin/sh | |
set -e | |
# This script originates from http://www.debian.org/mirror/anonftpsync | |
# CVS: cvs.debian.org:/cvs/webwml - webwml/english/mirror/anonftpsync | |
# Version: $Id: anonftpsync,v 1.43 2008-06-15 18:16:04 spaillar Exp $ | |
# Note: You MUST have rsync 2.6.4 or newer, which is available in sarge | |
# and all newer Debian releases, or at http://rsync.samba.org/ |
import argparse | |
import os | |
import boto3 | |
class S3MultipartUpload(object): | |
# AWS throws EntityTooSmall error for parts smaller than 5 MB | |
PART_MINIMUM = int(5e6) |
package main | |
import ( | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"io" | |
"math/big" | |
) |
#!/bin/bash | |
# Notes: | |
# | |
# For Debian build of dxvk and vkd3d-proton. | |
# | |
# 1. To build 64-bit and 32-bit dxvk: | |
# | |
# for bitness in 64 32; do project=dxvk bitness=$bitness dxvk_build.sh; done | |
# |
#!/bin/bash | |
# Builds Wine-staging | |
# Notes: | |
# 1. Targeted for usage inside a VM (use shared directory $HOME/mnt/vmshare between host and guest). | |
# 2. You'd need to separately push the result on the host to whatever location you want (like to /opt). | |
# 3. Place any manual patches in ${HOME}/build/patches | |
# 4. Override arch to something else if you aren't using Ryzen. | |
# |
#!/usr/bin/env python3 | |
# A simple script to build 64-bit and 32-bit Mesa and libdrm on amd64 Debian | |
# stable, Debian testing, Debian unstable, and possibly some Ubuntu versions | |
# with some tweaks. | |
# | |
# libdrm is build too, because often version right now in Debian sid and experimental | |
# is too old for current mesa git repo. Also it is nice to build debug | |
# versions of libdrm when troubleshooting some crashes and bugs. | |
# |
Follow these short instructions on how to compile Go for Apple Silicon (M1). From here on out, we may simply refer to it as the "ARM device".
This entire process should only take about 5-10 minutes, but please read through everything carefully, in order to avoid any potential issues along the way.
Note that at the time of writing this, Go was not yet officially available for Apple's ARM.
set firewall all-ping 'enable' | |
set firewall broadcast-ping 'disable' | |
set firewall config-trap 'disable' | |
set firewall group network-group inside-nets network '192.168.99.0/24' | |
set firewall group network-group inside-nets network '10.31.74.0/28' | |
set firewall ipv6-receive-redirects 'disable' | |
set firewall ipv6-src-route 'disable' | |
set firewall ip-src-route 'disable' | |
set firewall log-martians 'enable' | |
set firewall receive-redirects 'disable' |