content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CommandLine;
using CommandLine.Text;
using JetBrains.Annotations;
namespace AppGet.Commands
{
public interface IParseOptions
{
AppGetOption Parse(params string[] args);
}
[UsedImplicitly]
public cla... | __label__POS | 0.679766 |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using AppGet.Installers;
namespace AppGet.Commands
{
public static class CommandOptionExtensions
{
public static InstallInteractivityLevel GetInteractivityLevel(this IVariableInteractivityCommand options)
{
... | __label__POS | 0.999586 |
using System.Text;
using System.Text.RegularExpressions;
namespace AppGet.Extensions
{
public static class StringExtensions
{
private static readonly Regex AlphanumericRegex = new Regex("[\\W_]", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public static bool IsNullOrWhiteSpace(this stri... | __label__POS | 0.994782 |
using System;
using System.IO;
using AppGet.Manifest;
namespace AppGet.HostSystem
{
public interface IPathResolver
{
string TempFolder { get; }
string InstallerCacheFolder { get; }
string AppDataDirectory { get; }
string GetInstallerLogFile(string packageId);
string GetI... | __label__POS | 0.71331 |
using System;
using AppGet.Manifest.Hash;
using Microsoft.Win32;
using NLog;
namespace AppGet.HostSystem
{
public class MachineId
{
private readonly Logger _logger;
private readonly ICalculateHash _hash;
public MachineId(Logger logger, ICalculateHash hash)
{
_logge... | __label__POS | 0.649712 |
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace AppGet.HostSystem
{
public static class BuildInfo
{
static BuildInfo()
{
var assembly = Assembly.GetExecutingAssembly();
var fvi = FileVersionInfo.GetVersionInfo(assembly.Locatio... | __label__POS | 0.991645 |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using AppGet.Http;
using AppGet.Manifest.Builder;
using AppGet.Manifest.Serialization;
namespace AppGet.Manifests.Submission
{
public class SubmissionResponse
{
public string PullReq... | __label__POS | 0.679319 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using AppGet.Commands;
using AppGet.Infrastructure.Eventing;
using AppGet.Infrastructure.Eventing.Events;
using AppGet.Installers.InstallerWhisperer;
using AppGet.Installers.UninstallerWhisperer;
using DryIoc;
... | __label__POS | 0.791446 |
<?php
class m221013_105300_add_v_patient_base_iop_view extends CDbMigration
{
public function safeUp()
{
$this->execute("CREATE OR REPLACE
ALGORITHM = UNDEFINED VIEW `v_patient_base_iop` AS
select
`iop`.`patient_id` AS `patient_id`,
`iop`.`event_id` AS `event_id`... | __label__POS | 0.993842 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using WindowsInput;
namespace AppGet.CommandLine.Prompts
{
public abstract class PromptBase<T> : IPrompt<T>
{
private readonly IKeyboardSimulator _keyboardSimulator = new InputSimulator().Keyboard;
publ... | __label__POS | 0.762826 |
using System;
using System.Collections.Generic;
namespace AppGet.CommandLine.Prompts
{
public class BooleanPrompt : PromptBase<Boolean>
{
private static readonly HashSet<string> Yes = new HashSet<string>
{
"true",
"yes",
"y"
};
private stati... | __label__POS | 0.835339 |
# SQL Server Bulk Copy console app
This is a C# console app that copies data between Microsoft SQL Server databases. Example use:
AppHarbor.SqlServerBulkCopy.exe --srcserver=db000.appharbor.net --srcusername=dbxx --srcpassword=srcpassword --srcdatabasename=dbxx --dstserver=.\SQLEXPRESSADV --dstusername=dbyy --dst... | __label__POS | 0.958997 |
using System;
using System.Collections.Generic;
using AppGet.Manifest;
using AppGet.Update;
namespace AppGet.Installers.UninstallerWhisperer
{
public interface IInstaller
{
Dictionary<int, ExistReason> ExitCodes { get; }
InstallMethodTypes InstallMethod { get; }
string InteractiveArgs {... | __label__POS | 0.808104 |
<?php
class m170222_132650_add_new_fields_to_drug_set_item extends CDbMigration
{
public function up()
{
$this->addColumn('drug_set_item', 'route_id', 'INT(10) UNSIGNED');
$this->addColumn('drug_set_item', 'route_option_id', 'INT(10) UNSIGNED');
$this->addColumn('drug_set_item_version'... | __label__POS | 0.996383 |
using System.Collections.Generic;
using AppGet.Manifest;
namespace AppGet.Installers.InstallerWhisperer
{
public class SetupFactoryWhisperer : InstallerBase
{
// https://www.indigorose.com/webhelp/suf9/Program_Reference/Setup_Return_Codes.htm
public override Dictionary<int, ExistReason> ExitCo... | __label__POS | 0.600681 |
using System;
using System.Collections.Generic;
using AppGet.HostSystem;
using AppGet.Installers.UninstallerWhisperer;
using AppGet.Manifest;
namespace AppGet.Installers.InstallerWhisperer
{
public abstract class InstallerBase : IInstaller
{
public virtual Dictionary<int, ExistReason> ExitCodes { get; ... | __label__POS | 0.794473 |
using AppGet.HostSystem;
using AppGet.Manifest;
namespace AppGet.Installers.Requirements.Specifications
{
public class OsArchitectureSpecification : IEnforceRequirements
{
private readonly IEnvInfo _envInfo;
public OsArchitectureSpecification(IEnvInfo envInfo)
{
_envInfo =... | __label__POS | 0.905066 |
<?php
class m220822_083000_convert_contact_new_format extends OEMigration
{
public function safeUp()
{
$this->dbConnection->createCommand("
INSERT INTO address (contact_id, address_type_id , address1, address2, city, postcode, county, country_id)
SELECT c.id AS 'contact_id', a.address_t... | __label__POS | 0.981805 |
using System;
using System.IO;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public class SymmetricEncryption : Encryption
{
private readonly SymmetricAlgorithm _algorithm;
private readonly byte[] _secretKey;
public SymmetricEncryption(SymmetricAlgorithm algorithm, byte[] secretKey)
... | __label__POS | 0.633206 |
using System;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public abstract class Encryption : IDisposable
{
public virtual void Dispose()
{
}
public abstract byte[] Encrypt(byte[] valueBytes, byte[] initializationVector = null);
public abstract byte[] Decrypt(byte[] encryptedVal... | __label__POS | 0.994027 |
using System;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public class KeyedHashValidation : Validation
{
private readonly KeyedHashAlgorithm _algorithm;
public KeyedHashValidation(KeyedHashAlgorithm algorithm, byte[] secretKey)
{
_algorithm = algorithm;
_algorithm.Key = secr... | __label__POS | 0.607845 |
using System;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public abstract class Validation : IDisposable
{
public virtual void Dispose()
{
}
public abstract byte[] ComputeSignature(byte[] data);
public abstract byte[] Sign(byte[] data);
public abstract byte[] StripSignature(... | __label__POS | 0.997164 |
<?php
class m200818_130923_add_patient_identifier_type_id_to_worklist_definition extends OEMigration
{
public function safeUp()
{
$this->addOEColumn('worklist_definition', 'patient_identifier_type_id', 'int(11) NOT NULL', true);
$institution_id = $this->getDbConnection()->createCommand("SELEC... | __label__POS | 0.788318 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AppGet.CreatePackage.Parsers
{
public static class VersionParser
{
private static readonly Regex[] VersionRegexes =
{
new Regex(@"\d+(\.\d+){1,3}", RegexOptions.Compil... | __label__POS | 0.629996 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Newtonsoft.Json;
namespace AppGet.Manifest.Builder
{
[DebuggerDisplay("{Value} [{Values.Count}]")]
public class ManifestAttribute<T>
{
private readonly Func<T, object> _secondarySort;
public ... | __label__POS | 0.720951 |
<?php
class m200223_184900_fix_missing_version_columns_before_set_default extends OEMigration
{
public function up()
{
/**
* This runs before m200223_184911_fix_columns_with_no_defaults_that_arent_set to patch some
* customer databases that were missing correctly migrated _version tab... | __label__POS | 0.809009 |
<?php
class m210526_123400_migrate_patient_mobile_to_contact extends OEMigration
{
protected $patient_table = null;
protected $contact_table = null;
public function __construct()
{
$this->patient_table = Yii::app()->db->schema->getTable('patient', true);
$this->contact_table = Yii::app... | __label__POS | 0.990688 |
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace AppGet.Manifest.Serialization
{
public static class Json
{
public static readonly JsonSerializer Serializer;
public static readonly JsonSerializerSettings Set... | __label__POS | 0.989493 |
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace AppGet.Manifest.Serialization
{
public static class Yaml
{
private static readonly IDeserializer Deserializer = new Deserialize... | __label__POS | 0.993281 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using YamlDotNet.Core;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.ObjectGraphVisitors;
namespace AppGet.Manifest.Serialization
{
public sealed class YamlDefaultGraphVisitor : ChainedObjectGraphVisitor
{
pu... | __label__POS | 0.957341 |
using System;
using System.Linq;
using AppGet.PackageRepository;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Tests.PackageRepository
{
[TestFixture]
public class RepositoryRegistryFixture : TestBase<RepositoryRegistry>
{
[Test]
public void add_repo()
{
... | __label__POS | 0.974007 |
using System;
using System.Collections.Generic;
using System.Linq;
using AppGet.Manifest;
using AppGet.Manifest.Serialization;
using NUnit.Framework;
namespace AppGet.Tests.Manifests
{
[TestFixture]
public class PackageManifestFixture : TestBase<object>
{
[Test]
public void print_sample_ma... | __label__POS | 0.815367 |
using System.Diagnostics;
using System.Linq;
using AppGet.Windows;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Tests.Windows
{
[TestFixture]
public class ManagementObjectFixture : TestBase<ManagementObject>
{
[Test]
public void get_result()
{
var pro... | __label__POS | 0.985767 |
<?php
class m180815_071733_add_set_common_subspecialty_medications extends CDbMigration
{
public function safeUp()
{
$common_oph_id = $this->dbConnection->createCommand()->select('id')->from('medication_usage_code')->where('usage_code = :usage_code', [':usage_code' => 'COMMON_OPH'])->queryScalar();... | __label__POS | 0.634216 |
using System;
using System.Collections.Generic;
using System.Linq;
using AuthenticationExample.Web.Model;
using AuthenticationExample.Web.PersistenceSupport;
namespace AuthenticationExample.Web
{
public class InMemoryRepository : IRepository
{
private static IDictionary<Type, IDictionary<Guid, object>> _dictionar... | __label__POS | 0.973795 |
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AppHarbor.Web.Security;
using AuthenticationExample.Web.Model;
using AuthenticationExample.Web.PersistenceSupport;
using AuthenticationExample.Web.ViewModels;
namespace AuthenticationExample.Web.Controllers
{
public class UserController :... | __label__POS | 0.854059 |
using AppGet.Installers;
using AppGet.Windows.WindowsInstaller;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Tests.Installers
{
[TestFixture]
public class DiffGeneratorFixture
{
[Test]
public void diff_should_return_empty_for_same_list()
{
var instal... | __label__POS | 0.92351 |
using System;
using System.Linq;
using AppGet.Manifest.Serialization;
using AppGet.Windows.WindowsInstaller;
using FluentAssertions;
using Newtonsoft.Json;
using NUnit.Framework;
namespace AppGet.Tests.Windows.WindowsInstaller
{
[TestFixture]
public class WindowsInstallerClientFixture : TestBase<WindowsInstal... | __label__POS | 0.616511 |
<?php
class m230718_042507_adding_index_to_active_columns extends CDbMigration
// In response to Admin-->Core-->Users page being slow to load.
{
public function safeUp()
{
if ($this->dbConnection->createCommand("SHOW INDEX FROM user_authentication WHERE Key_name = 'idx_user_authentication_active'")->qu... | __label__POS | 0.888282 |
using System;
using AppGet.Infrastructure.Eventing;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Tests.Infrastructure.Hub
{
public class EventA : IEvent
{
}
public class EventB : IEvent
{
}
public class HubFixture : TestBase<AppGet.Infrastructure.Eventing.Hub>
{
... | __label__POS | 0.934306 |
using System;
using AppGet.HostSystem;
using AppGet.Installers.Requirements.Specifications;
using AppGet.Manifest;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Tests.Requirements.Specifications
{
[TestFixture]
public class MinOsVersionSpecificationFixture : TestBase<MinOsVersionSpecificatio... | __label__POS | 0.907411 |
<?php
class m200424_155043_sort_workflow_element_set_order extends CDbMigration
{
public function safeUp()
{
$processed_workflow_id = 1;
$position = 0;
$criteria = new CDbCriteria();
$criteria->order = 'workflow_id asc, position asc';
$data_provider = new CActiveDataProv... | __label__POS | 0.914289 |
using AppGet.CommandLine.Prompts;
using AppGet.CreatePackage.Root.Prompts;
using AppGet.Manifest.Builder;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Tests.CreatePackage.Root.Prompts
{
[TestFixture]
[Explicit]
public class HomePagePromptFixture : TestBase<HomePagePrompt>
{
... | __label__POS | 0.746805 |
using AppGet.Manifest.Builder;
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Manifest.Tests.Builder
{
[TestFixture]
public class ManifestAttributeCandidateFixture
{
[Test]
public void should_use_string_as_source()
{
var attr = new ManifestAttributeCand... | __label__POS | 0.995723 |
using FluentAssertions;
using NUnit.Framework;
namespace AppGet.Manifest.Tests.Serialization
{
[TestFixture]
public class YamlFixture
{
[Test]
public void should_not_serialize_empty_args()
{
var manifest = new PackageManifest
{
Args = new Ins... | __label__POS | 0.94941 |
<UserControl x:Class="AppGet.Gui.Controls.DialogHeaderView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http:... | __label__POS | 0.999847 |
using System;
using System.ComponentModel;
using AppGet.Gui.Controls;
using AppGet.Installers;
using AppGet.PackageRepository;
namespace AppGet.Gui.Views.Shared
{
public static class DialogFactory
{
public static DialogViewModel CreateDialog(this Exception ex)
{
var headerVm = new ... | __label__POS | 0.992544 |
<?php
class m220801_153813_fix_cvi_view extends OEMigration
{
public function up()
{
$this->dbConnection->createCommand("
CREATE OR REPLACE VIEW v_patient_cvi_status AS
SELECT e.patient_id AS patient_id,
e.event_id AS event_id,
e.event_date AS event_date,
cvi.cvi_status_id AS cv... | __label__POS | 0.999809 |
<?php
class m180809_064900_medication_allergy_assignment extends OEMigration
{
public function up()
{
$this->createOETable('medication_allergy_assignment', array(
'id' => 'pk',
'medication_id' => 'INT NOT NULL',
'allergy_id' => 'INT NOT NULL'
), true);
... | __label__POS | 0.98216 |
<?php
class m200415_234202_add_patient_phone_number_mandatory_admin_param extends CDbMigration
{
public function safeUp()
{
$radio_button_field_type_id = $this->dbConnection->createCommand()
->select('id')
->from('setting_field_type')
->where('name = :name', array(':... | __label__POS | 0.716992 |
using System;
using System.Configuration;
using System.Threading.Tasks;
using System.Web;
using ConsolR.Core.Models;
using ConsolR.Core.Services;
using Newtonsoft.Json;
using SignalR;
using SignalR.Hosting;
namespace ConsolR.Hosting
{
public class ExecuteEndPoint : PersistentConnection
{
public static TimeSpan Ex... | __label__POS | 0.780821 |
using System;
using System.Collections.Specialized;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Configuration;
namespace ConsolR.Hosting
{
public class BasicAuthenticator
{
private const string AuthCookieName = "consolr-auth";
private readonly static s... | __label__POS | 0.785825 |
<?php
class m200223_184911_fix_columns_with_no_defaults_that_arent_set extends OEMigration
{
public function up()
{
// GENERAL EVENT
$this->alterOEColumn('event', 'delete_pending', 'TINYINT(1) UNSIGNED NOT NULL DEFAULT 0', true);
// FIX DELETED DEFAULTS
$tables_without_default_... | __label__POS | 0.709562 |
<?php
class m140730_145611_fix_measurement_reference_keys extends OEMigration
{
public function safeUp()
{
$this->dropForeignKey('measurement_reference_episode_id_fk', 'measurement_reference');
$this->dropForeignKey('measurement_reference_event_id_fk', 'measurement_reference');
$this->... | __label__POS | 0.988208 |
<?php
class m190403_161000_add__more_report_views extends CDbMigration
{
public static $diagnosis_view_definition = <<<EOSQL
CREATE OR REPLACE VIEW `v_patient_diagnoses` AS
SELECT
`p`.`patient_id` AS `patient_id`,
`p`.`eye_id` AS `eye_id`,
`p`.`side` AS `side`,
`d`.`id` AS `... | __label__POS | 0.999494 |
<?php
class m180828_063658_add_ref_set_common_systemic_medications extends CDbMigration
{
public function safeUp()
{
$common_sys_id = $this->dbConnection->createCommand()->select('id')->from('medication_usage_code')->where('usage_code = :usage_code', [':usage_code' => 'COMMON_SYSTEMIC'])->queryScalar()... | __label__POS | 0.898943 |
<?php
class m220616_213104_nod_amd_audit extends CDbMigration
{
public function up()
{
$query = <<<EOL
CREATE OR REPLACE VIEW v_patient_oct AS
SELECT p.id AS patient_id,
ev.event_date AS event_date,
'R' AS eye,
gae.crt AS crt,
gae.... | __label__POS | 0.999921 |
this.pdfMake = this.pdfMake || {}; this.pdfMake.vfs = {
"Roboto-Italic.ttf": "AAEAAAASAQAABAAgR0RFRrRCsIIAAjGsAAACYkdQT1P/GhLXAAI0EAAAXcxHU1VC64LkWQACkdwAABWQT1MvMpeCsVIAAAGoAAAAYGNtYXABd1geAAAbWAAAEkZjdnQgBLst2gAAMKAAAABSZnBnbXP3H6sAAC2gAAABvGdhc3AACAATAAIxoAAAAAxnbHlm8oCfSQAAOxQAAfIkaGRteDpbTGEAABZAAAAFGGhlYWT8pdJl... | __label__POS | 0.67506 |
<?php
class m200805_123030_archive_unused_drug_tables_following_dmd_import extends OEMigration
{
public function safeUp()
{
$this->renameOETable('medication_allergy_assignment', 'archive_medication_allergy_assignment', true);
$this->renameOETable('medication_common', 'archive_medication_common'... | __label__POS | 0.996128 |
<?php
class m200408_234753_remove_unused_empty_contacts extends CDbMigration
{
public function safeUp()
{
$this->execute("
update contact cont
left join address a on cont.id = a.contact_id
left join commissioning_body b on cont.id = b.contact_id
left join... | __label__POS | 0.770967 |
<footer class="footer section py-5">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-lg-6 mb-4 mb-lg-0">
<p class="mb-0 text-center text-xl-left">
© <a class="text-primary font-weight-normal" href="https://t... | __label__POS | 0.698261 |
<?php
class m200803_011347_modify_contact_table_character_set_collation extends OEMigration
{
public function up()
{
// fixes issues introduced by m190403_233858_increase_contact_name_size_for_practice_name and m200716_060218_realign_contact_table_with_versioned
$this->alterOEColumn('contact',... | __label__POS | 0.987674 |
<?php
class m220627_052230_remove_redundant_medication_set_auto_rule_medication_rows extends OEMigration
{
// Use safeUp/safeDown to do migration with transaction
public function safeUp()
{
// Find the medication set ids used in the medication_set_auto_rule_medication table that are associated with redundant rows... | __label__POS | 0.724894 |
<script>
ScreenController.index();
</script>
<h2 onclick="navigator.notification.alert('Touched h1')">Screen</h2>
<div class="list">
<a class="opensLayer item item-text-wrap" data-location="/views/rotations/index.html">
Rotations
</a>
<a class="performsTest item item-text-wrap" data-location="testFreez... | __label__POS | 0.994089 |
<h2>animation</h2>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testCurlUpFast">
perform fast curlUp
</a>
<a class="performsTest item item-text-wrap" data-location="testCurlUp">
perform curlUp
</a>
<a class="performsTest item item-text-wrap" data-location="testCurlDow... | __label__POS | 0.999626 |
<?php
class m161021_102624_genetic_patient_relations extends OEMigration
{
public function up()
{
$this->dropForeignKey('patient_mother_id_fk', 'patient');
$this->dropIndex('patient_mother_id_fk', 'patient');
$this->dropColumn('patient', 'mother_id');
$this->dropForeignKey('pa... | __label__POS | 0.738705 |
<div class="list">
<h3>Styling</h3>
<a class="performsTest item item-text-wrap" data-location="testLoadTheme_default">
testLoadTheme_default
</a>
<a class="performsTest item item-text-wrap" data-location="testLoadTheme_green">
testLoadTheme_green
</a>
<a class="performsTest item item-text-wrap" data... | __label__POS | 0.926984 |
<h2>Input Test</h2>
<label class="item item-input">
<span class="input-label">Text input</span>
<input type="text">
</label>
<label class="item item-input">
<span class="input-label">Number input</span>
<input type="number">
</label>
<p>Also test the input down below pls v</p>
<div class="list">
<a class... | __label__POS | 0.62638 |
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testShow">
show({view: webview})
</a>
<a class="performsTest item item-text-wrap" data-location="testShowDisableAnimation">
show(disableAnimation: true})
</a>
<a class="performsTest item item-text-wrap" data-location="testSh... | __label__POS | 0.990814 |
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testPreloadedCommandCenter">
testPreloadedCommandCenter()
</a>
<a class="performsTest item item-text-wrap" data-location="testPreloadedCommandCenter2">
testPreloadedCommandCenter2() - preloaded views
</a>
<a class="perfor... | __label__POS | 0.978757 |
<div class="list" id="ready" style="min-height: 3.5em;">
</div>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testNativeInputShow">
testNativeInputShow()
</a>
<a class="performsTest item item-text-wrap" data-location="testNativeInputShow_style">
testNativeInputShow_style(... | __label__POS | 0.97152 |
<div class="list" id="ready">
</div>
<h2>Push Plugin</h2>
<a class="opensLayer item item-text-wrap" data-location="/views/plugin/pushPlugin.html">
Push Plugin
</a>
<h2>Accelerometer</h2>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="accelerometerTest">
Test accelerometer
</a... | __label__POS | 0.954047 |
<footer class="footer section py-5">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-lg-6 mb-4 mb-lg-0">
<p class="mb-0 text-center text-xl-left">
© <a class="text-primary font-weight-normal" href="https://t... | __label__POS | 0.694895 |
<script src="../../javascripts/sqliteplugin.js"></script>
<script src="../../javascripts/persistencejs/lib/persistence.js"></script>
<script src="../../javascripts/persistencejs/lib/persistence.store.sql.js"></script>
<script src="../../javascripts/persistencejs/lib/persistence.store.websql.js"></script>
<script>
... | __label__POS | 0.979608 |
<?php
class m200403_161944_patient_merge_related_table_changes extends OEMigration
{
public function safeUp()
{
$this->renameOEColumn('patient_merge_request', 'primary_hos_num', 'primary_local_identifier_value', true);
$this->renameOEColumn('patient_merge_request', 'primary_nhsnum', 'primary_gl... | __label__POS | 0.999666 |
<div class="list">
<h2>Allowed Rotation / Orientation</h2>
<a class="performsTest item item-text-wrap" data-location="testAllowPortraitUpsideDown">
testAllowPortraitUpsideDown
</a>
<a class="performsTest item item-text-wrap" data-location="testAllowPortrait">
testAllowPortrait
</a>
<a class="perfor... | __label__POS | 0.788818 |
<div class="list">
<a class="opensLayer item item-text-wrap" data-location="views/webview/index.html">
webview
</a>
<a class="opensLayer item item-text-wrap" data-location="views/previewfileview/index.html">
previewfileview
</a>
<a class="opensLayer item item-text-wrap" data-location="views/mapvie... | __label__POS | 0.735805 |
<h2>DRAWER CENTER 1</h2>
<p><b>Remember to also test loading drawer from config/application.coffee!</b></p>
<div class="list">
<h2> Show </h2>
<a class="performsTest item item-text-wrap" data-location="testShow">
testShow() - enables drawers, shows left one as default
</a>
<a class="performsTest item item-... | __label__POS | 0.620253 |
<h2>Left</h2>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testHide">
testHide()
</a>
<a class="performsTest item item-text-wrap" data-location="testShowRight">
Show right
</a>
<a class="performsTest item item-text-wrap" data-location="testShowModal">
testShow... | __label__POS | 0.996141 |
<h2>Right</h2>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testHide">
testHide()
</a>
<a class="performsTest item item-text-wrap" data-location="testShowLeft">
Show left
</a>
<h2>Center view replacing</h2>
<a class="performsTest item item-text-wrap" data-locati... | __label__POS | 0.96678 |
<?php
class m210608_050813_add_index_statistics_to_patient_tables extends OEMigration
{
public function up()
{
$this->dbConnection->createCommand("ALTER TABLE patient stats_persistent=1")->execute();
$this->dbConnection->createCommand("ALTER TABLE contact stats_persistent=1")->execute();
... | __label__POS | 0.999415 |
<script>
TabbarController.index();
</script>
<h2>tabbar</h2>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testHide">
hide()
</a>
<a class="performsTest item item-text-wrap" data-location="testShow">
show()
</a>
<a class="performsTest item item-text-wrap" data-locat... | __label__POS | 0.999351 |
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testOnSuccessWithOpen">
open should trigger onsuccess
</a>
<a class="opensLayer item item-text-wrap" data-location="/views/webview/popAll.html">
open one more to popAll
</a>
<a class="performsTest item item-text-wrap" da... | __label__POS | 0.657082 |
<div class="list" id="ready" style="min-height: 3.5em;">
</div>
<h2>Steroids</h2>
<h3>Views</h3>
<div class="list">
<a class="opensLayer item item-text-wrap" data-location="/views/initview/index.html">
Initial View
</a>
<a class="opensLayer item item-text-wrap" data-location="/views/layers/index.html">
... | __label__POS | 0.995216 |
<script>
NavigationbarController.index();
</script>
<h2>navigationbar</h2>
<div class="list">
<a class="performsTest item item-text-wrap" data-location="testHideAnimated">
hide(animated: true)
</a>
<a class="performsTest item item-text-wrap" data-location="testShowAnimated">
show(animated: true)
</a... | __label__POS | 0.795394 |
<?php
class m200909_142753_delete_hos_num_and_nhs_num_from_views extends OEMigration
{
public function safeUp()
{
// update v_patient_episodes to include status
$this->execute("CREATE OR REPLACE
ALGORITHM = UNDEFINED VIEW `v_patient_episodes` AS
select
`p`.`id` AS `p... | __label__POS | 0.937398 |
package com.helloworld;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import com.facebook.react.LifecycleState;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactRootView;
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
import c... | __label__POS | 0.903718 |
<?php
class m200430_091427_event_add_institution_and_site_ids extends OEMigration
{
public function safeUp()
{
$institution_code = Yii::app()->params['institution_code'];
$this->addOEColumn('event', 'institution_id', 'int(10) unsigned NOT NULL', true);
$this->addOEColumn('event', 'sit... | __label__POS | 0.896887 |
//
// OHPathHelpers.m
// Pods
//
// Created by Olivier Halligon on 18/04/2015.
//
//
#import "OHPathHelpers.h"
NSString* OHPathForFile(NSString* fileName, Class inBundleForClass)
{
NSBundle* bundle = [NSBundle bundleForClass:inBundleForClass];
return OHPathForFileInBundle(fileName, bundle);
}
NSString* OH... | __label__POS | 0.793968 |
<?php
class m200211_124300_fix_old_medication_views extends CDbMigration
{
public function up()
{
$this->execute("DROP VIEW IF EXISTS medication_old;");
$this->execute("CREATE OR REPLACE
ALGORITHM = UNDEFINED VIEW `patient_medication_assignment` AS
select
`meds_entr... | __label__POS | 0.905005 |
<?php
class m181002_060619_add_keys_to_med_tables extends CDbMigration
{
public function up()
{
$this->execute("ALTER TABLE `medication_form` ADD KEY (`term`);
ALTER TABLE `medication_form` ADD INDEX (`source_type`);
ALTER TABLE `medication` ADD KEY (`vmp_code`);
... | __label__POS | 0.970776 |
<?php
class m191029_172959_move_sets_to_autoset extends CDbMigration
{
/**
* @return bool|void
* @throws CDbException
* @throws Exception
*/
public function safeUp()
{
// convert medication set items to auto rules
$this->execute("INSERT INTO medication_set_auto_... | __label__POS | 0.645292 |
<?php
class m170502_184511_tags_feature extends OEMigration
{
public function safeUp()
{
$this->createOETable('tag', array(
'id' => 'pk',
'name' => 'string NOT NULL',
'active' => 'TINYINT NOT NULL DEFAULT 1'
), true);
$this->createIndex('idx_tag_name... | __label__POS | 0.845135 |
<?php
class m160216_150501_store_pcr_risk_options extends OEMigration
{
public function up()
{
$this->createOETable(
'pcr_risk_values',
array(
'id' => 'pk',
'patient_id' => 'INTEGER(10) UNSIGNED NOT NULL',
'eye_id' => 'INTEGER(10) ... | __label__POS | 0.605921 |
<?php
class m220712_003918_add_primary_institution_id_column_to_patient extends OEMigration
{
public function safeUp()
{
$this->addOEColumn('patient', 'primary_institution_id', 'int(10) unsigned', true);
$this->addForeignKey(
'patient_primary_i_fk',
'patient',
... | __label__POS | 0.915874 |
package com.example.reactnativehce;
import android.app.Application;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import java.util.List;
import com.reactnative... | __label__POS | 0.894039 |
<?php
class m131108_154456_remove_access_level extends CDbMigration
{
public function up()
{
$this->dropColumn('user', 'access_level');
}
public function down()
{
$this->addColumn('user', 'access_level', 'tinyint(1) unsigned not null default 0');
$this->execute('update use... | __label__POS | 0.869622 |
<?php
class m160714_084347_constrain_worklist_attributes extends OEMigration
{
public function up()
{
$to_delete = array();
$current_worklist_patient_id = null;
$current_attr_ids = array();
foreach ($this->dbConnection->createCommand()->select('*')->from('worklist_patient_attrib... | __label__POS | 0.766968 |
<?php
class m220222_164000_add_institution_and_site_to_event_view extends CDbMigration
{
public function safeUp()
{
// update v_patient_events to add institution and site columns
$this->execute("CREATE OR REPLACE
ALGORITHM = UNDEFINED VIEW `v_patient_events` AS
select
`p`.`id` AS `patient_i... | __label__POS | 0.991971 |
<?php
class m200519_015850_increase_value_column_size_for_settings extends OEMigration
{
public function up()
{
$this->alterOEColumn('setting_firm', 'value', 'text', true);
$this->alterOEColumn('setting_installation', 'value', 'text', true);
$this->alterOEColumn('setting_institution', '... | __label__POS | 0.986521 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.