Skip to content

Instantly share code, notes, and snippets.

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

Daniel Chifamba nadchif

💭
I may be slow to respond.
View GitHub Profile
@nadchif
nadchif / ELIZA.BAS
Created July 10, 2024 09:05 — forked from dmberry/ELIZA.BAS
Eliza in Basic written by Jeff Shrager in 1977
10 REM
20 REM ELIZA/DOCTOR
30 REM CREATED BY JOSEPH WEIZENBAUM
40 REM THIS VERSION BY JEFF SHRAGER
50 REM EDITIED AND MODIFIED FOR MITS 8K BASIC 4.0 BY STEVE NORTH
60 REM CREATIVE COMPUTING PO BOX 789-M MORRISTOWN NJ 07960
70 REM
80 REM -----INITIALIZATION-----
90 DIM C$(72),I$(72),K$(72),F$(72),S$(72),R$(72),P$(72),Z$(72)
100 DIM S(36),R(36),N(36)
@nadchif
nadchif / a11y_tests.html
Created May 17, 2020 08:30
Just a dummy page for testing some a11y scenarios
<!DOCTYPE html>
<head>
<title>Image a11y Test</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<img id="appleImg" src="https://s.alicdn.com/@sc01/kf/HTB1CDyMJpXXXXa3XFXXq6xXFXXXz.jpg" />
<div id="lazyLoadPlaceHolder">Lazy Loading Area</div>
<p>
<button id="switchImgBtn">Switch Image</button>