Skip to content

Instantly share code, notes, and snippets.

View pepyta's full-sized avatar
⚔️
Working on something big

Gál Péter pepyta

⚔️
Working on something big
  • Hungary
View GitHub Profile
[
{
"title": "Batman",
"description": "Betmen Gothem cityben adót csal",
"year": 2008
},
{
"title": "Batman visszatér",
"description": "Betmen visszajön Gothembe és szétboxol pár rosszfiút",
"year": 2011
@pepyta
pepyta / lzw.java
Created September 21, 2022 15:35
LZW Encoding and decoding algorithm
import java.util.Set;
import java.util.HashSet;
import java.util.List;
import java.io.Console;
import java.util.ArrayList;
import java.util.EmptyStackException;
public class Lzw {
public static void main(String[] args) {
if(args.length == 0) throw new Error("Pass the message as a paramter!");
@pepyta
pepyta / improg1.c
Last active September 7, 2021 11:52
Az első imperatív programozás óra feladataiank a megoldása
#include <stdio.h>
/*
JEGYZETEK
A fordítás fájlról fájlra történik, nem egybe önt mindent.
A # jelzésű dolgok azok cask makrók. (pl. include)
%d – egesz szam
%f – tort szam