Skip to content

Instantly share code, notes, and snippets.

View YahiaBakour's full-sized avatar

Yahia Bakour YahiaBakour

View GitHub Profile
@YahiaBakour
YahiaBakour / SkipList.h
Created May 24, 2018 18:28
SkipList Implementation, C++
// By your BOI : Yahia B
// feel free to take whatever you would like
#ifndef SkipList_H
#define SkipList_H
#include <iostream>
#include <cstdlib>
#include <limits>
#include <random>
#include <ctime>
#include <vector>
@YahiaBakour
YahiaBakour / DLL.h
Created May 17, 2018 20:45
Double Linked List : C++ Implementation
// By your BOI : Yahia B
// feel free to take whatever you would like
#ifndef DLL_H
#define DLL_H
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
@YahiaBakour
YahiaBakour / BST.cpp
Created May 15, 2018 06:24
Binary Search Tree C++ Implementation
/*BST CLASS AND FUNCTIONS BY YOUR BOI: YAHIA B.
All of this code is open_Source so feel free to take whatever you'd like.
Note: disp() and display(Node* P, int indent) logic and code are NOT mine.
*/
#include "Bst.h"
#include <iomanip>
int numberofnodes;
@willurd
willurd / web-servers.md
Last active July 26, 2024 13:45
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000