Skip to content

Instantly share code, notes, and snippets.

View noisy's full-sized avatar

Krzysztof Szumny noisy

View GitHub Profile
@noisy
noisy / oauth.py
Created July 16, 2018 07:36 — forked from erik-sn/oauth.py
import re
import requests
import json
from django.contrib.auth.models import User
from oauth2_provider.models import AccessToken
def generate_github_access_token(github_client_id, github_client_secret, github_code):
"""
@noisy
noisy / index.html
Last active August 29, 2015 14:20 — forked from lenka21/index.html
<!DOCTYPE html>
<html>
<head lang="pl">
<meta charset="UTF-8">
<script src="main.js"></script>
<title>most often</title>
</head>
<body>
<h2>Podaj elementy tablicy, oddzielone przecinkami</h2><input id="data">
<button onclick="often()">Run</button>
@noisy
noisy / index.html
Last active August 29, 2015 14:20 — forked from lenka21/index.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<script src="main.js"></script>
<title>odd and even</title>
</head>
<body>
<h2>A</h2><input id="a" type="number">
<h2>B</h2><input id="b" type="number">