Skip to content

Instantly share code, notes, and snippets.

View JoshCode's full-sized avatar

Joshua Slik JoshCode

View GitHub Profile
@JoshCode
JoshCode / .omp-theme-joshcode.omp.yaml
Last active May 8, 2023 17:32
Windows PowerShell 7 customisation
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
final_space: true
version: 2
blocks:
- type: prompt
alignment: left
segments:
- type: session
style: diamond
import java.util.ArrayList;
import java.util.List;
public class Launcher {
public static void main(String[] args) {
List<String> rolls = roll();
if (rolls.contains("error")) {
System.out.println("ERROR!");
} else {
import java.io.*;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* @author <a href="http://www.joshuaslik.nl/" target="_blank">Joshua Slik</a>
*/
public class Main {