Skip to content

Instantly share code, notes, and snippets.

View nodomw's full-sized avatar
💭
🦁🎤

winterino hakerino nodomw

💭
🦁🎤
View GitHub Profile
@nodomw
nodomw / kutya.rs
Last active October 19, 2022 11:08
informatikai alapvizsga feladat gyakorlás
use std::io;
struct Kutya {
name: String,
age: i32,
breed: String,
owner: String,
}
fn main() {
@nodomw
nodomw / calculator.ts
Last active October 6, 2022 18:58
deno calculator
const modes = {
'addition': (a: number, b: number) => a + b,
'subtraction': (a: number, b: number) => a - b,
'multiplication': (a: number, b: number) => a * b,
'division': (a: number, b: number) => a / b,
};
const mode = prompt(
`Welcome to the calculator!\nPlease select a mode (${Object.keys(modes)}:`,
'addition',
This file has been truncated, but you can view the full file.
syn.run_secure_lua("RvxWUA0bkYB2DUxxBHDXbERkqJ0s09qP7JiDiN/yx57ZFxkc/7Lxkk0RK27pWGc/JimslmdgIVHL7XagfySqwx0spuBRRZqqpD3ZXPD9swHG+zdbsT6j4Ix1B2rbkI6qyPAyCJv3L5dmBvDiREMk9GfnSBU/JGl5siE7AzYGIOJAVewtVOozEEcw3yNVc7cOcgq0779Y9z7FcoyAkysXVjlQI3ZwMnIDsDCPkdBc/vpVtj6eU10PvFr1pri/qXYt2/2WBbfbFOvWrcfm44YRb0jkJn0cYyf9dD9PuVHmE1pTCqwOZdCgyiOlEJGIlQwlfgS3Py9diGQcun3PA099oOeHNwNB/IOLhF+XJMl1C+CF8WurJTMbVeMP2lU0zBJKo3VUls5tk7uVJzmFZelJfb4BZqr5bkA8GN/scbGrqfNXOHKxGXjuGPT3tODLIC828KTIxpK15Oz0jhq4dGjnw4S/rBQ0dCTB4QPJDx0hFqrgYfWjFM8a+n7T1kkE2qpw9OTMcEe/eCcwDiVcdHjs7wwdu4zQD1ls4XR1Mcvqt1WgQcdeuo4/DVREK1ESmJu3sQBlJirk+a8DGsfHM1byQydkVqyIOcxrUeaBno7Klc1EF4iA0Yfn/jhlkr+j9gpjcir9fX3YjCkk4/zLOTUdNfB/SVFy/sr/tCiANMXGyz8W0xf5s1KSWF/2g5fijPlO78yTwHt0jFazsRxWwxXLYWIko38FnQvp4B2RWxN3O4UVAMpMAjht+7Jv6rnQDI4Q+ZvZ3peB4ZGf6NEDV9YkRsUzARN9XM9or1ZZlb91ovi6nZNT0J4FIRQxrQPNVEt3c7BnVaT+CmXNXVBMKRPCf4cmzyWzHdC4MiiCiCXPxTPg5num2xK6QmCu4bHeI77L4DWxtNqA+7SmiwLQznLKmJvAayKbfi7jzmdhGjwG9KyZ1nABLI6O1PR8bNwlquOvL9LatVZJ/qAtJ9X0wsFfXFA0yvPD+vI6Zk8Eo/PtrcDB
@nodomw
nodomw / mastermind.py
Last active November 11, 2021 16:40
Beugró feladatat Halácsy Péter programjához
import random
colors = ["red", "green", "blue", "purple", "yellow", "orange", "black", "white", "brown"]
code = random.sample(colors, 4)
guess = []
print("enter colors (4 max, press enter after an entry)")
print(code)
for i in range(0, 4):
i = str(input("> "))
guess.append(i)
print(set(code).intersection(guess))
.mtk11 {
text-shadow: 0 0 10px, 0 0 22px, 0 0 2px;
}
.mtk12 {
text-shadow: 0 0 15px, 0 0 2px;
}
local DText = Drawing.new("Text")
DText.Font = 3
DText.Visible = true
DText.Position = Vector2.new(1000, 1000)
DText.Center = true
DText.Color = Color3.fromRGB(0, 255, 0)
DText.Size = 64
DText.Outline = true
DText.OutlineColor = Color3.fromRGB(0, 0, 0)
DText.Text = "Rikter | User"