CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/hub/p.coffee
Views: 687
1
#########################################################################
2
# This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
# License: MS-RSL – see LICENSE.md for details
4
#########################################################################
5
6
global.db = require('@cocalc/database/postgres').db()
7
8
misc = require '@cocalc/util/misc'
9
misc_node = require '@cocalc/backend/misc_node'
10
# TODO: this is purely for interactive debugging -- remove later.
11
global.done = global.d = misc.done
12
global.done1 = global.d1 = misc.done1
13
global.done2 = global.d2 = misc.done2
14
global.misc = misc; global.misc_node = misc_node; global.cb=done()
15
global.async = require('async')
16
17