Skip to content

Instantly share code, notes, and snippets.

Abd-afeez Abd-hamid Adedamola Itsdenty

View GitHub Profile
View gist:ac3d897ed27aa84bd7d8c1d34ae057cc
"_id": {
"$oid": "5e2707d1f4e57627565aeeae"
"registrationDate": {
"$date": "2020-01-21T14:16:49.714Z"
"customerName": "Akintola",
"email": "",
"phoneNumber": "08016789081",
Itsdenty / hashtable.c
Last active Apr 20, 2018
An implementation of the harsh table in c
View hashtable.c
#include <stdio.h>
#include <string.h>
/* entry_s is the structure declaration for storing a single key and value node*/
struct entry_s {
char not_empty;
char key[7];
char val[16];
/* creates a declaration keyword for the entry_s custom structure */
typedef struct entry_s entry_t;
Itsdenty / prime
Created Jun 23, 2016
python prime number check function
View prime
def prime_number(x):
if x <2:
return False
if x==2:
return True
if not x & 1:
return False
for n in range (3,int(x**0.5)+1,2):
if x%n == 0:
return False
Itsdenty / feet to centimeter.js
Created May 20, 2016
the assignment on feet to centimeter
View feet to centimeter.js
function toCentimetre(feet) {
feet /= 33;
var centimetre = feet;
return centimetre;
You can’t perform that action at this time.