Skip to content

Instantly share code, notes, and snippets.

View wiirios's full-sized avatar
🏁

William Rios wiirios

🏁
View GitHub Profile
public class HelloWorldAnonymousClasses {
interface HelloWorld {
public void greet();
public void greetSomeone(String someone);
}
public void sayHello() {
class EnglishGreeting implements HelloWorld {
/* this code is from the game Prelude of the Chambered ! */
package com.mojang.escape.entities;
import java.util.*;
import com.mojang.escape.gui.Sprite;
import com.mojang.escape.level.Level;
public class Entity {
public class SimpleThreads {
// Display a message, preceded by
// the name of the current thread
static void threadMessage(String message) {
String threadName =
Thread.currentThread().getName();
System.out.format("%s: %s%n",
threadName,
message);
@wiirios
wiirios / conventional-commits-cheatsheet.md
Created November 29, 2024 01:01 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@wiirios
wiirios / ArvoreBinariaApp.java
Created November 28, 2024 14:28 — forked from divanibarbosa/ArvoreBinariaApp.java
Arvore Binaria em Java
/* Criado por: profa. Divani Barbosa Gavinier
Curriculo Lattes: http://lattes.cnpq.br/8503400830635447
[email protected]
*/
import java.io.*;
import java.util.*;
class No {
public long item;
public No dir;