This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import sys | |
from urllib.parse import urljoin | |
import asyncio | |
import aiohttp | |
from aiohttp import web | |
TARGET_SERVER_BASE_URL = 'http://127.0.0.1:8888' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI) | |
//v2 Eugene Katrukha katpyxa at gmail.com | |
//v2a Andrey Aristov: aaristov at pasteur.fr | |
requires("1.48h"); | |
//check if there is rectangular selection | |
if(selectionType() ==0) | |
{ | |
sTitle=getTitle(); | |
sMovieTitle=sTitle+"_zoom_movie"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{".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 |