Skip to content

Instantly share code, notes, and snippets.

View theintel's full-sized avatar

Muhammad Arifur Rahman theintel

View GitHub Profile
/*********************************************************************
This is an example for our Monochrome OLEDs based on SSD1306 drivers
Pick one up today in the adafruit shop!
------> http://www.adafruit.com/category/63_98
This example is for a 128x64 size display using I2C to communicate
3 pins are required to interface (2 I2C and one reset)
Adafruit invests time and resources providing this open source code,
@theintel
theintel / WhyUseCodeTemplate.md
Last active June 30, 2019 19:04
This is why you should use simplified C template for contest programming.

You start to code. You keep coding...

...Until this happens:

You become insane and try to debug the code.

@theintel
theintel / MasterMarkdown.md
Last active October 24, 2020 12:54
Mastering GitHub Flavored Markdown

How to win ✌😄 GitHub Education 🎒 backpack with GitHub Gist

  • Learn to use GitHub Flavored Markdown
  • Create creative 📋 gists
  • Pin 📌 your creative gists to your profile
  • Make a cool 😎 profile with your gists
  • Submit your profile to @GitHubEducation
  • Keep waiting for the results 🙄

How to create a creative gist?

@theintel
theintel / ##.c
Created March 12, 2018 20:35
Simplified C template for contest programming. There are two versions: #.c for problems without testcases and ##.c for problems with testcases. Additionally, there's a basic timer to get the execution time.
#include"stdio.h"
#include"string.h"
#include"math.h"
#include"stdlib.h"
#include"ctype.h"
#include"limits.h"
#include"time.h"
#include"stdbool.h"
#define ll long long
#include"stdio.h"
#include"string.h"
#include"math.h"
#include"stdlib.h"
#include"ctype.h"
#include"limits.h"
#include"time.h"
#include"stdbool.h"
#define ll long long
ll factory[1000005]={1};