- https://myapp1.com => OK
- https://www.myapp1.com/ => OK
- http://myapp1.com/ => OK
- http://www.myapp1.com/ => OK
- https://mystaticsite.com => OK
package com.velocitypowered.proxy.protocol.util; | |
import com.google.common.io.ByteArrayDataInput; | |
import io.netty.buffer.ByteBuf; | |
import java.io.DataInput; | |
import java.io.DataInputStream; | |
import java.io.IOException; | |
/** | |
* A wrapper around {@link io.netty.buffer.ByteBuf} that implements the exception-free |
func getFlags(desiredHeap int64) string { | |
asKb := desiredHeap / units.KiB | |
// the following is specific to OpenJ9 and is based on Aikar's flags: | |
// https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/ | |
// The equivalent of -XX:G1NewSizePercent/-XX:G1MaxNewSizePercent in OpenJ9's gencon policy is -Xmns/-Xmnx. | |
// We have to manually compute these values ourselves. By default, the gencon policy assumes 25% of Xms, which is | |
// simply not sufficient for Minecraft (and Aikar can tell you). | |
xmns := asKb / 2 |
This will only work with OpenPGP v2.0 or newer or with PIV cards. Your existing ssh key has to be in a format that is supported by your opengpg card. For example my the OpenPGP V2.1 Card from FLOSS Shop supports only 2048 bit RSA keys. RSA exponent should be 65537, Putty and old OpenSSH releases use different expnent that for example Yubikey does not support.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <memory.h> | |
int* Bubble(int length, int* array) { | |
// Allocate new array and clone it | |
size_t copy_size = sizeof(int) * length; | |
int *array_copy = malloc(copy_size); | |
memcpy(array_copy, array, copy_size); |
; | |
; the "monitor ROM" of an apple 1 fit in one page (256 bytes). | |
; | |
; this is my attempt to take the disassembled code, give names to the | |
; variables and routines, and try to document how it worked. | |
; | |
; | |
; an apple 1 had 8KB of RAM (more, if you hacked on the motherboard), and a | |
; peripheral chip that drove the keyboard and video. the video was run by a | |
; side processor that could treat the display as an append-only terminal that |
#!/usr/bin/env python3 | |
""" | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors |
This short document will show how to turn systemd-nspawn into a usable containeration system.
Those instructions here should work under Arch Linux and Debian 10 (Buster)