Skip to content

Instantly share code, notes, and snippets.

View sadmansk's full-sized avatar
🎯
Focusing

Sadman Kazi sadmansk

🎯
Focusing
View GitHub Profile
/*
* Copyright 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software

Keybase proof

I hereby claim:

  • I am sadmansk on github.
  • I am sadmansk (https://keybase.io/sadmansk) on keybase.
  • I have a public key whose fingerprint is E834 16D3 17B9 74B6 29B6 8E6E 7B16 809B AD0C B3A5

To claim this, I am signing this object:

@sadmansk
sadmansk / genPoints.py
Created July 5, 2016 04:51
Generates n (x, y) points as output
import random
n = int(input())
x = list(range(n))
y = list(range(n))
random.shuffle(x)
print (n)
@sadmansk
sadmansk / gist_blog_02.md
Last active October 6, 2015 05:22
The Gist # 02: Coop Reflections (May - August 2015)

Introduction

I have been meaning to write this reflection article out since the last week of my previous coop. But it just got held off for... umm, you know... reasons. However, I have an interview coming up and realized that I need to practice behaviourial questions about my previous coop, so just killing two birds with one stone here by writing this out.

The Position

I worked at an innovation lab funded by Deloitte Canada, called d{} (pronounced d-space) Lab. We were responsible for build prototypes for successful product pitches at Deloitte. At the beginning, to be honest, I was a bit skeptical about my role in the office, since the official job title from Deloitte was "Business Technology Analyst" and I was like "I'm pretty sure I interviewed for a dev job". Fortunately, that got cleared up by my supervisor on the very first day. Seemed like, as this is the very first time Deloitte is doing this, they don't actually have a title for our specific position yet in their database.

@sadmansk
sadmansk / gist_blog_01.md
Last active October 4, 2015 21:30
The Gist # 01: An introduction

Who am I?

Hey stranger! I am a Software Engineering student at the University of Waterloo. I am a big nerd of well architectured software, good documentation and consistent coding syntax. I'm a C/C++ guy, but also think that Python and C# are OK languages (need something to write scripts). I hate web technologies like Javascript, databases, etc. I think that the current market is over saturated with mobile and web "apps", and every other startup is just another greedy app in hopes that it will go viral. I LOVE open source software, and use Linux (Arch) whenever I can. My main interest is in game engine development as it covers a wide variety of concepts. I spend half my days playing games, usually Dota 2 (ruined my life). Sometimes I also play other well designed and immersive games like The Witcher, To The Moon, Valiant Hearts, Tomb Raider, Assassin's Creed, etc.

Why am I doing this? Like, a gist blog, seriously?

Umm, yeah...? I have been a big fa

@sadmansk
sadmansk / resume.tex
Created September 23, 2015 21:14
LatexResume
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Deedy - One Page Two Column Resume
% LaTeX Template
% Version 1.1 (30/4/2014)
%
% Original author:
% Debarghya Das (http://debarghyadas.com)
%
% Original repository:
% https://github.com/deedydas/Deedy-Resume
@sadmansk
sadmansk / time.cpp
Last active August 29, 2015 14:20
A timer class encapsulating a static clock that uses the chrono library for nanoseconds precision. I made this for use with a game engine that I have been working on. Just wanted to share with people looking for this kind of precision when it comes to timers.
//since C++ does not allow definition of static data members inside header files, we need to use this .cpp file for initializing
//the starting time
#include "time.h"
std::chrono::time_point<clock_> Time::start = clock_::now();