sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
671f77a86b94a1f42b6e238b4e7d55dd6564e48e761f5aae765180d76e578b25
JavaScript
432
27
const USER_1 = { username: 'test1', password: 'password', }; const USER_2 = { username: 'test2', password: 'password', }; const USER_4 = { username: 'test4', password: 'password', }; const EXIST_TIMEOUT = 30000; const COMPUTATION_TIMEOUT = 150000; const COMPUTATION_DOWNLOAD_TIMEOUT = 40000; module.expor...
120b89ac21ab3b8bbed2b6e5eb7c622b7b8946f30af9277e422ee5b2225655af
JavaScript
433
15
const axios = require('axios') async function makePostRequest() { let res = await axios.post('https://amp.pharm.mssm.edu/Enrichr/addList') console.log(`Status code: ${res.status}`) console.log(`Status text: ${res.statusText}`) console.log(`Request method: ${res.request.method}`) console.log(`Path: ${res.req...
b055edafa3942f11ed2b521b289b35334b65d0211e89694361a80a40d2dde270
JavaScript
437
16
'use strict'; /* eslint-disable import/no-extraneous-dependencies */ const pify = require('util').promisify; const CoinstacClient = require('coinstac-client-core'); const rimraf = require('rimraf'); const dir = CoinstacClient.getDefaultAppDirectory(); /* eslint-disable no-console */ console.log(`Removing ${dir} …`);...
b153fc7b356a30b56affbb87c70b868209693a88e005a04cb3d5b9b9182cf050
JavaScript
442
18
'use strict'; module.exports = { /** * This property is used to pass computation input values from the * declaration into the computation. * * @todo Don't require `covariates` computation input * * {@link https://github.com/MRN-Code/coinstac/issues/161} */ __ACTIVE_COMPUTATION_INPUTS__: [[[{ ...
9ba7a2e259c4341be1c683c683e2cefb2386637501b5ce26f0f18bb4e0420b50
JavaScript
447
17
import * as glMatrix from "./common.js"; import * as mat2 from "./mat2.js"; import * as mat2d from "./mat2d.js"; import * as mat3 from "./mat3.js"; import * as mat4 from "./mat4.js"; import * as quat from "./quat.js"; import * as quat2 from "./quat2.js"; import * as vec2 from "./vec2.js"; import * as vec3 from "./vec3....
37dac21ea4d22d12f874cca33678ba703ace219ef3a9171f802ad1f91066d978
JavaScript
453
21
const INITIAL_STATE = {}; const SAVE_LOCAL_RUN_RESULT = 'SAVE_LOCAL_RUN_RESULT'; export const saveLocalRunResult = (runId, result) => ({ type: SAVE_LOCAL_RUN_RESULT, runId, result, }); export default function reducer(state = INITIAL_STATE, action) { switch (action.type) { case SAVE_LOCAL_RUN_RESULT: ...
cb710061861a78b56842d023a3682860eb6a68db21b63bceec36dd407412ae73
JavaScript
457
16
const childProcess = require('child_process'); const npm = process.platform === 'win32' ? 'npm.cmd' : 'npm'; module.exports = { npmi(path) { return new Promise((resolve, reject) => { console.log(`npm installing in ${path}`); // eslint-disable-line no-console const npmi = childProcess.spawn(npm, ['in...
5c3bd2a5524858407795c517824dea48bebe96d0eee7e8430d7d6ac990c0a214
JavaScript
464
7
var searchData= [ ['visualization',['visualization',['../namespacetinaui.html#a5c93ce6425b76d7ce3f8ea29c4f7afc8',1,'tinaui']]], ['voi',['voi',['../classtinaviz_1_1voi__shifter.html#a9ca63d9df85a6d34522e23133c0527ed',1,'tinaviz::voi_shifter']]], ['voi_5fshifter',['voi_shifter',['../classtinaviz_1_1voi__shifter.htm...
d4315721d3b534aac86f10d85a9e3a9e466a3f85ee974dc101106f170182cdfb
JavaScript
472
17
// const helperFunctions = require('../auth-helpers'); module.exports = [ // { // method: 'POST', // path: '/authenticateByToken', // config: { // auth: 'jwt', // handler: ({ auth: { credentials: { email, id, institution, permissions } } }, res) => { // res({ // // id_token:...
6aec79f5bfa94c44b151f63ce518eed39077ac8f9ea09bc9174a16f92dfb2d47
JavaScript
476
22
import db from '@server/config/db.js' // the schema directory can only access from ../ const schema = '../../schema/scread_v1/publication.js' const screadDb = db.screadV1 // use sequelize to import table structure const publication = screadDb.import(schema) const getPublication = async function(id) { const result ...
6e5f6ab737e9607a4f8199bc0acc788c5b4dd126ee2c586a4d9d075179bc2b8b
JavaScript
492
26
/* eslint-disable */ const database = require('../../index'); const description = 'Add active members property to consortia'; async function up() { const db = database.getDbInstance(); db.collection('consortia').updateMany({}, [ { $set: { activeMembers: '$members' } } ]); } async function down() { const...
f8f2acc0d5414ec5a296c839a31b0332ebc6b7e4d32f64ed3db76979e9428f7c
JavaScript
493
26
'use strict'; module.exports = { local: { args: ['./exec-script.js', '--local'], cmd: 'node', /** * @todo Remove once covariate inputs aren't required. * * {@link https://github.com/MRN-Code/coinstac/issues/161} */ inputs: [{ type: 'covariates', }], type: 'cmd', ...
86b08de27ad83bf53e472fe35218d0df88fac308bd8c1a50761156c92a3864c5
JavaScript
494
7
var searchData= [ ['th',['th',['../namespaceanalyze__ocn.html#a1ac1490de46fe845efe907a089d9fd50',1,'analyze_ocn']]], ['thrparams',['thrparams',['../namespaceanalyze__ocn.html#a543431dab18e1d58ba21c94305dddcea',1,'analyze_ocn']]], ['tplot',['tplot',['../classanalyze__ocn_1_1Result.html#a2e70661f3dd805e4c7545e72594...
3310f4b0c840060e246dd924c471f64735cc5a8b5d0a3798f6eb1917de027724
JavaScript
496
7
var searchData= [ ['ym',['ym',['../classtinaviz_1_1voi__shifter.html#a79048f924c4dda2b37c2c6d48a0cb08c',1,'tinaviz::voi_shifter']]], ['ymax',['ymax',['../classtinaviz_1_1voi__shifter.html#abf6ffa944da898db28944e465632fa9a',1,'tinaviz::voi_shifter']]], ['ymin',['ymin',['../classtinaviz_1_1voi__shifter.html#a730ab7...
46d5e5f2ad5c59da137ae8e882d22a3eff493fe95a320a0ff5683310ad1fca7b
JavaScript
496
7
var searchData= [ ['xm',['xm',['../classtinaviz_1_1voi__shifter.html#ab6de4a65098009eb9ab40ce3e39ba5d4',1,'tinaviz::voi_shifter']]], ['xmax',['xmax',['../classtinaviz_1_1voi__shifter.html#a226a33ba4389f171c3e942bc5ab5ab24',1,'tinaviz::voi_shifter']]], ['xmin',['xmin',['../classtinaviz_1_1voi__shifter.html#ac2ab6c...
e3b20878ba5bef39c19760f6e3ad0123dcca966162bdf4b503cb24bdc4a6cf00
JavaScript
505
23
const winston = require('winston'); const logger = winston.createLogger({ level: 'silly', format: winston.format.combine( winston.format.timestamp(), winston.format.printf(({ level, message, timestamp, }) => `${timestamp} { message: ${message}, level: ${level} }`) ), transports: [new winston...
b300149b1c2cf7eb078d22874f9d365257ae332bb828655a07b94dddca966f70
JavaScript
506
7
var searchData= [ ['nearest_5fnodes',['nearest_nodes',['../classtinacell_1_1Cell.html#a2d19b9035055f1b86d5648e83a7e58e8',1,'tinacell::Cell']]], ['networkdict',['networkdict',['../classtina__main_1_1dataset.html#a1cd3170482dac9999d3952faf622391c',1,'tina_main::dataset']]], ['node',['node',['../classtinacell_1_1Cel...
db23533356c8c3ad3db8cfa3bbc57376147e6ca95320d61f3e070533eacbd068
JavaScript
506
10
var annotated_dup = [ [ "charinfo_s", "structcharinfo__s.html", "structcharinfo__s" ], [ "Morphy_t", "struct_morphy__t.html", "struct_morphy__t" ], [ "mpl_matrix_s", "structmpl__matrix__s.html", "structmpl__matrix__s" ], [ "MPLcell", "struct_m_p_lcell.html", "struct_m_p_lcell" ], [ "MPLndsets", "str...
83ed700357effca090b3a16878d7e2ba5f42d69e74f270f1ba936d13ba0e8d1b
JavaScript
512
24
'use strict'; const winston = require('winston'); // eslint-disable-next-line no-console const logger = winston.createLogger({ level: 'info', transports: [ new winston.transports.Console({ format: winston.format.cli() }), ], }); logger.level = process.LOGLEVEL ? process.LOGLEVEL : 'info'; module.exports ...
5aa930e1a451d7452994463926ace39fbe702fae96bce9e236b4f28acec398eb
JavaScript
514
7
var searchData= [ ['page_5fheight',['page_height',['../namespaceanalyze__ocn.html#a3aff7b3b8f12f2cd406bb0079e18c2f1',1,'analyze_ocn']]], ['params',['params',['../namespaceanalyze__ocn.html#aceb5fb8169762e5e5781d350dbf51bf8',1,'analyze_ocn']]], ['picker2',['picker2',['../classtina__main_1_1dataset.html#a3b6767688b...
5b30870d29ddba18f597f022d4c621447427574f3112c134eb2b705f0264922f
JavaScript
515
24
module.exports = { logFilter: (log) => { if (!log) { return false; } try { const { level } = JSON.parse(log); if (level === 'verbose' || level === 'info') { return false; } } catch {} // eslint-disable-line no-empty const filters = [/deprecated/i, /chromedriver/i,...
bed64e5a65a12a66f406bce173484feb98cd311e02b2d00c1d9ecc5fa941c89a
JavaScript
517
11
var searchData= [ ['tina_5fmain',['tina_main',['../namespacetina__main.html',1,'']]], ['tinacell',['tinacell',['../namespacetinacell.html',1,'']]], ['tinaimg',['tinaimg',['../namespacetinaimg.html',1,'']]], ['tinana',['tinana',['../namespacetinana.html',1,'']]], ['tinanet',['tinanet',['../namespacetinanet.htm...
8fd820355b8849d040cf36e0a7874df4594bec41e8ccfefb7cc89b90d0b639c5
JavaScript
519
14
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], server: { // lets `npm run dev` hit the real FastAPI backend (desktop/app.py's // uvicorn instance) without any CORS config - app code just fetches ...
1c1115172628afccdc690a7109692c5035923c773be8a50179aeb4b06207d070
JavaScript
520
26
/* eslint-disable */ const database = require('../../index'); const description = 'Add observers property to runs, so these users can receive status update for runs'; async function up() { const db = database.getDbInstance(); db.collection('runs').updateMany({}, [ { $set: { observers: '$clients' } } ]); } ...
184105d8c65a9beddda537428586fbaa9c1dcf40fa2fb556ece147b60831b738
JavaScript
521
18
export const MESH_EXTENSIONS = ["ply", "obj", "stl"]; export const TEXTURE_EXTENSIONS = ["jpg", "jpeg", "png"]; export function extOf(name) { return (name.split(".").pop() || "").toLowerCase(); } export function hasMeshFile(names) { return names.some((n) => MESH_EXTENSIONS.includes(extOf(n))); } export function ...
c0045f767253811773580b2a1750f3b6a2ae725d356aa08d292d242fcd8a7c29
JavaScript
522
24
const hapi = require('@hapi/hapi'); const nes = require('nes'); const routes = require('./routes'); process.LOGLEVEL = 'silly'; const init = async () => { const server = hapi.Server({ host: process.env.CLIENT_SERVER_HOSTNAME, port: process.env.CLIENT_SERVER_PORT, }); await server.register(nes); serv...
d798ed416800123ae721c3c37ea7f1c95743558804ed4f001d651ac69bafd483
JavaScript
524
21
const path = require('path'); module.exports = (dialog) => { let count; switch (process.env.TEST_INSTANCE) { case 'test-1': count = 1; break; case 'test-2': count = 2; break; default: count = 1; } // eslint-disable-next-line no-param-reassign dialog.showOpenDialog =...
c7f3a81fa93a3609847fb75817e4777c339bd5f94963bdbb9aa224a6fdb038ce
JavaScript
525
25
#!/usr/bin/env node // This file is part of gltfpack and is distributed under the terms of MIT License. import { pack } from './library.js'; import fs from 'fs'; var args = process.argv.slice(2); var iface = { read: function (path) { return fs.readFileSync(path); }, write: function (path, data) { fs.writeFileS...
d0e034046e36abb24da93578955aa833ff54de7fd6f59fd5b1ae8bfeff6e3934
JavaScript
525
14
export default { messages: [ 'Sit tight, big cat! We\'ll be right back with your data...', 'It\'s a bird, it\'s a plane, ...it\'s all your data comin\' in hot', 'Data-fett... data-fett... where? - Dr. Han Solo', 'Data be nimble, data be quick, data jumped over a processing stick', 'I see your dat...
9f350456323f3841236ee29c8137e833ee765b506af4fe9effbfbfc2958acccb
JavaScript
538
19
'use strict'; module.exports = { preIteration(controllerState) { if (controllerState.success && controllerState.mode === 'remote') { return 'doneRemote'; } if (controllerState.success) { return 'done'; } if (controllerState.initial && controllerState.mode === 'remote') { ret...
6c7662b5145ee7e1601394b7426130cc76018aa3ab7ca636b0970da727298c7e
JavaScript
540
9
var structsymbols__s = [ [ "gap", "structsymbols__s.html#afd06324f63095140ca7ee9cbaf9fbbf9", null ], [ "missing", "structsymbols__s.html#ade94866931be95063f20e28cab89fb31", null ], [ "numstates", "structsymbols__s.html#abf37fa96cdabb5402cf3c535f561e447", null ], [ "packed", "structsymbols__s.html#a7d17d...
c736e1f91953cdd2c813b70dc2505f90409fba28fdca74c1c777fc821e98053c
JavaScript
541
11
var searchData= [ ['tina_5fmain_2epy',['tina_main.py',['../tina__main_8py.html',1,'']]], ['tinacell_2epy',['tinacell.py',['../tinacell_8py.html',1,'']]], ['tinaimg_2epy',['tinaimg.py',['../tinaimg_8py.html',1,'']]], ['tinana_2epy',['tinana.py',['../tinana_8py.html',1,'']]], ['tinanet_2epy',['tinanet.py',['../...
a50e2f1b3e8a1fa0e0f54b8a051ba7fae1a6f659346eb48599027986e79597c2
JavaScript
552
25
'use strict'; const convict = require('convict'); const conf = convict({ env: { doc: 'The applicaton environment.', format: ['production', 'development', 'release'], default: 'development', env: 'NODE_ENV', }, baseUrl: { doc: 'steelpenny url', format: 'url', default: 'https://coins-a...
a5d14882a8afeb192ef123d55ea111b5b5234247994fb87d63cc1a73e91057e2
JavaScript
552
21
'use strict'; module.exports = { /** * This property is used to pass computation input values from the * declaration into the computation. * * @todo Don't require `covariates` computation input * * {@link https://github.com/MRN-Code/coinstac/issues/161} */ __ACTIVE_COMPUTATION_INPUTS__: [[[{ ...
1fb1e64b467f1debff0cda756361d43528bba7db41818759fad72b4a0435f53a
JavaScript
558
24
const database = require('../src/database'); const transactionLoggerPlugin = { // Fires whenever a GraphQL request is received from a client. requestDidStart(requestContext) { const { request, context } = requestContext; if (context?.credentials?.passwordHash) { context.credentials.passwordHash = un...
e01b66c23ae4ca56e7bc266db17ee26aa8024f2f2a151fc59bce07b96133d63e
JavaScript
565
23
import { ipcRenderer } from 'electron'; import { useEffect, useState } from 'react'; function useContainerStatus() { const [containerStatus, setContainerStatus] = useState(true); useEffect(() => { const interval = setInterval(async () => { try { const status = await ipcRenderer.invoke('get-statu...
b5612656d92e36f65cb64ea67c286e61f64f11a7910c9945c03803232e760474
JavaScript
567
30
/* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { return sequelize.define( 'expression', { id: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, autoIncrement: true }, data_id: { type: DataTypes.CHAR(50), ...
de397e0b1290e8cf857bada68053be3036c12ae11d8c1c28e581ba9a553972fe
JavaScript
575
26
/* eslint-disable */ const database = require('../../index'); const description = 'Add observers property to runs, so these users can receive status update for runs'; async function up() { const db = database.getDbInstance(); db.collection('runs').updateMany({}, [ { $set: { shouldUploadAssets: false, assetsU...
49c8aaec195c6f1667ffe299d1ed074e48652c3775536262439c0cbbd5de2586
JavaScript
579
15
/* eslint-disable-next-line import/no-unresolved */ const test = require('ava'); const { getOnlineUsers } = require('../src/data/user-online-status-tracker'); const { eventEmitter, WS_CONNECTION_STARTED, WS_CONNECTION_TERMINATED } = require('../src/data/events'); test('getOnlineUsers', (t) => { eventEmitter.emit(WS_...
f22904282d0a2b70774803d3debac435e12124728c3bb2f46022f0fea5c8b00c
JavaScript
580
8
var searchData= [ ['expd',['expd',['../namespacetinana.html#a79fcc271a81e986977264d387ae96e12',1,'tinana']]], ['expfit',['expfit',['../namespacetinana.html#aeb92ec2daa8355eec41e0fbc5b387b2a',1,'tinana']]], ['export_5fcelldict',['export_celldict',['../namespacetinacell.html#a261d5a96a504c87a60cb33aedc4f8967',1,'ti...
5117825e453e99a70968af47c11bc3b25013b333340bb8c68677e6b3830d50b2
JavaScript
581
19
// eslint-disable-next-line import/no-extraneous-dependencies const { notarize } = require('@electron/notarize'); exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context; if (electronPlatformName !== 'darwin') { return; } const appName = context.packager....
85ecec17e361c549e8bdbd802fc1ff09f93258f5dcb1e430827193c280302ed8
JavaScript
588
30
/* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { return sequelize.define( 'cell_type_meta', { id: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, autoIncrement: true }, data_id: { type: DataTypes.STRING(50), ...
6e2371fffa294a969ce502f118a7c1fd54692db4dc98af8ed0bec4bd0f507084
JavaScript
594
6
var searchData= [ ['fill_5fcells',['fill_cells',['../namespacetinaimg.html#a9ba5068c80db616245cb6a0dec5cb6b3',1,'tinaimg']]], ['filter_5fshort_5fbranches',['filter_short_branches',['../namespacetinanet.html#a16f93d1ea9d037665e7f7ebfb260e72c',1,'tinanet.filter_short_branches()'],['../namespacetinaui.html#a65f7b8af7b...
c04b703e336acbe91fa573912dcfafd8b61e4a0c41602b30232446419dcd5c0c
JavaScript
600
25
'use strict'; module.exports = { /** * This property is used to pass computation input values from the * declaration into the computation. * * @todo Don't require `covariates` computation input * * {@link https://github.com/MRN-Code/coinstac/issues/161} */ __ACTIVE_COMPUTATION_INPUTS__: [[[{ ...
47efb81e6bce0d9283d69527e15b55bc8ccc969df5619d0c5ca46d836eacd460
JavaScript
601
26
'use strict'; const path = require('path'); module.exports = { /** * This property is used to pass computation input values from the * declaration into the computation. * * @todo Don't require `covariates` computation input * * {@link https://github.com/MRN-Code/coinstac/issues/161} */ __ACTI...
88197d2e9bfa813f5c99fcbcb1ff4c0651f1068b0ea8ece3bb79cfa685a044d0
JavaScript
605
14
var menudata={children:[ {text:"Main Page",url:"index.html"}, {text:"Data Structures",url:"annotated.html",children:[ {text:"Data Structures",url:"annotated.html"}, {text:"Data Structure Index",url:"classes.html"}]}, {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}, {text:"Globals",url:"glo...
b2d7c2371bf93fd8c41ae23c1d776f05ae5880896d3727e6692ad19d8f63fd3b
JavaScript
621
24
import db from '@server/config/db.js' // the schema directory can only access from ../ const schema = '../../schema/scread_v1/iris3_regulon.js' const screadDb = db.screadV1 // use sequelize to import table structure const iris3 = screadDb.import(schema) const getRegulonById = async function(id) { // note is is asyn...
d6999ca89cc06a9ec957f9ff912efcdc4131d7e56e53650a96538520b79c6832
JavaScript
623
28
'use strict'; const path = require('path'); module.exports = { /** * This property is used to pass computation input values from the * declaration into the computation. * * @todo Don't require `covariates` computation input * * {@link https://github.com/MRN-Code/coinstac/issues/161} */ __ACTI...
e90428294a3fec42c4ad777a9e7a21e31ef38fef8069cc79608b632826cc0d9b
JavaScript
627
5
var searchData= [ ['_5f_5finit_5f_5f',['__init__',['../classanalyze__ocn_1_1Result.html#a4b1912566f2934b807f4b00948ee14be',1,'analyze_ocn.Result.__init__()'],['../classtina__main_1_1dataset.html#a4680f78e3dc056eddf22243b3b6b0386',1,'tina_main.dataset.__init__()'],['../classtinacell_1_1Cell.html#af9b74c26324f90e7b9359...
006f29b5a7e65f1203111cb851ca10e7296afff2820c1ee8e2e4b2b348483c7d
JavaScript
641
21
import dimension from '@server/models/v1/dimension.js' const getDimensionTable = async function(ctx) { const id = ctx.params.id // get id from context url let type = ctx.params.type if (type === 'All cell types') { const result = await dimension.getAllDimensionById(id, 'all') ctx.body = result } else {...
a8bdefbcc07865552d426c7fbb501133416ed492950779b8e98ea09502b9317f
JavaScript
642
8
var searchData= [ ['cdict',['cdict',['../namespaceanalyze__ocn.html#a77c0714a32677bf88a73b7b2e4e41089',1,'analyze_ocn']]], ['cell_5factorsl',['cell_actorsl',['../classtina__main_1_1dataset.html#a9bdc3349af013b9585445d6bfef116ed',1,'tina_main::dataset']]], ['celldict',['celldict',['../classtina__main_1_1dataset.ht...
265b8c196f8b1c088bc973e600595f7c33389d937e5d8867c411c081ffc161f5
JavaScript
645
33
import { get } from 'lodash'; const migrations = { 1: (state) => { // Add observers property to local runs const localRuns = get(state, 'localRuns', []) .map(localRun => ({ ...localRun, observers: localRuns.clients, })); return { ...state, localRuns, }; }, ...
61ae338b2f620875eda1095e20b134704a1a7a4758e3d06d01f0c4896fb9962c
JavaScript
660
26
'use strict'; const CoinstacClientCore = require('coinstac-client-core'); const { merge } = require('lodash'); const parseCLIInput = require('./parse-cli-input'); module.exports = function configureCore({ config, logger, userId, appDirectory, imageDirectory, containerService, clientServerURL, token, }) { const co...
a85fc3baa7625780cc0ace9eca5748a8a4c9ab9b7f473658052dbf0a60ab2093
JavaScript
663
25
const server = require('./server-ws2'); const serverHttp = require('./server-http'); let inOpts = {}; try { inOpts = process.argv[2] ? JSON.parse(process.argv[2]) : {}; } catch (e) { // eslint-disable-next-line no-console console.log(process.argv); } const opts = Object.assign( { port: 8881, }, inOpt...
cfb595a1468c87c194a744e40fe1281798768c69cb7d2ca20de213e67e442fc2
JavaScript
666
33
const operationName = 'addComputation'; const query = `mutation addComputation($computationSchema: ComputationInput!) { addComputation(computationSchema: $computationSchema) { id } } `; let config = { graphql: { query, operationName, }, }; if (process.env.API_SERVER_HOSTNAME) { config = Object.a...
4563b425fbc59e7e235919011777cc53b6604fe9495e0ad5f8227bd740cd9615
JavaScript
682
40
function transformItem(item) { if (!item) { return null; } if (typeof item !== 'object') { return item; } if (!item._id) { return item; } const copy = { ...item }; if (!copy.id) { copy.id = item._id.toString(); } Object.keys(copy).forEach((key) => { if (typeof copy[key] === '...
5960b0165287c592c60c001a705d9842bd4f1bab723d783b59ee4396e16e872e
JavaScript
701
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"...
0aac8c0d7407b3382a8b41f3a0f334f83b4940654a007142c50abc2433bbcf16
JavaScript
703
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Ole hyvä ja anna ...
ceacab3576f2dc1df71bb0dee35010f8e169cbe0a08b7bd35d99bff881a7b176
JavaScript
708
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";retur...
1d78ad52ded38db2a24c4f758550c6486c6f16fb81f650925e3d3f81be3e5eec
JavaScript
713
26
var NAVTREE = [ [ "MorphyLib", "index.html", [ [ "Data Structures", "annotated.html", [ [ "Data Structures", "annotated.html", "annotated_dup" ], [ "Data Structure Index", "classes.html", null ] ] ], [ "Files", null, [ [ "File List", "files.html", "files" ], [ "Globals", "globals.h...
7c1cd2900ef58b4b1c6410c694819ccf0cc3be3a7ce171d898f31a5329d3e2bb
JavaScript
716
24
module.exports = { extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', ], parser: '@typescript-eslint/parser', parserOptions: { project: 'tsconfig.json', sourceType: 'module', }, plug...
caabf97befbc786a70f6e6439341807d1d27c589d8763e6a7a09c51f14808cce
JavaScript
720
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girm...
3a20f3c108fe72e5c6b7734d0d0c35c0dda368e8e86f8b833d4936994f03e41b
JavaScript
727
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Túl hosszú. "+t+"...
bb4059972c1c1bf335e63c14e57c0573363c74e285c0aafc9c984084d216cefd
JavaScript
727
8
var searchData= [ ['shape',['shape',['../classtina__main_1_1dataset.html#ab982ddc4fc723a69d9ccf3ba61465d99',1,'tina_main::dataset']]], ['skelfolder',['skelfolder',['../classtina__main_1_1dataset.html#aba9145a76d98724a42b485257627b292',1,'tina_main::dataset']]], ['spacing',['spacing',['../classtina__main_1_1datase...
0df0556c66d2c31bc17dbd2fc97078aed0e93519838f6ee5f99ff2eb3debd4c0
JavaScript
728
34
// DB_USER=root // DB_URL=127.0.0.1 // DB_PASSWORD=123456 // First step: // sequelize-auto -o "./server/schema/scread_v1" -d scread_v1 -h YOUR_DB_HOST -u YOUR_USERNAME -p 3306 -x YOUR_PASSWORD -e mysql import Sequelize from 'sequelize' import dotenv from 'dotenv' dotenv.config() const screadV2 = new Sequelize( `my...
36683cad5c52db73770baace8de0ef18a6cc69ad4c9192e4eaf4b9145dc19060
JavaScript
739
38
/* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { return sequelize.define( 'de_meta', { id: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, autoIncrement: true }, data_id: { type: DataTypes.CHAR(50), a...
2a3442f76dd358bdc044d91bfc57827c0b74537926dcc7176a7328d7934af352
JavaScript
742
8
var searchData= [ ['cell_5fbased_5fanalysis',['cell_based_analysis',['../namespaceanalyze__ocn.html#a5e040aab8ca7f9d6b429628a9414c203',1,'analyze_ocn.cell_based_analysis()'],['../namespacetinana.html#af308f1f9597782c51f87e1bfcc59f54b',1,'tinana.cell_based_analysis()']]], ['check_5fget_5fattributes',['check_get_attr...
97f8760de42cd843ddfc1393019b7305465364588cf1b43043c6b7150aaddbf6
JavaScript
742
9
var searchData= [ ['zm',['zm',['../classtinaviz_1_1voi__shifter.html#a4f07b752dc8f7477f344bf9abeb52006',1,'tinaviz::voi_shifter']]], ['zmax',['zmax',['../classtinaviz_1_1voi__shifter.html#adec0d9f547743ae16f2b4877c44f3326',1,'tinaviz::voi_shifter']]], ['zproj',['zproj',['../classanalyze__ocn_1_1Result.html#ab181b...
e4c955f8bc6f142a325e776ba1f6b935e01a54dabbdfcd15b32816d84f79acb8
JavaScript
750
6
var searchData= [ ['_5f_5finit_5f_5f',['__init__',['../classanalyze__ocn_1_1Result.html#a4b1912566f2934b807f4b00948ee14be',1,'analyze_ocn.Result.__init__()'],['../classtina__main_1_1dataset.html#a4680f78e3dc056eddf22243b3b6b0386',1,'tina_main.dataset.__init__()'],['../classtinacell_1_1Cell.html#af9b74c26324f90e7b9359...
e1c72eaf081e689392ce4f7b645a652768f851e3d6e3bfe6675e1f77597d9396
JavaScript
752
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function...
278745cdb1b9eda821043e71d4f9a45111d28b9cba032b62260725f62abedf3d
JavaScript
769
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.inp...
a5ebce54437c0f889b20694386b3f49d58f2542bf7b1deac290623eecca0da8f
JavaScript
769
8
var searchData= [ ['make_5fdegree_5fhistogram',['make_degree_histogram',['../namespacetinaui.html#a11d817a12528a3cebf5ce0f1ae89a848',1,'tinaui']]], ['make_5flength_5fhistogram',['make_length_histogram',['../namespacetinaui.html#a477ab7ba0ad9dcc9a3937ed871037287',1,'tinaui']]], ['make_5fprojection_5fimages',['make...
7572ae43fb90b5f5994171c18abd66c99bd4f76808029d64730535892747dd9f
JavaScript
772
9
var searchData= [ ['remotefolder',['remotefolder',['../classtina__main_1_1dataset.html#ac86715e927bdd13549b79bf24ff08678',1,'tina_main::dataset']]], ['resfolder',['resfolder',['../classtina__main_1_1dataset.html#aca46f7156dc00246a3f4393919e0b13a',1,'tina_main::dataset']]], ['rnplot',['rnplot',['../classanalyze__o...
e97045432a4a6685e2e3afdc5b9a024151676cebd5d2d99bb3296422e7f68cd2
JavaScript
773
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/is",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vinsamlegast styttið ...
99ec00cbed79cad01b8d3ab166b1198f7a7d29e6c68c132985cda6225a607801
JavaScript
775
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";r...
9ad8c2229988615c3908b7fb2298c15a9e95b45cdd2a1fd8b5916da487884ad7
JavaScript
775
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/de",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Bitte "+t+" Zeich...
6b89dfde64e33de2b3aeba14ede24306a1131c2e26338f25ea2081d5031f6492
JavaScript
779
16
// a real file download (not a new tab/window) for a blob: URL - handing one // to window.open doesn't reliably render or save anywhere: a real browser // tab often just shows it inline with no way to save it, and the desktop // app's pywebview/WebView2 window doesn't treat window.open specially at // all - it hands th...
21a5907fd6af230c0d3ecef75bc2dbebfea2a2f3205bbe1c01654a6d49668549
JavaScript
783
33
/** * Creating a sidebar enables you to: - create an ordered group of docs - render a sidebar for each doc of that group - provide next/previous navigation The sidebars can be generated from the filesystem, or explicitly defined here. Create as many sidebars as you want. */ // @ts-check /** @type {import('@d...
810337a7f618fa18d9f68c27dced2b649607a8ae02631141253ae44ef202c8af
JavaScript
785
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:funct...
5041abe02d42b36d2cda268c0739960dec3d865560f21f59419bd5a701a7c172
JavaScript
786
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:functi...
fbe6ed8fb519ad705b84a1127c8fb3ffa6316095c09644f13c81176ad795439e
JavaScript
791
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong...
6e96495492b884cda1bd84481d913e00f1233ebaabf4f072b98b64e447bb3573
JavaScript
792
28
const Joi = require('joi'); module.exports = { schema: Joi.object().keys({ id: Joi.string(), delete: Joi.boolean(), description: Joi.string().required(), name: Joi.string().required(), owningConsortium: Joi.string().required(), shared: Joi.boolean(), steps: Joi.array().items( Joi.ob...
58e6e360cdaf2b83a02ea1fc7d2e47ff6e5efc68eabc03b0b21404c098944ff9
JavaScript
800
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/gl",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Elimine ";return t===...
656a490cf06d45b0c9dd8c90e19d362dee81467374811c5202817362a144ecdc
JavaScript
801
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng nhập ít hơn ...
43ea333b3d432f634138f232a54f2f8e80b1682899a89dab63bfc9050723ac19
JavaScript
818
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:...
2d2de69e2129dee3c2ae59d100c0fb1ac446cf93fa142894d867ae75343a5c50
JavaScript
822
10
var searchData= [ ['etubes',['etubes',['../classtina__main_1_1dataset.html#a044030fd8f47648aac3be6b97ed843f8',1,'tina_main::dataset']]], ['expd',['expd',['../namespacetinana.html#a79fcc271a81e986977264d387ae96e12',1,'tinana']]], ['expfit',['expfit',['../namespacetinana.html#aeb92ec2daa8355eec41e0fbc5b387b2a',1,'t...
07e38e668bac1f025af94b9fe3c0f85f37cf252282437bc7fcb89d4fef4a4f47
JavaScript
827
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:f...
e647ba7dc4f989c29157c60fc9f7dcbae610cd94c85f003c5845c046af8c2c77
JavaScript
833
9
var searchData= [ ['fig',['fig',['../classtina__main_1_1dataset.html#ad5f46873785d99f80b713b6e7642b06d',1,'tina_main::dataset']]], ['fig_5fheight',['fig_height',['../namespaceanalyze__ocn.html#a8ac7bfcd5f6ba4c189247f6fdce17514',1,'analyze_ocn']]], ['fig_5fsize',['fig_size',['../namespaceanalyze__ocn.html#aaf438ee...
f376e7a2d4f368dc199b23a14184fa52544a7e5ab6b6a4d69fb59df5235b635f
JavaScript
839
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hr",[],function(){function e(e){var t=" "+e+" znak";return e%10<5&&e%10>0&&(e%100<5||e%100>19)?e%10>1&&(t...
a66c929792014fa6d281c395ba0e67fb9d7c0b1aa919feb7454627c1f76afa6f
JavaScript
844
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return t==1?...
7b1384a8c53160942a590288647cb3d4c779374acb9dc5bb3113943a9efd6223
JavaScript
848
10
var searchData= [ ['idx',['idx',['../classtinacell_1_1Cell.html#a450192a9dc64632077e019cf34eb0300',1,'tinacell::Cell']]], ['imgdict',['imgdict',['../classtina__main_1_1dataset.html#a3e2994d294361c8e972d8f32bf0b8237',1,'tina_main::dataset']]], ['inches_5fper_5fpt',['inches_per_pt',['../namespaceanalyze__ocn.html#a...
89535f02358e75e2c662c3f2e78252a90ef443b2c63bb4fd06c8477a8b356284
JavaScript
848
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(e){var t=e...
3c3d2d8f0fc2b4e5227adef2fd44c9dc3220fa52aa9a688724f8686f1329bdaf
JavaScript
850
12
var struct_m_p_lndsets = [ [ "downpass1", "struct_m_p_lndsets.html#a636d17296c700fa0d53d24613e0a82ed", null ], [ "downpass2", "struct_m_p_lndsets.html#a100330eb682b74ef3ad024d93ebbc948", null ], [ "subtree_actives", "struct_m_p_lndsets.html#a192284dec75366a5c10b6b883ac4c9cd", null ], [ "subtree_downpass...
9df699429cd2ace149d1546cc449a51fa6b35657114298a533bfae1d96c3debd
JavaScript
853
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},in...
3d9aa76bb79a4a369dbd958e17e1305f4a10f4c0f58c746946ab2fde27995c77
JavaScript
854
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(e){var t=...
d0799be481b684f16784ccd816330ecdae4e22a244883ed696a1f2e980cdcd00
JavaScript
859
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},input...
dff11b93b0a8ab21b6a39f6f41b268502c8d1d0f9cf98e5be714da0478eb4d3c
JavaScript
863
32
/* eslint-disable no-empty */ const { EXIST_TIMEOUT } = require('../lib/constants'); const logIn = async ({ username, password }, app) => { await app.click('#username', { timeout: EXIST_TIMEOUT }); await app.fill('#username', username); await app.fill('#password', password); await app.click('button:has-text("...
caa57cc8af9bcff712f570550d44266ca4b2903b171dcaa0c6529b3f2c4321dc
JavaScript
871
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"La carga falló"},inputTooLong:function(e){var t=e...
9bff72bab17683fa0b24fa05b2b172c943a8a0e8d275ee71f632e59558186baf
JavaScript
872
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lv",[],function(){function e(e,t,n,r){return e===11?t:e%10===1?n:r}return{inputTooLong:function(t){var n=...
7f57fccf6698620aabe9cbfb01413fa2976353f5c850300cbf3b12bce0e46690
JavaScript
876
3
/*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){v...