Skip to content

Instantly share code, notes, and snippets.

View oeway's full-sized avatar

Wei Ouyang oeway

  • Science For Life Laboratory
  • Stockholm
View GitHub Profile
@oeway
oeway / janus_demo_1
Last active October 31, 2018 15:59 — forked from sunliqun123/janus_demo_1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import janus
import asyncio
import time
import threading
from bson.objectid import ObjectId
from autobahn.asyncio.wamp import ApplicationSession
from autobahn.asyncio.wamp import ApplicationRunner
@oeway
oeway / WebPythonDemo.imjoy.html
Created November 20, 2018 14:01
This plugin demonstrate the web python mode in ImJoy which allows run python plugin with the browser.
<docs lang="markdown">
Describe your plugin here.
</docs>
<config lang="json">
{
"name": "WebPython Demo",
"mode": "webpython",
"version": "0.1.0",
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "PromiseTimerDemo",
"type": "web-python",
"version": "0.1.0",
"api_version": "0.1.2",
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "Napari-version",
"type": "native-python",
"version": "0.1.0",
"api_version": "0.1.2",
<docs lang="markdown">
# Hello World Plugin Example
A Napari Plugin
</docs>
<config lang="yaml">
plugin_info:
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "FileUploadDownloadDemo",
"type": "window",
"tags": [],
"ui": "",
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "ReactJS-Demo",
"type": "window",
"tags": [],
"ui": "",
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "ResumableDemo",
"type": "native-python",
"version": "0.1.2",
"description": "[TODO: describe this plugin with one sentence.]",
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "HPA-Image-Selection",
"type": "window",
"tags": [],
"ui": "",
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "Start-ANNA-PALM",
"type": "window",
"tags": [],
"ui": "",