Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block indam

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
indam /
Created Feb 27, 2018 — forked from drgarcia1986/
Example of OAuth2 autentication server with Client Credentials grant (using python-oauth2 and tornado)
# !/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Diego Garcia'
import tornado.web
import tornado.ioloop
import oauth2.tokengenerator
import oauth2.grant
View gist:f969c46882501518742c
from PIL import Image
size = width, height = (40, 20)
image ="RGB", size, None)
pixels = image.load()
for y in range(height):
for x in range(width):
pixels[x, y] = (x, y, 0)'fill.jpg')
View gist:3a4ee582e5174023e106
set linkanimations
let searchlimit = 10 " to many lines will block your sight
let searchengine wikipedia = ['', '']
let completionengines = ['google', 'bing', 'wikipedia', 'google-image', 'youtube', 'wolframalpha']
let blacklists = ["*","*","*","*","*","http://localhost:8888/*"]
let hintcharacters = "asdfqwerzxcv" " only use left hand to do navigation
map q H
map a L
map c K
map z J
You can’t perform that action at this time.