Skip to content

Instantly share code, notes, and snippets.

Min RK minrk

Block or report user

Report or block minrk

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
View test-auth.py
import json
import os
from urllib.parse import parse_qs
from tornado.httpclient import AsyncHTTPClient, HTTPRequest
from tornado.httpserver import HTTPServer
from tornado.httputil import url_concat
from tornado.ioloop import IOLoop
from tornado.log import enable_pretty_logging, app_log
from tornado.options import define, options, parse_command_line
View test-embed.py
import asyncio
async def dots():
while True:
await asyncio.sleep(0.25)
print('.')
async def embed_later():
await asyncio.sleep(1)
import IPython
View test-skip.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bench.py
"""
usage: python bench.py results.csv
"""
import os
import shutil
from subprocess import Popen
import sys
import tempfile
import time
View chp-20.jsonl
{"username": "test-10", "action": "login", "phase": "complete", "duration": 0.308289621, "event": "Login: Complete", "timestamp": "2019-02-22T14:41:38.064916Z"}
{"username": "test-10", "action": "server-start", "phase": "start", "event": "Server: Starting", "timestamp": "2019-02-22T14:41:38.065169Z"}
{"username": "test-10", "action": "server-start", "phase": "attempt-start", "attempt": 2, "event": "Server: Attempting to Starting", "timestamp": "2019-02-22T14:41:38.065207Z"}
{"username": "test-8", "action": "login", "phase": "complete", "duration": 0.32109191500000006, "event": "Login: Complete", "timestamp": "2019-02-22T14:41:38.077047Z"}
{"username": "test-8", "action": "server-start", "phase": "start", "event": "Server: Starting", "timestamp": "2019-02-22T14:41:38.077113Z"}
{"username": "test-8", "action": "server-start", "phase": "attempt-start", "attempt": 2, "event": "Server: Attempting to Starting", "timestamp": "2019-02-22T14:41:38.077143Z"}
{"username": "test-18", "action": "login", "phase": "complete
View plots.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View docker-build-kwargs.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View mac-detect-browser.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View click-magics.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Lorenz Differential Equations.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.