Skip to content

Instantly share code, notes, and snippets.

View seifalmotaz's full-sized avatar
💭
I may be slow to respond.

Seif Almotaz Bellah seifalmotaz

💭
I may be slow to respond.
View GitHub Profile
@seifalmotaz
seifalmotaz / main.py
Created October 5, 2023 13:18
Snake Cursor Game with Python
import random
import curses
screen = curses.initscr()
curses.curs_set(0)
screen_height, screen_width = screen.getmaxyx()
print(f"screen_height: {screen_height}, screen_width: {screen_width}")
{
"patient": {
"id": "atweX0JsjdwPLxKq",
"createdAt": "2022-09-23T13:51:11.211048+02:00",
"clinicId": "1",
"clinic": {
"id": "",
"merchantId": "",
"merchant": {
"id": "",
@seifalmotaz
seifalmotaz / fibonacci_recursion.dart
Last active May 8, 2022 22:04
Fibonacci algorithm in dart (recursion, stack)
// 10000 in 0.16
// 100000 in .278
// 1000000 the computer lagged
// computer specifications
// Device name DESKTOP-KNC2A16
// Processor Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz 3.20 GHz
// Installed RAM 8.00 GB
// System type 64-bit operating system, x64-based processor