Skip to content

Instantly share code, notes, and snippets.

View collin5's full-sized avatar
๐Ÿ 
Working from home

Collins Abitekaniza collin5

๐Ÿ 
Working from home
View GitHub Profile
@collin5
collin5 / mirql.py
Created March 11, 2019 08:09 — forked from patrys/mirql.py
Apollo-Server in Python
import datetime
from graphql import GraphQLObjectType, GraphQLScalarType, GraphQLSchema, graphql, parse
from graphql.execution.base import ResolveInfo
from graphql.utils.build_ast_schema import build_ast_schema
def build_schema(schema_description: str):
ast_schema = parse(schema_description)
return build_ast_schema(ast_schema)
@collin5
collin5 / README-Template.md
Created August 28, 2017 14:47 — 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

@collin5
collin5 / DividerItemDecoration.java
Created January 30, 2017 09:55 — forked from lapastillaroja/DividerItemDecoration.java
DividerItemDecoration. RecyclerView.ItemDecoration simple implementation
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;