Skip to content

Instantly share code, notes, and snippets.

View Alkass's full-sized avatar
🎯
Focusing

Fadi Hanna Al-Kass Alkass

🎯
Focusing
View GitHub Profile
@Alkass
Alkass / The Technical Interview Cheat Sheet.md
Created November 29, 2017 21:43 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@Alkass
Alkass / client.cpp
Created August 11, 2017 14:37 — forked from SteveRuben/client.cpp
Multiple streaming in c++ using opencv; OpenCV video streaming over TCP/IP
/**
* OpenCV video streaming over TCP/IP
* Client: Receives video from server and display it
* by Steve Tuenkam
*/
#include "opencv2/opencv.hpp"
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
@Alkass
Alkass / Minimal testing framework.rs
Last active April 19, 2017 20:22
Minimal testing framework in Rust
// @Author: Fadi Hanna Al-kass
// @Brief: Minimal testing framework
// @Version: 0.2.3
#[derive(Debug)]
enum TestCaseStatus {
PASSED,
FAILED,
SKIPPED
}
@Alkass
Alkass / eapi.rs
Created April 7, 2017 19:29 — forked from fredhsu/eapi.rs
Using Rust/Hyper to do a HTTP Post with JSON
extern crate hyper;
extern crate core;
use std::io::Read;
use hyper::Client;
use hyper::header::Connection;
use hyper::header::Basic;
use hyper::header::Headers;
use core::str::FromStr;
@Alkass
Alkass / curl.md
Created April 6, 2017 18:51 — forked from btoone/curl.md
A curl tutorial using GitHub's API

Introduction

An introduction to curl using GitHub's API.

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin
@Alkass
Alkass / ClassInvocationOverHTTP.py
Last active June 9, 2016 05:40
Call a Python Class Over HTTP
from falcon import API as FalconAPI
from falcon import HTTP_200
from json import dumps as encodeJSON, loads as decodeJSON
from sys import argv
class IndexPage:
apiDictList = None
def __init__(self, apiDictList):
self.apiDictList = apiDictList
def on_get(self, req, resp):