This file contains hidden or 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 argparse | |
import json | |
import os | |
import os.path | |
import shutil | |
import sys | |
from jupyter_client.kernelspec import KernelSpec, KernelSpecManager, NoSuchKernel | |
parser = argparse.ArgumentParser() |
This file contains hidden or 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
# run this once, then reload, and then skip this | |
!apt install rustc | |
!gdown --id 1PULtTc-2e9z4bswh_SQqL5oy_4JpfV7c | |
!chmod +x evcxr_jupyter | |
!./evcxr_jupyter --install | |
// install dependency | |
:dep cmd_lib | |
use cmd_lib::run_cmd as sh; |
This file contains hidden or 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 { take, put, call, fork, cancel, cancelled } from 'redux-saga/effects' | |
import {EVENT_POLLING_START, EVENT_POLLING_STOP} from "constants/eventPolls"; | |
import {ClientEventType} from "constants/serverEvents"; | |
function* handleEventA(serverEvent) { | |
yield put({type : serverEvent.type, payload : {name : serverEvent.eventAData}}); | |
} |