Skip to content

Instantly share code, notes, and snippets.

View imranhasan871's full-sized avatar
🎯
Focusing

Imran Hasan imranhasan871

🎯
Focusing
View GitHub Profile
Dr. Alan Kay explains when "object-oriented" was first used and what it means. [] (Meaning of "Object-Oriented Programming" According to Dr. Alan Kay (meaning of OOP objectoriented definition term notion meaning explanation what is)), document, page 721691
http://www.purl.org/stefan_ram/pub/doc_kay_oop_en (permalink) is the canonical URI of this page.
Stefan Ram
Dr. Alan Kay on the Meaning of “Object-Oriented Programming”
(To link to this page, please use the canonical URI "http://www.purl.org/stefan_ram/pub/doc_kay_oop_en" only, because any other URI is valid only temporarily.)
E-Mail of 2003-07-23
Dr. Alan Kay was so kind as to answer my questions about the term “object-oriented programming”.
Clarification of "object-oriented" [E-Mail]
@imranhasan871
imranhasan871 / javascript_deep_dive.md
Created April 17, 2024 18:50 — forked from faressoft/javascript_deep_dive.md
JavaScript Deep Dive to Crack The JavaScript Interviews
@imranhasan871
imranhasan871 / extensions.json
Created April 12, 2023 07:54 — forked from coryhouse/extensions.json
Put this file in .vscode to recommend extensions
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"GitHub.vscode-pull-request-github",
"ms-playwright.playwright",
"pflannery.vscode-versionlens",
"ZixuanChen.vitest-explorer"
]
#On macOS Mojave, this script must run in root, otherwise you will
#get a runtime error due to "No permission" error when create raw socket
import socket
import io
import struct
import sys
class flushfile(io.FileIO):
def __init__(self, f):
@imranhasan871
imranhasan871 / groupedcheckboxplugin.php
Last active August 10, 2022 11:35
Added Full functional
<?php
/*
Plugin Name: Our Metabox
Plugin URI:
Description: Metabox API Demo
Version: 1.0
Author: IHL
Author URI:
License: GPLv2 or later
Text Domain: our-metabox
@imranhasan871
imranhasan871 / stack_recurtion.py
Created October 3, 2018 21:55
Factriol Calculator
def fact(x):
if x==1:
return 1
else :
return x* (x-1)
print(fact(8))
@imranhasan871
imranhasan871 / Stack.py
Created October 2, 2018 01:23
The stack used to save the variables for miltiple functions, is called the stack.
def greet2(name):
print("How are you, " + name + "?")
def bye():
print("Ok bye")
def greet(name):
print("Hello," "" + name +"!")
greet2(name)
@imranhasan871
imranhasan871 / Recursive Function.py
Created October 2, 2018 00:37
Rrecuursive Function has two parts: the base case and the recurcive case
def countdown(i):
print(i)
if i <= 0:
return
else:
countdown(i-1)
print(countdown(5))
@imranhasan871
imranhasan871 / Selection_Sort Algorithm.py
Last active September 22, 2021 15:55
It is a simple Selection Sort Algorithm
def findsmallest(arr):
smallest = arr[0]
smallest_index = 0
for i in range(1, len(arr)):
if arr[i] < smallest:
smallest = arr[i]
smallest_index = i
return smallest_index