Skip to content

Instantly share code, notes, and snippets.

@gomszab
gomszab / setup.sh
Last active October 31, 2025 10:34
#!/usr/bin/env bash
set -e
# Ensure we’re in a Git repo
if [ ! -d .git ]; then
echo "❌ A scriptet csakis git repo mappaban futtathatod"
exit 1
fi
# Detect OS
@gomszab
gomszab / scripts.js
Created December 12, 2024 20:45
Table (remaster)
const array = [
{
firstname1: 'Géza',
firstname2: 'Ferenc',
lastname: 'Kocsis',
},
{
firstname1: 'Mária',
firstname2: 'Júlia',
lastname: 'Horváth',
@gomszab
gomszab / classes.js
Created December 5, 2024 21:08
santa factory
class Factory{
// TODO 1, 2, 3, 4, 9, 10
}
class Companion{
// TODO 5
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Table</title>
</head>
<body>
<table>
<tr>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Irodalom</title>
</head>
<body>
<table>
<thead>
<tr>
<th>Szerző neve</th>
@gomszab
gomszab / uralkodok.html
Created November 3, 2024 18:57
uralkodok
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Magyar Uralkodók Táblázata</title>
</head>
<body>
let array = [
{
firstname1: 'Géza',
firstname2: 'Ferenc',
lastname: 'Kocsis',
married: true,
pet: 'kutya'
},
{
firstname1: 'Mária',
<form id="form" action="/">
<div class="field">
<label for="lastname">Vezetéknév</label>
<input name="lastname" id="lastname">
<div class="error"></div>
const array = [
{
firstname1: 'Géza',
firstname2: 'Ferenc',
lastname: 'Kocsis'
},
{
firstname1: 'Mária',
firstname2: 'Júlia',
lastname: 'Horváth'
<!DOCTYPE html>
<html>
<head>
<title>Table</title>
</head>
<body>
<table>
<tr>
<td>Vezeteknev</td>
<td>keresztnev</td>