content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
/** * */ package org.appfuse.webapp.client.application; import javax.validation.Validation; import javax.validation.ValidatorFactory; import org.appfuse.webapp.client.proxies.LookupConstantsProxy; import org.appfuse.webapp.client.proxies.RoleProxy; import org.appfuse.webapp.client.proxies.UserProxy; import org.app...
__label__POS
0.818825
package org.appfuse.webapp.client.application; import org.appfuse.webapp.client.application.base.security.LoginEvent; import org.appfuse.webapp.client.application.base.security.LogoutEvent; import org.appfuse.webapp.client.requests.ApplicationRequestFactory; import org.appfuse.webapp.client.ui.Shell; import com.googl...
__label__POS
0.990586
package org.appfuse.webapp.client.application; /** * Interface to represent the messages contained in resource bundle: * /home/opt/workspaces * /AppFuse/appfuse.git/web/gwt/target/classes/org/appfuse/webapp * /client/application/ApplicationResources.properties'. */ public interface ApplicationResources extends co...
__label__POS
0.779667
/** * */ package org.appfuse.webapp.client.application; import javax.validation.Validator; import org.appfuse.webapp.client.proxies.UserProxy; import org.appfuse.webapp.client.ui.login.LoginView; import org.appfuse.webapp.client.ui.upload.FileUploadBean; import org.appfuse.webapp.client.ui.users.updatePassword.Upd...
__label__POS
0.996669
/** * */ package org.appfuse.webapp.client.application; import java.util.ArrayList; import java.util.List; import org.appfuse.webapp.client.application.base.place.EntitySearchPlace; import org.appfuse.webapp.client.application.utils.menu.MenuItem; import org.appfuse.webapp.client.proxies.RoleProxy; import org.appf...
__label__POS
0.817251
package org.appfuse.webapp.client.requests; import java.util.List; import org.appfuse.webapp.client.proxies.UserProxy; import org.appfuse.webapp.client.proxies.UsersSearchCriteriaProxy; import org.appfuse.webapp.server.GwtServiceLocator; import org.appfuse.webapp.server.services.UserRequestService; import com.google...
__label__POS
0.697467
/** * */ package org.appfuse.webapp.client.ui.login; import com.google.gwt.place.shared.Place; import com.google.gwt.place.shared.PlaceTokenizer; import com.google.gwt.place.shared.Prefix; /** * @author ivangsa * */ public class LoginPlace extends Place { private static final String TOKEN_PREFIX = "login";...
__label__POS
0.949325
/** * */ package org.appfuse.webapp.client.ui.navigation; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.ApplicationMenu; import org.appfuse.webapp.client.application.ApplicationResources; import org.appfuse.webapp.client.application.base.place.EntityProxyPlac...
__label__POS
0.791284
/** * */ package org.appfuse.webapp.client.ui.home; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractBaseActivity; import com.google.gwt.event.shared.EventBus; import com.google.gwt.user.client.ui.AcceptsOneWidget; import com.google.inject...
__label__POS
0.994212
/** * */ package org.appfuse.webapp.client.ui.logout; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractBaseActivity; import org.appfuse.webapp.client.application.base.security.LogoutEvent; import com.google.gwt.event.shared.EventBus; impor...
__label__POS
0.8166
/** * */ package org.appfuse.webapp.client.ui.users.editUser; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import org.appfuse.webapp.client.proxies.RoleProxy; import com.google.gwt.cell.client.AbstractCell; import com.google.gwt.cell.client.Cell; import com.googl...
__label__POS
0.716398
/** * */ package org.appfuse.webapp.client.ui.users.editUser; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractProxyEditActivity; import org.appfuse.webapp.client.application.base.place.EntitySearchPlace; import org.appfuse.webapp.client.pro...
__label__POS
0.924444
/** * */ package org.appfuse.webapp.client.ui.users.editProfile; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractProxyEditActivity; import org.appfuse.webapp.client.proxies.RoleProxy; import org.appfuse.webapp.client.proxies.UserProxy; imp...
__label__POS
0.802403
/** * */ package org.appfuse.webapp.client.ui.users.search; import java.util.List; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractProxySearchActivity; import org.appfuse.webapp.client.application.utils.tables.CustomColumn; import org.app...
__label__POS
0.88691
/** * */ package org.appfuse.webapp.client.ui.users.active; import java.util.List; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractBaseActivity; import org.appfuse.webapp.client.proxies.UserProxy; import org.appfuse.webapp.client.ui.home....
__label__POS
0.809077
/** * */ package org.appfuse.webapp.client.ui.users.updatePassword; import java.util.Set; import javax.validation.ConstraintViolation; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractBaseActivity; import org.appfuse.webapp.client.proxies....
__label__POS
0.614343
/** * */ package org.appfuse.webapp.client.ui.users.updatePassword; import org.appfuse.webapp.client.ui.users.updatePassword.UpdatePasswordView.UserCredentials; import com.google.gwt.place.shared.Place; import com.google.gwt.place.shared.PlaceTokenizer; import com.google.gwt.place.shared.Prefix; /** * @author iva...
__label__POS
0.997213
/** * */ package org.appfuse.webapp.client.ui.users.signUp; import org.appfuse.webapp.client.application.Application; import org.appfuse.webapp.client.application.base.activity.AbstractProxyEditActivity; import org.appfuse.webapp.client.application.base.security.LoginEvent; import org.appfuse.webapp.client.proxies.U...
__label__POS
0.894449
package org.appfuse.webapp.client.application.base.activity; import com.google.gwt.activity.shared.Activity; import com.google.gwt.event.shared.EventBus; import com.google.gwt.inject.client.AsyncProvider; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.g...
__label__POS
0.778573
package org.appfuse.webapp.client.application.base.request; import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.requestfactory.shared.RequestTransport; import com.google.web.bindery.requestfactory.shared.ServerFailure; /** * Wraps {@link RequestTransport} to post events as requests are...
__label__POS
0.604876
package org.appfuse.webapp.client.application.base.request; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.HandlerRegistration; /** * An event posted whenever an RPC request ...
__label__POS
0.647053
/** * */ package org.appfuse.webapp.client.application.base.place; import java.util.logging.Logger; import org.appfuse.webapp.client.application.ApplicationProxyFactory; import com.google.gwt.place.shared.Place; import com.google.gwt.place.shared.PlaceTokenizer; import com.google.gwt.place.shared.Prefix; import c...
__label__POS
0.912774
package org.appfuse.webapp.client.application.base.place; import com.google.gwt.place.shared.Place; import com.google.gwt.place.shared.PlaceTokenizer; import com.google.gwt.place.shared.Prefix; import com.google.web.bindery.requestfactory.shared.EntityProxy; import com.google.web.bindery.requestfactory.shared.EntityPr...
__label__POS
0.985347
/** * */ package org.appfuse.webapp.client.application.base.security; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.HandlerRegistration; /** * @author ivangsa * */ publ...
__label__POS
0.965906
/** * */ package org.appfuse.webapp.client.application.base.security; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.HandlerRegistration; /** * @author ivangsa * */ publ...
__label__POS
0.965079
/** * */ package org.appfuse.webapp.client.application.base.security; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.HandlerRegistration; /** * @author ivangsa * */ publ...
__label__POS
0.96413
/** * */ package org.appfuse.webapp.client.application.base.security; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.HandlerRegistration; /** * @author ivangsa * */ publ...
__label__POS
0.96642
package org.appfuse.webapp.client.application.utils.menu; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import org.appfuse.webapp.client.proxies.RoleProxy; import com.google.gwt.dom.client.Element; import com.google.gwt.place.shared.Place; public class MenuIt...
__label__POS
0.946064
package org.appfuse.webapp.client.application.utils.tables; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import com.google.gwt.user.cellview.client.CellTable; import com.google.gwt.user.cellview.client.Col...
__label__POS
0.833882
package org.appfuse.webapp.client.application.utils.tables; import com.google.gwt.cell.client.Cell; import com.google.gwt.cell.client.Cell.Context; import com.google.gwt.cell.client.ClickableTextCell; import com.google.gwt.cell.client.FieldUpdater; import com.google.gwt.safehtml.shared.SafeHtml; import com.google.gwt....
__label__POS
0.873176
package org.appfuse.webapp.action; import com.opensymphony.xwork2.conversion.TypeConversionException; import org.apache.struts2.util.StrutsTypeConverter; import org.appfuse.util.DateUtil; import java.text.ParseException; import java.util.Date; import java.util.Map; /** * This class implements a Struts Type Converte...
__label__POS
0.869777
package org.appfuse.webapp.action; import org.apache.struts2.ServletActionContext; import org.appfuse.webapp.listener.StartupListener; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; /** * This class is used to reload the drop-downs initialized in the * Startu...
__label__POS
0.921706
package org.appfuse.webapp.action; import org.appfuse.model.User; import org.appfuse.webapp.util.RequestUtil; import org.springframework.mail.MailException; import org.springframework.security.core.userdetails.UsernameNotFoundException; import java.util.ArrayList; import java.util.List; /** * Action class to send p...
__label__POS
0.630529
final RegExp timerRegExp = RegExp(r'(?:(?<hours>\d*)h)? ?(?:(?<minutes>\d*)m)?'); int? parseTime(String timerStr) { int? res = int.tryParse(timerStr); if (res != null) { return res; } final matches = timerRegExp.firstMatch(timerStr); if (matches == null) { return null; } final hours = int.tr...
__label__POS
0.968217
<div class="sidebar"> <!-- Tip 1: You can change the color of the sidebar using: data-color="blue | green | orange | red" --> <div class="sidebar-wrapper"> <div class="logo"> <a href="/" class="simple-text logo-mini"> ط م </a> <a href="/" class="simple-text logo-n...
__label__POS
0.988691
<aside class="sidebar"> <div class="sidebar-container"> <div class="sidebar-header"> <div class="brand"> <div class="logo"> <span class="l l1"></span> <span class="l l2"></span> <span cla...
__label__POS
0.897556
<!-- Sidebar --> <div class="sidebar"> <div class="sidebar-header"> <img src="/static/assets/images/logos/fresh-square.svg"> <a class="sidebar-close" href="javascript:void(0);"><i data-feather="x"></i></a> </div> <div class="inner"> ...
__label__POS
0.968734
import 'package:appflowy_editor/appflowy_editor.dart'; import 'package:appflowy_editor_plugins/appflowy_editor_plugins.dart'; import 'package:flutter/cupertino.dart'; import 'package:universal_platform/universal_platform.dart'; import 'emoji_menu.dart'; const _emojiCharacter = ':'; final _letterRegExp = RegExp(r'^[a-...
__label__POS
0.813103
import 'package:appflowy_editor/appflowy_editor.dart'; class DocumentValidator { const DocumentValidator({ required this.editorState, required this.rules, }); final EditorState editorState; final List<DocumentRule> rules; Future<bool> validate(Transaction transaction) async { // deep copy the d...
__label__POS
0.978964
<?php /** * Created by PhpStorm. * User: petergallagher * Date: 30/03/15 * Time: 13:25. */ /** * ModelSearch class allows for generic searching of a model. * * With the ModelSearch class it is possible to specify through paramaters which attributes for a model should be * searchable and how. It will then use ...
__label__POS
0.736425
<?php class EventDefaults extends CApplicationComponent { protected EventType $event_type; protected array $elements; protected array $context; public function forEventType(EventType $event_type): EventDefaults { $this->event_type = $event_type; $this->elements = array(); r...
__label__POS
0.86057
import 'dart:ui'; import 'package:appflowy/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart'; import 'package:appflowy/plugins/document/presentation/editor_plugins/simple_table/simple_table.dart'; import 'package:appflowy/plugins/document/presentation/editor_plugins/toggle/toggle_block...
__label__POS
0.879489
<?php /** * Copyright OpenEyes Foundation, 2017 * * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any lat...
__label__POS
0.876328
<?php /** * OpenEyes. * * * Copyright OpenEyes Foundation, 2017 * * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
__label__POS
0.885674
/* * Map of Turkey * @author: Burak Özdemir <https://github.com/ozdemirburak> * @source: https://upload.wikimedia.org/wikipedia/commons/2/2e/BlankMapTurkishProvincesRegions.svg */ jQuery.fn.vectorMap("addMap","turkey",{"width": 1052, "height": 744, paths:{"01":{path:"M 518.88945,536.62132 C 518.88945,536.07132 518....
__label__POS
0.918728
/** Add Algeria Map Data Points */ jQuery.fn.vectorMap('addMap', 'dz_fr', {"width": 600, "height": 400, "paths": {"1": {"path":"M 268.306 457.87 c 0 0 2.249 -0.725 2.249 -0.725 c 0 0 -0.496 -2.893 -0.496 -2.893 c 0 0 -3.133 -7.454 -3.133 -7.454 c 0 0 -2.249 -3.262 -2.249 -3.262 c 0 0 0.031 -6.131 0.031 -6.131 c 0 0 -1....
__label__POS
0.744413
/** Add World Map Data Points */ jQuery.fn.vectorMap('addMap', 'europe_en', {"width":950,"height":550,"paths":{"ee":{"path":"m 579.52752,247.70418 -14.10713,-0.50382 -8.94292,5.46651 -0.12596,4.0558 5.79401,5.46652 18.01178,3.04815 -0.62978,-17.53316 0,0 m -27.73563,10.02615 -3.90466,-0.12596 -2.26721,2.29241 1.63743,2...
__label__POS
0.679655
/** Add World Map Data Points */ jQuery.fn.vectorMap('addMap', 'north-america_en', {"width":950,"height":550,"paths":{"mx":{"path":"m 330.70592,371.79351 8.52959,26.86025 -3.97341,2.22511 0.44149,5.3332 7.50533,5.77469 v 10.68406 l 9.27129,8.90044 -3.97341,-26.24217 -5.29788,-17.35939 1.32447,-12.00853 4.4149,0.44149 1...
__label__POS
0.876151
/** Add World Map Data Points */ jQuery.fn.vectorMap('addMap', 'asia_en', {"width":950,"height":550,"paths":{"id":{"path":"m 615.27242,460.80117 -3.29462,12.37981 -17.87084,6.03301 -5.34842,-6.27548 -2.59577,0.71313 4.84924,18.71232 7.25958,0.81296 9.6842,3.66545 v 3.66545 l 4.43562,-0.81296 6.46089,-8.94255 v -7.31664...
__label__POS
0.82395
/** Add World Map Data Points */ jQuery.fn.vectorMap('addMap', 'africa_en', {"width":950,"height":550,"paths":{"dz":{"path":"m 419.83634,8.1546547 -9.8215,-3.2979062 -40.87478,7.6790665 -8.90675,6.764318 5.44034,28.092384 -16.24881,0.649952 -9.77336,15.719217 -23.27792,5.584776 0.0722,11.434346 76.6703,58.616072 13.071...
__label__POS
0.71075
import 'package:appflowy/plugins/document/presentation/editor_plugins/plugins.dart'; import 'package:appflowy_editor/appflowy_editor.dart'; import 'package:flutter/material.dart'; extension InsertFile on EditorState { Future<void> insertEmptyFileBlock(GlobalKey key) async { final selection = this.selection; ...
__label__POS
0.884503
<?php /** * OpenEyes. * * * Copyright OpenEyes Foundation, 2017 * * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at y...
__label__POS
0.87929
<?php class PincodeHelper { public static function generatePincode() { $temp_pincode = sprintf("%06d", mt_rand(0, 999999)); while(!self::validatePincode($temp_pincode)) { $temp_pincode = sprintf("%06d", mt_rand(0, 999999)); } return $temp_pincode; ...
__label__POS
0.999995
<?php class EventStepObserver { /** * @param array $params * @throws JsonException * @throws Exception */ public function createEvent(array $params) { /** * @var $step PathwayStep */ $step = $params['step']; // We only want to capture steps tha...
__label__POS
0.799249
<?php /** * OpenEyes. * * * Copyright OpenEyes Foundation, 2017 * * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
__label__POS
0.91579
<?php /** * OpenEyes. * * * Copyright OpenEyes Foundation, 2017 * * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at y...
__label__POS
0.909582
<?php /** * Created by PhpStorm. * User: petergallagher * Date: 26/03/15 * Time: 12:45. */ class MenuHelper { protected $menuOptions; protected $user; protected $uri; /** * @var CApplication */ protected $app; public function __construct(array $menuOptions, OEWebUser $user, $uri ...
__label__POS
0.761398
<!-- -------- START FOOTER 3 w/ COMPANY DESCRIPTION WITH LINKS & SOCIAL ICONS & COPYRIGHT ------- --> <footer class="footer py-5"> <div class="container"> <div class="row"> <div class="col-lg-8 mb-4 mx-auto text-center"> <a href="javascript:;" target="_blank" class="text-secondary me-xl-...
__label__POS
0.807515
<!-- ========================================================= * Material Kit 2 - v3.0.0 ========================================================= * Product Page: https://appseed.us/product/material-kit/flask/ * Copyright 2021 Creative Tim (https://www.creative-tim.com) * Licensed under MIT (https://www.creative-tim.c...
__label__POS
0.651224
<?php class DisplayDeletedEventsBehavior extends CActiveRecordBehavior { private const HIDDEN = 0; private const ALL_USER_GROUPED = 2; private const ADMIN_TIMELINE = 3; private const ADMIN_GROUPED = 4; private function canViewDeletedEvents() { $enabled = intval(SettingMetadata::model()->...
__label__POS
0.82889
import 'package:appflowy/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart'; import 'package:appflowy_editor/appflowy_editor.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:numerus/roman/roman.dart'; class NumberedListIcon extends...
__label__POS
0.680638
#!/bin/bash -l read -r -p "Enter username of the mysql user: " USERNAME read -r -p "Enter password of the mysql user: " PASSWORD ## default DB connection variables # If database user / pass are empty then set from environment variables of from docker secrets (secrets are the recommended approach) # Note that this scr...
__label__POS
0.885325
.section-nucleo-icons{ padding: 100px 0; .icons-container{ position: relative; max-width: 450px; height: 300px; max-height: 300px; margin: 0 auto; i{ font-size: 34px; position: absolute; top: 0; left: 0; ...
__label__POS
0.789411
@include media-breakpoint-up(lg) { .rtl { .navbar-vertical { .navbar-nav { .collapse, .collapsing { .nav-item { .nav-link { &:before { right: $rtl-sidebar-bullet-right !important; left: auto !important; } ...
__label__POS
0.683995
<?php abstract class BaseEventTemplate extends BaseActiveRecordVersioned { public $template_data = null; abstract public function setupAndSave($event, $event_template, $template_json): bool; abstract public function getUpdateStatus($event, $old_data, $new_data, $data_has_changed); public function upd...
__label__POS
0.828297
<?php class PathwayStepTypePresetAssignment extends BaseActiveRecordVersioned { public static array $duration_period = [1 => 'days', 2 => 'weeks', 3 => 'months', 4 => 'years']; /** * @return string the associated database table name */ public function tableName() { return 'pathway_st...
__label__POS
0.72009
<?php /** * Created by PhpStorm. * User: PATELH3 * Date: 03/12/2015 * Time: 10:50. */ class DicomFiles extends BaseActiveRecordVersioned { /** * Returns the static model of the specified AR class. * * @return UserFirm the static model class */ public static function model($className =...
__label__POS
0.903533
<?php /** * Class ReferenceData * Contains constants for reference data levels */ final class ReferenceData { public const ALL_LEVELS = array( self::LEVEL_INSTALLATION, self::LEVEL_INSTITUTION, self::LEVEL_SITE, self::LEVEL_SPECIALTY, self::LEVEL_SUBSPECIALTY, sel...
__label__POS
0.610484
import 'package:appflowy/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart'; import 'package:appflowy/plugins/document/presentation/editor_plugins/simple_table/simple_table_cell_block_component.dart'; import 'package:appflowy/plugins/document/presentation/editor_plugins/simple_table/simp...
__label__POS
0.631116
import 'package:appflowy/plugins/document/presentation/editor_plugins/simple_table/simple_table_shortcuts/simple_table_command_extension.dart'; import 'package:appflowy_editor/appflowy_editor.dart'; import 'package:appflowy_editor_plugins/appflowy_editor_plugins.dart'; import 'package:flutter/material.dart'; final Com...
__label__POS
0.695683
<?php /** * This is the model class for table "procedure_risk". * * The followings are the available columns in table 'procedure_risk': * * @property int $id * @property int $risk_id * @property int $proc_id */ class ProcedureRisk extends BaseActiveRecordVersioned { /** * Returns the static model of th...
__label__POS
0.978635
@include media-breakpoint-up(lg) { .rtl { .navbar-vertical { .navbar-nav { .collapse, .collapsing { .nav-item { .nav-link { &:before { right: $rtl-sidebar-bullet-right !important; left: auto !important; } ...
__label__POS
0.683995
import 'package:appflowy/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_edit_menu.dart'; import 'package:appflowy/plugins/document/presentation/editor_plugins/toolbar_item/custom_link_toolbar_item.dart'; import 'package:appflowy_editor/appflowy_editor.dart'; extension LinkExtension on EditorSta...
__label__POS
0.883515
<?php /** * This is the model class for table "event_image_status". * * The followings are the available columns in table 'event_image_status': * @property integer $id * @property string $name * * The followings are the available model relations: * @property EventImage[] $eventImages */ class EventImageStatus...
__label__POS
0.877808
:og:description: Vite vs. Webpack - Key differences and use cases Vite vs. Webpack ================ .. title:: Vite vs. Webpack - Key differences and use cases .. meta:: :description: Let's dive into how Vite and Webpack approach things differently. When it comes to modern web development, choosing the right bu...
__label__POS
0.707257
WSGI ==== WSGI (Web Server Gateway Interface) is a specification for a standardized interface between web servers and Python web applications or frameworks. It defines how a web server communicates with Python web applications and how these applications can be chained together to process a request. .. include:: /_t...
__label__POS
0.958342
<?php /** * Created by PhpStorm. * User: PATELH3 * Date: 26/11/2015 * Time: 14:03. */ class DicomFileLog extends BaseActiveRecordVersioned { protected $auto_update_relations = true; /** * Returns the static model of the specified AR class. * * @return Benefit the static model class */...
__label__POS
0.985209
<?php class MediaData extends BaseActiveRecordVersioned { /** * Returns the static model of the specified AR class. * * @return ProtectedFile the static model class */ public static function model($className = __CLASS__) { return parent::model($className); } /** * ...
__label__POS
0.998492
<?php class m210111_035237_add_institution_id_to_worklist extends OEMigration { public function safeUp() { $this->addOEColumn('worklist_display_context', 'institution_id', 'int(10) unsigned', false); $this->addOEColumn('worklist_definition_display_context', 'institution_id', 'int(10) unsigned',...
__label__POS
0.991749
<?php class m190315_072355_allergies_to_sets extends OEMigration { public function safeUp() { // Make a link to sets in allergies table $this->addColumn("ophciexamination_allergy", "medication_set_id", "INT null"); $this->addColumn("ophciexamination_allergy_version", "medication...
__label__POS
0.826692
<?php class m211209_091302_create_followup_analysis_aggregate_table extends OEMigration { public function safeUp() { $this->createOETable( 'followup_analysis_aggregate', [ 'id' => 'pk', 'patient_id' => 'int(10) unsigned NOT NULL', 'event_id' =...
__label__POS
0.921956
<?php class m181108_003245_create_levenshtein_function extends OEMigration { // Use safeUp/safeDown to do migration with transaction public function safeUp() { // Source: https://stackoverflow.com/questions/4671378/levenshtein-mysql-php $this->execute(' CREATE FUNCTION levenshtein( s1 VARCHAR(...
__label__POS
0.696038
<?php class m190812_122500_update_view_v_patient_details extends CDbMigration { public function safeUp() { $this->execute("CREATE OR REPLACE VIEW `v_patient_details` AS select `p`.`id` AS `patient_id`, `p`.`hos_num` AS `hos_num`, `p`.`nhs_num` AS `nhs...
__label__POS
0.621722
<?php class m220211_083440_change_generated_columns_to_normal_stored_columns extends OEMigration { public function safeUp() { $tables_to_change = [ 'patient_identifier_type' => 'uk_unique_row_str', 'patient_identifier_type_display_order' =>'uk_unique_row_str', 'patie...
__label__POS
0.762885
<?php class m131128_111820_primary_key_for_proc_opcs_assignment extends CDbMigration { public function up() { $this->addColumn('proc_opcs_assignment', 'id', 'int(10) unsigned NOT NULL'); $this->dbConnection->createCommand('alter table proc_opcs_assignment drop primary key;')->query(); ...
__label__POS
0.698973
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using AppGet.CommandLine; using AppGet.Commands; using AppGet.Exceptions; using AppGet.Infrastructure.Composition; using AppGet.Infrastructure.Logging; using AppGet.PackageRepository; using AppGet.Update; using DryIoc; using NLog;...
__label__POS
0.813403
using System; using System.IO; namespace AppGet.Manifest { public static class TagHelper { private static readonly char[] TrimChars = { '.', ':', '@' }; private static int IndexOfTag(string text) { return text?.IndexOfAny(new[] { '_', ':', '@' }) ?? -1; } ...
__label__POS
0.967386
using System.IO; using AppGet.FileSystem; using AppGet.HostSystem; using AppGet.Http; using AppGet.Infrastructure.Logging; using Moq.AutoMock; using NLog; using NUnit.Framework; namespace AppGet.Tests { public abstract class TestBase<T> where T : class { protected AutoMocker Mocker { get; private set;...
__label__POS
0.980954
<?php class m210413_052527_add_created_institution_id_column_to_contact_table extends OEMigration { public function safeUp() { // Contacts will be accessible by any institution, but only the creating institution can edit or delete them. $this->addOEColumn('contact', 'created_institution_id', 'i...
__label__POS
0.912948
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using AppGet.Http; using AppGet.Windows.WindowsInstaller; namespace AppGet.Update { public class NovoClient { private readonly IHttpClient _httpClient; private const string NOVO_ROOT = "https:...
__label__POS
0.821196
using System.Collections.Generic; using System.Linq; using AppGet.Installers.Requirements; using AppGet.Manifest; namespace AppGet.Manifests { public interface IFindInstaller { Installer GetBestInstaller(List<Installer> installers); List<InstallerCompatibility> ProcessRequirements(List<Install...
__label__POS
0.879175
using System; using System.Collections.Generic; using AppGet.Manifest; using AppGet.Update; namespace AppGet.CommandLine { public static class TableHelper { public static void ShowTable(this IEnumerable<PackageManifest> packages) { var table = new ConsoleTable("ID", "Name", "Versio...
__label__POS
0.982998
// https://github.com/khalidabuhakmeh/ConsoleTables // https://github.com/khalidabuhakmeh/ConsoleTables/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace AppGet.CommandLine { public class ConsoleTable { ...
__label__POS
0.897031
using System; using System.Threading.Tasks; using AppGet.Extensions; using AppGet.Infrastructure.Eventing; using AppGet.ProgressTracker; namespace AppGet.CommandLine { public class ConsoleProgressReporter : IHandle<ProgressUpdatedEvent> { private static string _lastState = ""; private const in...
__label__POS
0.936071
<?php class m190303_185200_add_report_views extends CDbMigration { public function safeUp() { $this->execute("CREATE OR REPLACE VIEW `v_patient_events` AS SELECT `p`.`id` AS `patient_id`, `ev`.`id` AS `event_id`, `ep`.`id` AS `episode_id`, `ev`.`event_type_id` AS `ev...
__label__POS
0.991965
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AppGet.FileSystem; using AppGet.HostSystem; using AppGet.Infrastructure.Eventing; using AppGet.Installers.Events; using AppGet.Manifest; namespace AppGet.AppData { public class InstalledPackage { pub...
__label__POS
0.732773
<?php class m190402_121449_add_new_columns_to_contact_table extends CDbMigration { public function up() { $this->addColumn('contact', 'active', 'TINYINT(1) DEFAULT 1'); $this->addColumn('patient_contact_assignment', 'comment', 'text'); $this->addColumn('contact', 'national_code', 'VARCH...
__label__POS
0.995641
using System; using AppGet.Exceptions; using AppGet.Manifest; namespace AppGet.Installers { public class InstallerException : AppGetException { public PackageManifest PackageManifest { get; } public string LogPath { get; } public ExistReason ExitReason { get; } public int ExitC...
__label__POS
0.634895
<?php class m190912_091418_migrate_tags_to_medication_sets extends OEMigration { public function up() { $this->execute('UPDATE ophciexamination_risk_tag t JOIN tag tg ON tg.id = t.`tag_id` SET medication_set_id = (SELECT id FROM medication_set mst WHERE...
__label__POS
0.977893
using System; using System.Collections.Generic; using System.Linq; using AppGet.Manifest.Serialization; namespace AppGet.Installers { public class DiffGenerator<T> { private readonly Dictionary<string, T> _before; private readonly Dictionary<string, T> _after; public DiffGenerator(IEnu...
__label__POS
0.853291