% HELLO(1) Version 1.0 | Frivolous "Hello World" Documentation
hello — prints Hello, World!
/** | |
* Utility class to handle checked exceptions in lambdas. | |
* <p> | |
* From <a href="http://stackoverflow.com/questions/27644361/how-can-i-throw-checked-exceptions-from-inside-java-8-streams">How can I throw CHECKED exceptions from inside Java 8 streams?</a>. | |
* This class helps to handle checked exceptions with lambdas. Example, with Class.forName method, which throws checked exceptions: | |
* </p> | |
* <pre> | |
* Stream.of("java.lang.Object", "java.lang.Integer", "java.lang.String") | |
* .map(rethrowFunction(Class::forName)) | |
* .collect(Collectors.toList()); |
import org.junit.contrib.java.lang.system.internal.CheckExitCalled; | |
import org.junit.contrib.java.lang.system.internal.NoExitSecurityManager; | |
import org.junit.jupiter.api.extension.*; | |
import org.junit.jupiter.api.extension.ExtensionContext.Namespace; | |
import org.junit.jupiter.api.extension.ExtensionContext.Store; | |
import org.junit.platform.commons.support.ReflectionSupport; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.Target; |
These are manual instructions on enabling SSH access on your Steam Deck, adding public key authentication, and removing the need for a sudo
password for the main user (deck
).
This gist assumes the following:
ssh
, ssh-keygen
, and ssh-copy-id
NOTE: @crackelf on reddit mentions that steamOS updates blow away everything other than /home
, which may have the following effects:
systemd
config for sshd.service
, which would prevent the service from automatically starting on bootsudoers.d
config, which would reenable passwords for sudo