Skip to content

Instantly share code, notes, and snippets.

View notmahi's full-sized avatar

Nur Muhammad "Mahi" Shafiullah notmahi

View GitHub Profile

Keybase proof

I hereby claim:

  • I am notmahi on github.
  • I am mahi (https://keybase.io/mahi) on keybase.
  • I have a public key whose fingerprint is 1574 FC60 B5D0 4E3F 323A E867 33E9 9C9A 9567 56F4

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am thelonelyrobot on github.
  • I am mahi (https://keybase.io/mahi) on keybase.
  • I have a public key whose fingerprint is 1574 FC60 B5D0 4E3F 323A E867 33E9 9C9A 9567 56F4

To claim this, I am signing this object:

@notmahi
notmahi / springer-free-maths-books.md
Created December 29, 2015 02:25 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links
@notmahi
notmahi / keybase.md
Created June 8, 2014 08:09
My proof for the new keybase.io id ( https://keybase.io/mahi )

Keybase proof

I hereby claim:

  • I am mathbender on github.
  • I am mahi (https://keybase.io/mahi) on keybase.
  • I have a public key whose fingerprint is 1574 FC60 B5D0 4E3F 323A E867 33E9 9C9A 9567 56F4

To claim this, I am signing this object:

@notmahi
notmahi / tool.sh
Created September 30, 2013 19:31
A little gEdit external tool to compile and run a single C++ file directly from the editor.
#!/bin/sh
g++ ${GEDIT_CURRENT_DOCUMENT_NAME%} -o ${GEDIT_CURRENT_DOCUMENT_NAME%.*}
if [ -f ${GEDIT_CURRENT_DOCUMENT_NAME%.*} ];
then
gnome-terminal –working-directory=$GEDIT_CURRENT_DOCUMENT_DIR -e "bash -c \"./${GEDIT_CURRENT_DOCUMENT_NAME%.*}; read line;\"" &
fi
@notmahi
notmahi / mangastream.py
Created September 10, 2013 19:58
A little piece of code for saving manga from mangastream.com
import re
import requests
import urllib
def download(img_url, filename):
downloaded_image = file(filename, "wb")
image_on_web = requests.get(img_url)
downloaded_image.write(image_on_web.content)
@notmahi
notmahi / C.cpp
Created January 10, 2013 19:14
C
#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int t, tt;
cin >> t;
for (int i =0; i< t; i++)
{
int a;
@notmahi
notmahi / A.cpp
Created January 10, 2013 19:10
Bangladesh Informatics Olympiad Practice Contest - 1 - A
#include <iostream>
int main()
{
std::cout << "Hello World";
return 0;
}
@notmahi
notmahi / D.cpp
Created January 10, 2013 18:51
Bangladesh Informatics Olympiad Practice Contest - 1 - D
#include <iostream>
#include <string>
using namespace std;
int main()
{
int t, tt;
cin >> t;
for (int i =0; i< t; i++)
{
@notmahi
notmahi / N.cpp
Last active December 10, 2015 22:48
Bangladesh Informatics Olympiad Practice Contest - 1 - N
#include <iostream>
#include <string>
struct rect
{
int x1, x2, y1, y2;
}A,B;
bool overlap(const rect &r1, const rect &r2)
{