Skip to content

Instantly share code, notes, and snippets.

Fixing bugs, always

Hasan Diwan hasandiwan

Fixing bugs, always
Block or report user

Report or block hasandiwan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hasandiwan /
Last active Nov 13, 2019
Graph a user's participated subreddits
import argparse
import base64
from datetime import date
from collections import Counter
from io import StringIO
import os
import logging
import string
import sys
View SFXRSA.csv
1987-01-01 46.955792489659004
1987-02-01 47.302674799207004
1987-03-01 47.840212928966
1987-04-01 47.984057701756
1987-05-01 48.305065129391004
1987-06-01 48.605786861179
1987-07-01 49.084565779988004
1987-08-01 49.542592009624
1987-09-01 50.2412878147
View sqltime.c
* World-time, by Hasan Diwan <>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libpq-fe.h>
static int
View pom.xml
<java classname="hello.GistMap">
package hello;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
You can’t perform that action at this time.