Skip to content

Instantly share code, notes, and snippets.

View faheel's full-sized avatar
🟢
200 OK

Syed Faheel Ahmad faheel

🟢
200 OK
View GitHub Profile

Keybase proof

I hereby claim:

  • I am faheel on github.
  • I am faheel (https://keybase.io/faheel) on keybase.
  • I have a public key ASDFgbUmFE0IkyyHQkhke0NAMekP7or1tnH_WDkgyHSOSwo

To claim this, I am signing this object:

@faheel
faheel / CMakeLists.txt
Created December 30, 2017 13:07
CMake build config for BigInt
cmake_minimum_required(VERSION 3.0)
project(BigInt)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic-errors")
@faheel
faheel / meta-tags.md
Created June 5, 2017 00:08 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@faheel
faheel / KMP.cpp
Created March 4, 2017 10:47
Knuth-Morris-Pratt (KMP) algorithm
/*
Knuth-Morris-Pratt (KMP) algorithm:
A string searching algorithm that searches for a given "pattern" in a "text".
It uses the fact that when a mismatch occurs, one can jump further in the text
than a naive algorithm would (i.e. 1 step). The KMP algorithm can jump up to
all the length of the search pattern.
Time complexity:
O(N + M), where N is the pattern size and M is the text size.
@faheel
faheel / README-Template.md
Created February 26, 2017 16:56 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites