Skip to content

Instantly share code, notes, and snippets.

View MrGraversen's full-sized avatar

Martin MrGraversen

View GitHub Profile
@MrGraversen
MrGraversen / PrimesApp.java
Created July 27, 2021 11:05
Java Prime Numbers (Educational)
import java.time.Duration;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import java.util.*;
import java.util.concurrent.Callable;
import java.util.function.Predicate;
import java.util.function.UnaryOperator;
import java.util.stream.IntStream;
public class PrimesApp {
@MrGraversen
MrGraversen / cloud-init-docker-etc.yaml
Last active October 21, 2024 11:25
Base cloud-init for security hardening, SSH, Docker, etc.
#cloud-config
package_update: true
manage_resolv_conf: true
resolv_conf:
nameservers:
- '8.8.8.8'
- '8.8.4.4'
- '1.1.1.1'

Keybase proof

I hereby claim:

  • I am MrGraversen on github.
  • I am mrgraversen (https://keybase.io/mrgraversen) on keybase.
  • I have a public key whose fingerprint is 7049 6615 97CB 63BA ED16 3317 85D9 2D70 9B3D 996C

To claim this, I am signing this object: