This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int handleExit(); | |
int main() | |
{ | |
int year; | |
cout << "Hellooo! Lets do this...\nYear:"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from os import system | |
system("eject cdrom") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Just playing around with Sense Hat Emulator on Raspberry Pi 4 (ruuning on VM) | |
# 1/2021 | |
from sense_emu import SenseHat | |
from time import sleep | |
sdev = SenseHat() | |
sdev.lop_light = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python3 | |
# 2021 | |
import tkinter as tk | |
window = tk.Tk() | |
frame1 = tk.Frame(master=window, width=90, height=200, bg="blue") | |
frame1.pack(fill=tk.Y, side=tk.LEFT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Python 3 - Rainbow Flag - 5/2021 | |
import tkinter as tk | |
window = tk.Tk() | |
window.geometry(f"{90*12}x{120*6}") | |
window.title("Rainbow Flag") | |
frame1 = tk.Frame(master=window, width=90, height=120, bg="red") | |
frame1.pack(fill=tk.X) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---- 20/5/2020 | |
import tkinter as tk | |
window = tk.Tk() | |
window.title("Greek Flag") | |
stripeHeight = 50 | |
height = 9 * stripeHeight | |
width = height * 3 // 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
@author: eimon -- 2021 | |
Self-deleted meme file (greek) | |
How to build the jar on Intellij: | |
-> file - project structure - project settings - artifacts - click + - jar - from modules with dependencies | |
extract to the target jar - OK | |
-> build - build artifacts - build | |
find it at ...\out\artifacts\jerk_jar | |
run it ... ok ok ok ...wait 3sec then jar file deletes itself and poof gone bye lost in oblivion | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' 4/2022 | |
On Error Resume Next | |
set blabla = Wscript.CreateObject("SAPI.SpVoice") | |
Set blabla.Voice = blabla.GetVoices.Item(1) | |
blabla.speak "eimon, welcome!" | |
Wscript.Quit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Are-you-dead-yet? | |
' 4/2022 | |
' error handling | |
On Error Resume Next | |
' create shell object | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
' get the username |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on dos v "techno" | |
// made for educational purposes only | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <windows.h> | |
void blink(); | |
DWORD WINAPI msg(); |
OlderNewer