Skip to content

Instantly share code, notes, and snippets.


Wei Ouyang oeway

  • Science For Life Laboratory
  • Stockholm
View GitHub Profile
oeway / LuCa-7color_Scan1.ome.tif_offsets.json
Last active Mar 24, 2021 — forked from manzt/LuCa-7color_Scan1.ome.tif_offsets.json
experimental reference spec maker for ome-tiff
View LuCa-7color_Scan1.ome.tif_offsets.json
{".zgroup": "{\n \"zarr_format\": 2\n}", ".zattrs": "{\n \"multiscales\": [\n {\n \"datasets\": [\n {\n \"path\": \"0\"\n },\n {\n \"path\": \"1\"\n },\n {\n \"path\": \"2\"\n },\n {\n \"path\": \"3\"\n },\n {\n \"path\": \"4\"\n },\n {\n \"path\": \"5\"\n },\n {\n \"path\": \"6\"\n },\n {\n \"path\": \"7\"\n },\n {\n \"path\": \"8\"\n }\n ],\n \"metadata\": {},\n \"name\": \"resolution #1\",\n \"version\": \"0.1\"\n }\n ]\n}", "0/.zarray": "{\n \"chunks\": [\n 1,\n 1024,\n 10
oeway / zoom_movie_ImageJ_v2a.ijm
Created Oct 7, 2020 — forked from aaristov/zoom_movie_ImageJ_v2a.ijm
Improved ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI) now with logarithmic approach and dynamic scalebar
View zoom_movie_ImageJ_v2a.ijm
//ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI)
//v2 Eugene Katrukha katpyxa at
//v2a Andrey Aristov: aaristov at
//check if there is rectangular selection
if(selectionType() ==0)
oeway /
Last active May 29, 2022 — forked from barrachri/
Proxy Server with aiohttp
import logging
import sys
from urllib.parse import urljoin
import asyncio
import aiohttp
from aiohttp import web
View 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 / 0_reuse_code.js
Created Mar 13, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console