This repository is a Scala Play Framework application built with a strong functional core and rigorous testing practices.
- Play Framework application written in Scala
- Functional programming using Typelevel Cats and type classes
| blaff, acoin, furzy, trest, haugh, chary, wauve, dekle, askos, rifty, secos, derry, tylus, clite, croci, ribby, calli, gowan, iztle, holer, gaspy, ovist, awing, galop, bandy, stipe, genip, ditch, droit, fodda, sowel, gauzy, mulga, toise, pavan, wiser, cueca, quoin, forby, kinky, sparm, untin, muser, pinta, kneed, ducal, darac, awber, baron, unity, arado, wheep, minge, silex, balut, stosh, sclim, petre, arzun, cheki, kotal, ilima, glint, cairn, plasm, rebec, daric, levee, saily, belar, trasy, recce, penal, borty, swarm, banga, sully, stert, crine, nizam, xysti, doggy, adead, tepor, quave, chous, timon, astor, ocote, haggy, chaus, blair, taler, anigh, snary, drown, basos, jacko, jural, rooty, steer, acock, peasy, tanti, sawah, negro, aleak, royet, unlaw, chola, frush, tween, myron, gawby, enzym, kokan, jatha, kakar, podgy, foute, hajib, yoven, nurly, unsex, stull, cadew, rutin, epact, zokor, widow, widdy, cumbu, bolar, finis, joist, acred, metic, piked, lapon, gerah, enoil, refix, slour, pondy, durra, heaps, sw |
| import random | |
| from colorama import Fore, Style, init | |
| # Initialize colorama | |
| init(autoreset=True) | |
| class Card: | |
| def __init__(self, suit, rank): | |
| self.suit = suit | |
| self.rank = rank |
I'm putting together an "intro to bytecode" talk for jfokus in a couple of weeks and noticed an oddity that I don't have an explanation for. If i have a method like this:
public void someMethod() {
int local = 17;
local *= 18;
var name = "Iron Man";
name = "Tony Stark";
}| import java.util.Scanner; | |
| public class TicTacToe { | |
| private static char[][] board = new char[3][3]; | |
| private static char currentPlayer = 'X'; | |
| public static void main(String[] args) { | |
| initializeBoard(); | |
| playGame(); |
| import java.util.Arrays; | |
| public class C64Emulator { | |
| private static final int MEMORY_SIZE = 65536; // 64KB memory | |
| private byte[] memory = new byte[MEMORY_SIZE]; | |
| // 6502 CPU registers | |
| private int pc; // Program Counter | |
| private byte sp; // Stack Pointer |
| package com.evolutionnext.demo.virtualthreads; | |
| import java.io.BufferedReader; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.net.URI; | |
| import java.nio.charset.StandardCharsets; | |
| import java.util.Arrays; | |
| import java.util.concurrent.*; |
| package com.evolutionnext.demo.virtualthreads; | |
| import java.io.BufferedReader; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.net.URI; | |
| import java.nio.charset.StandardCharsets; | |
| import java.util.Arrays; | |
| import java.util.concurrent.*; |
| static class GroupBy<T, K> implements Gatherer<T, HashMap<K, List<T>>, Map.Entry<K, List<T>>> { | |
| private final Function<T, K> groupFunction; | |
| public GroupBy(Function<T, K> groupFunction) { | |
| this.groupFunction = groupFunction; | |
| } | |
| @Override | |
| public Supplier<HashMap<K, List<T>>> initializer() { |
| #!/bin/bash | |
| # Function to check a single git repository | |
| check_git_repo() { | |
| local dir=$1 | |
| cd "$dir" || return | |
| # Check for uncommitted changes | |
| uncommitted_changes=$(git status --porcelain) | |
| if [ ! -z "$uncommitted_changes" ]; then |