text
stringlengths
27
775k
pos(less_toxic(b1,a1)). pos(less_toxic(g1,a1)). pos(less_toxic(j1,a1)). pos(less_toxic(k1,a1)). pos(less_toxic(m1,a1)). pos(less_toxic(n1,a1)). pos(less_toxic(o1,a1)). pos(less_toxic(q1,a1)). pos(less_toxic(r1,a1)). pos(less_toxic(s1,a1)). pos(less_toxic(w1,a1)). pos(less_toxic(x1,a1)). pos(less_toxic(y1,a1...
// Copyright 2021 One App Stack Authors. All rights reserved. // Use of this source code is governed by the 3-clause BSD License that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; // import 'package:statsfl/statsfl.dart'; import 'popover/popover...
const file = document.getElementById('file') preview = document.querySelector('.preview') file.addEventListener('change', function() { [...this.files].map(file => { if (file.name.match(/\.jpe?g|png|gif|/)) { const reader = new FileReader() reader.addEventListener('load', fu...
package providers // basic ticker interface type Ticker interface { String() string Sell() float64 }
<?php namespace App\Http\Controllers; use App\CicloLectivo; use App\Grado; use Illuminate\Http\Request; class AsignacionCicloLectivoGradoController extends Controller { // public function obtenerGradosActuales() { } public function asignarCicloLectivoGrado(Grado $grado, CicloLectivo $cicloLectiv...
contextlib \-\-- Context Manager Utilities ========================================== ::: {.module synopsis="Utilities for creating and working with context managers."} contextlib ::: Purpose : Utilities for creating and working with context managers. The `contextlib` module contains utilities for working with co...
import os from flowmanager.datasets import * from flowmanager.models import FlowRegistry DB_STRING = os.environ['FILEMANAGER_DATABASE_URL'] fr = FlowRegistry(DB_STRING) for dataset in fr.list_datasets(): dataset = FlowRegistry.object_as_dict(dataset) datahub = dataset['spec'].get('meta') datahub['creat...
const ServerClass = require("./server") const path = require("path") const CLI = require("clui") const Spinner = CLI.Spinner const { execProm, writeFile, appendFile, transferContents, } = require("../utilities/misc") const baseJson = require("../templates/json/base") const expressJson = require("../templates/js...
package fm.force.quiz.core.service import fm.force.quiz.common.dto.* import fm.force.quiz.core.entity.Answer import fm.force.quiz.core.entity.DifficultyScale import fm.force.quiz.core.entity.DifficultyScaleRange import fm.force.quiz.core.entity.Question import fm.force.quiz.core.entity.Quiz import fm.force.quiz.core.e...
import * as React from 'react'; import Tab from './Tab'; import ReferenceManager from './References'; import FormatQuote from '@material-ui/icons/FormatQuote'; class ReferencePreview extends Tab { public static get title() { return 'ReferencePreview'; } public static get icon() { return FormatQuote; } pub...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Zhoubin.Infrastructure.Common.Tools; namespace Common.Test { [TestClass] public class EnumHelperTest { [TestMethod] public void TestGetEnumDescriptionDictionary() { var result = EnumHelper.GetEnumDescriptionDicti...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Learning PHP - File Handling</title> </head> <body> <?php print "<h2>readfile() function</h2>"; ...
package com.agrawalsuneet.dotsloader.loaders import android.content.Context import android.os.Handler import android.util.AttributeSet import android.view.ViewTreeObserver import android.view.animation.* import android.widget.LinearLayout import com.agrawalsuneet.dotsloader.R import com.agrawalsuneet.dotsloader.basicv...
export default function (config, apps) { // Remove Vue Script Tags document.querySelectorAll('[data-type="vue"]').forEach((scripts) => scripts.remove()); // Add Script Src to Head document.querySelectorAll('[data-type="script"]').forEach((script) => { let hs = document.createElement('script'); ...
#= This is the assembly language parser Created by: Kino Roy for CMPT 276, Assignment 1. =# module AssemblyParser function Parse(arguments) #=----------------------------------------- Initializing data structures for holding data ------------------------------------------=# instructions = Array{AbstractString}...
use std::cell::UnsafeCell; use std::rc::Rc; use rand::rngs::{adapter::ReseedingRng, OsRng}; use rand::{Rng, RngCore, SeedableRng}; use rand_chacha::ChaCha20Core; #[derive(Clone, Debug)] pub struct CryptoThreadRng { rng: Rc<UnsafeCell<ReseedingRng<ChaCha20Core, OsRng>>>, } // Number of generated bytes after which...
package prometheusx import ( "context" "io/ioutil" "log" "net/http" "strconv" "strings" "testing" "github.com/m-lab/go/rtx" ) func readMetricNumber(t *testing.T, srv *http.Server, label string) float64 { metricReader, err := http.Get("http://" + srv.Addr + "/metrics") rtx.Must(err, "Could not GET metrics")...
shared_examples_for :node_joining_merging do |node_sql| describe '#join' do context 'with string' do subject{ described_node.join('table') } specify{ expect(subject).to be_instance_of(InfluxDB::Arel::Nodes::Join) } specify{ expect(subject.right).to eq(node(:Table, 'table')) } specify{ exp...
import chroma from "chroma-js"; import { ExcalidrawElementBase } from "./elements/ExcalidrawElement"; export function hexWithAlpha(color: string, alpha: number): string { return chroma(color).alpha(alpha).css(); } export function has(el: Element, attr: string): boolean { return el.hasAttribute(attr); } export fu...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\DeptChair; class DeptChairSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DeptChair::insert([ 'user_id' => 2, 'first_name'...
/* * Copyright (c) 2002 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * -Redistributions of source code must retain the above copyright * notice, this list o...
# coding: utf-8 require "thor" require "nopbx/watcher" require "nopbx/generator" module Nopbx class CLI < Thor desc "watch", "watch project.pbxproj" def watch(pbxproj=nil) unless pbxproj then puts "nopbx : must be assigned your project.pbxproj" return end Nopbx::Watcher.wat...
:- public foo, bar/1. main :- recorded('$public', p(A, B, C)), display([A, B]), nl, '$call'(C, [123]), fail. main. foo(X) :- display(foo(X)), nl. bar(X) :- display(bar(X)), nl.
import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'package:influx/utility/youtube/api_response_dtos/channel_item.dart'; import 'package:influx/utility/youtube/api_response_dtos/page_info.dart'; part 'channel_info...
#[cfg(test)] mod test; use std::cmp::PartialEq; use super::cmd::Command; #[derive(Debug)] pub struct Instruction { pub commands: Vec<Command>, pub should_terminate: bool, } impl Instruction { pub fn new(commands: Vec<Command>, should_terminate: bool) -> Self { return Self { commands,...
#[test] fn command_prompt() { use crate::CommandPrompt; use std::borrow::Cow; // Structure for open the command prompt in a client // // # Manual // // tmux ^3.1: // ```text // tmux command-prompt [-1ikN] [-I inputs] [-p prompts] [-t target-client] [template] // ``` // /...
import {StyleSheet} from 'react-native'; export default StyleSheet.create({ container: { flex: 1, backgroundColor: '#FF8C00', padding: 20, }, backgroundArrow: (height) => ({ height: height, width: height, borderWidth: 100, borderColor: '#c9c9c9', transform: [{rotate: '45deg'}], ...
package permissions.dispatcher.test_v13 import android.Manifest import android.app.Fragment import permissions.dispatcher.NeedsPermission import permissions.dispatcher.OnNeverAskAgain import permissions.dispatcher.OnPermissionDenied import permissions.dispatcher.OnShowRationale import permissions.dispatcher.Permissio...
# get third party libs git submodule init git submodule update # compile libcuckoo cd third_party/libcuckoo cmake . make -j 10 # compile sparsehash cd ../sparsehash ./configure make -j 10 # compile flatbuffers cd ../flatbuffers cmake -G "Unix Makefiles" make -j 10 # rocksdb cd ../rocksdb make -j 10 static_lib # do...
CREATE TABLE "CTMEDIA_LICENSE" ( "MEDIA_LICENSE_ID" NUMBER NOT NULL ENABLE, "DISPLAY" VARCHAR2(68 CHAR) NOT NULL ENABLE, "DESCRIPTION" VARCHAR2(255 CHAR) NOT NULL ENABLE, "URI" VARCHAR2(255 CHAR) NOT NULL ENABLE, CONSTRAINT "PK_CTMEDIA_LICENSE" PRIMARY KEY ("MEDIA_LICENSE_ID") USING INDEX ENABLE )...
# java:latest 构建基于`OpenJDK`的Java环境。 ## 构建 ```bash docker build -t java:latest java\:latest/ podman build -t java:latest java\:latest/ ``` ## 运行 ```bash docker run -it \ --privileged=true \ --name=java \ java:latest podman run -it \ --privileged=true \ --name=java \ java:latest ```
using Microsoft.VisualStudio.TestTools.UnitTesting; using RepoDb.Attributes; using RepoDb.Exceptions; using System; using System.ComponentModel.DataAnnotations.Schema; namespace RepoDb.UnitTests.Mappers { [TestClass] public partial class PropertyMapperColumnAttributeTest { [TestInitialize] ...
package main import ( "context" "io" "log" "net/http" "net/url" "os" "strings" ) func main() { exampleFileURL := "https://x.bitfs.network/6ce94f75b88a6c24815d480437f4f06ae895afdab8039ddec10748660c29f910.out.0.3" downloadDir := "downloads" // Build fileName from fullPath fileURL, err := ...
/* KeePass Password Safe - The Open-Source Password Manager Copyright (C) 2003-2016 Dominik Reichl <dominik.reichl@t-online.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either versio...
using Documenter, JuliaForBioinformatics include("literate.jl") makedocs(; modules=[JuliaForBioinformatics], format=Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"), pages=[ "Home" => "index.md", "Introduction" => [ "01_Introduction.md" "02_DataStruct...
package es.upm.miw.betca_mongodb.documents; import java.util.Date; public class Query1Dto { private String id; private Date bornDate; private String large; public Date getBornDate() { return bornDate; } public void setBornDate(Date bornDate) { this.bornDate = bornDate; ...
package de.renew.gui; import CH.ifa.draw.framework.Drawing; import CH.ifa.draw.framework.DrawingView; import CH.ifa.draw.framework.Figure; import CH.ifa.draw.framework.FigureEnumeration; import CH.ifa.draw.framework.UndoableCommand; import java.util.Vector; /** * Associates a highlight figure to a highlightable fi...
<?php namespace App\Contracts\Business; /** * Parser Service interface * * Created by Yishi Lu. * User: Yishi Lu * Date: 2020/01/27 */ interface ParserService { //parse etfs information from url public function parseEtfs($url); //parse etfs symbol detail information from url public function pa...
import * as React from 'react'; import { Facepile, OverflowButtonType } from 'office-ui-fabric-react/lib/Facepile'; import { Dropdown, IDropdownOption } from 'office-ui-fabric-react/lib/Dropdown'; import { Slider } from 'office-ui-fabric-react/lib/Slider'; import { facepilePersonas } from '@uifabric/example-data'; impo...
--- name: " Epic Issue Template" about: Epic Issue Template that contains many child issues title: '' labels: epic assignees: '' --- ### Acceptance Criteria * sample text ### User Story * sample text ### Resources and PoC * sample text ### Related Tickets | Issue Number | Description| | --- | --- | | #1 | Sample Issu...
import { h } from "preact"; import { useRef, useEffect, useCallback } from "preact/hooks"; import { useBodyClass } from "notes/hooks/use-body-class"; import { useKeyboardShortcut, KeyboardShortcut } from "notes/hooks/use-keyboard-shortcut"; interface ModalProps { className?: string title?: string input?: boolean...
import os import mimetypes from django import test from django.core.files.uploadedfile import SimpleUploadedFile from django.http import HttpRequest from django.contrib.auth import login from django.conf import settings from importlib import import_module from pybb.models import Post, Topic, Forum from pybb.compat ...
--- uid: crmscript_ref_NSApproveRejectResponse_SetCreatedAppointmentId title: SetCreatedAppointmentId(Integer createdAppointmentId) intellisense: NSApproveRejectResponse.SetCreatedAppointmentId keywords: NSApproveRejectResponse, GetCreatedAppointmentId so.topic: reference --- # SetCreatedAppointmentId(Integer createdA...
#!/bin/sh # This file is provided by the wikibase/wdqs-proxy docker image. # Test if required environment variables have been set if [ -z "$PROXY_PASS_HOST" ]; then echo "PROXY_PASS_HOST is required but isn't set. You should pass it to docker. See: https://docs.docker.com/engine/reference/commandline/run/#set-environm...
<?php namespace App\Http\Controllers; use http\Env\Response; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Session; class WishlistController extends Controller { public function add_to_wishlist($product_id){ $customer_id= Session::get('customer_id'); ...
module Test12 where f = let x = 45 in (x + (let y = 56 in y))
use gedcomx::{ Agent, Attribution, Date, Fact, FactType, Gedcomx, GenderType, Name, NameForm, NamePart, NamePartType, Person, PersonBuilder, PlaceDescription, PlaceReference, Relationship, RelationshipBuilder, SourceCitation, SourceDescription, Uri, }; mod common; fn test_struct() -> Gedcomx { let pop...
package pl.k2net.ktalanda.maroubrascanner import pl.k2net.ktalanda.maroubrascanner.main.chart.ChartViewModel import pl.k2net.ktalanda.maroubrascanner.main.chart.ShowDetailsAction import pl.k2net.ktalanda.maroubrascanner.main.chart.UpdateChartDataAction import pl.k2net.ktalanda.maroubrascanner.main.details.DetailsViewM...
Symfony - Git Hooks === ## Hooks ### pre-commit - Run php-cs-fixer on each php committed files
-- | The standard interpreters, which perform all dynamic checks to ensure well-behavedness -- and produce trace information when execution fails. -- Currently, tracing is designed for debugging, and only the traces leading to failure -- can be expected to contain a complete log of the steps executed. -- In oth...
using Firebase.Storage; using System.IO; using System.Threading.Tasks; using trofimon.ViewModel; using Xamarin.Essentials; namespace trofimon { public class FirebaseStorageHelper { public FirebaseStorage firebaseStorage = new FirebaseStorage("trofimon-pap.appspot.com"); LoginViewModel loginVie...
import{y as e,bM as t}from"./calfSystem-54df10e3.js" import"./insertElementBefore-1b96a575.js" import{i as r}from"./insertElementAfterBegin-3912763d.js" function s(s){const o=e(s) o&&r(t,o)}export default s //# sourceMappingURL=moveRHSBoxUpOnRHS-d0e87a10.js.map
/* Copyright (c) 2018 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "base/Base.h" #include "kvstore/KVStore.h" #include "kvstore/PartManager.h" #include "kvstore/NebulaStore.h" #i...
// Copyright (c) 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. 'use strict'; /** * Tests if the gallery shows up for the selected image and that the image * gets displayed. * * @param {string} path Directory ...
import 'dart:math'; double randomic(double max){ double damageMin = max /2; int p = Random().nextInt(max.toInt() + (damageMin.toInt())); return damageMin + p; }
use std::{io::Write, path::Path, vec::Vec}; use bytes::{buf::BufMut, Bytes, BytesMut}; use image::{ self, codecs::{ jpeg::JpegEncoder, png::{CompressionType, FilterType, PngEncoder}, }, ColorType, DynamicImage, GenericImage, GenericImageView, ImageBuffer, ImageFormat, Luma, Rgb, Rgba, R...
#include "asn1/ber/pch.h" #ifndef PCH #include <string> #endif #include <asn1/ber/encoder/structure.h> #include <asn1/ber/encoder/value.h> #include <asn1/ber/decoder/printer.h> #include "../tester.h" #include <catch2/catch.hpp> void encoder_test1() { using namespace asn1::ber; using namespace asn1::ber::enc...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CardIdentifier { public partial class CardIdForm : Form { public CardIdForm() ...
%%%------------------------------------------------------------------- %%% @author alboo %%% @doc %%% %%% @end %%%------------------------------------------------------------------- -module(recognizer_sup). -author("alboo"). -behaviour(supervisor). -include_lib("traffic_light.hrl"). %% API -export([ start_link/0, ...
<?php namespace Veem\converters; use Veem\model\Payment; use Veem\model\VeemErrorResponse; class PaymentConverter extends BaseConverter { public static function convertResponse($response) { if ($response instanceof VeemErrorResponse) return $response; $payment = new Payment(); if (emp...
--- layout: issue title: "Clear cache file by name?" id: ZF-12015 --- ZF-12015: Clear cache file by name? ----------------------------------- Issue Type: Improvement Created: 2012-01-21T16:04:58.000+0000 Last Updated: 2012-01-21T16:21:30.000+0000 Status: Resolved Fix version(s): Reporter: Mathieu Decaffmeyer (mat...
import os import contextlib from avalon import io from openpype.pipeline import ( load, get_representation_path, ) from openpype.hosts.fusion.api import ( imprint_container, get_current_comp, comp_lock_and_undo_chunk ) comp = get_current_comp() @contextlib.contextmanager def preserve_inputs(too...
/** * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. * * * @providesModule toHavePropAssertion * @flow */ import type { EnzymeObject, Matcher, ObjectReductionResponse } from '../types'; import name from '../utils/name'; import reduc...
package io.ainsigne.kotlinstarter.injection.app import io.ainsigne.kotlinstarter.injection.app.AppComponent interface AppComponentProvider { fun provideBaseComponent(): AppComponent }
--- title: Announcing Linkerd2 stable-2.3.2 date: 2019-06-06T22:29:04.000+00:00 draft: true --- We are pleased to announce that [Linkerd2 stable-2.3.2](https://github.com/linkerd/linkerd2/releases/tag/stable-2.3.2) has been released! This stable release fixes a memory leak in the proxy. Full release notes are availabl...
class Home < ActiveRecord::Base belongs_to :user has_one :quotes_home, dependent: :destroy end
# Load X and y variable using JLD data = load("logisticData.jld") (X,y) = (data["X"],data["y"]) # Add bias variable, initialize w, set regularization and optimization parameters (n,d) = size(X) X = [ones(n,1) X] d += 1 w = zeros(d,1) lambda = 1 maxPasses = 500 progTol = 1e-4 verbose = true ## Run and t...
class X<D>() fun test() { bar(<caret>) } fun bar(foo: X<*>) {} // EXIST: { lookupString:"X", itemText:"X", tailText:"() (<root>)" }
const router = require('express').Router(); const canvas = require('canvas'); const path = require('path'); const jimp = require('jimp'); const gifencoder = require('gifencoder'); /** * @swagger * /canvas/gay: * get: * description: Make a image gay * tags: [Canvas] * parameters: * - name: i...
package it.polimi.deib.newdem.adrenaline.controller.actions.atoms.iteractions; import it.polimi.deib.newdem.adrenaline.controller.effects.PaymentReceipt; import it.polimi.deib.newdem.adrenaline.controller.effects.UndoException; import it.polimi.deib.newdem.adrenaline.model.game.GameChange; import it.polimi.deib.newdem...
-- The following sql code is a modified excerpt from -- /usr/share/doc/ejabberd/examples/mysql.sql.gz -- because we only need the tables "archive" and "archive_prefs". -- -- ejabberd, Copyright (C) 2002-2016 ProcessOne -- -- This program is free software; you can redistribute it and/or -- modify it under the terms o...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace System.Security.Cryptography.Tests { [SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")] public class ECDiffieHellmanPublicKeyTests ...
--- title: Installing the trace Agent from source kind: faq --- ## Install from source 1. Install `Go 1.11+`. For more information, see the steps on the [official Go website][1]. 2. Clone the [Datadog Agent repo][2] 3. Run this command in the root of the `datadog-agent` repository: ```bash go install ./cmd/tr...
<?php namespace NavOnlineInvoice; class XmlUtil { public static function addChildArray(\SimpleXMLElement $xmlNode, $name, $data) { $node = $xmlNode->addChild($name); foreach ($data as $key => $value) { if (is_array($value)) { self::addChildArray($node, $key, $value);...
<div id="fh5co-started" class="fh5co-bg-dark area_content"> <div class="overlay"></div> <div class="container"> <div class="row animate-box"> <div class="col-md-8 col-md-offset-2 text-center fh5co-heading"> <h2>Câu Nói Tôi Yêu Thích!</h2> <p>Never say all you ...
using System; using System.Collections.Generic; using System.Text; using SharpMap; using System.Drawing.Drawing2D; using System.Drawing; using GisSharpBlog.NetTopologySuite.Index.Quadtree; using GisSharpBlog.NetTopologySuite.Geometries; using SharpMap.Layers; using Ptv.Controls.Map.Interface; namespace Ptv.Controls.Ma...
import { LitElement, html, css, TemplateResult } from "lit"; import { customElement, query, queryAll } from "lit/decorators.js"; import { until } from "lit/directives/until.js"; import { repeat } from "lit/directives/repeat.js"; import "@ui5/webcomponents/dist/List.js"; import "@ui5/webcomponents/dist/StandardListItem....
const AWS = require('aws-sdk'); /** @private */ function endpointOptions(endpoint) { /* istanbul ignore next */ if (!endpoint) { return {}; } return { endpoint: new AWS.Endpoint(endpoint), }; } module.exports = { create(service) { return new AWS[service.toUpperCase()]({ ...endpointOptio...
#!/bin/bash dir1=/usr/local dir2=/var/spool pushd $dir1 # Will do an automatic 'dirs' (list directory stack to stdout). echo "Now in directory `pwd`." # Uses back-quoted 'pwd'. # Now, do some stuff in directory 'dir1'. pushd $dir2 echo "Now in directory `pwd`." # Now, do some stuff in directory 'dir2'. echo "The to...
const mongoose = require('mongoose'); const movieuserSchema = new mongoose.Schema({ userID: { type: String, required: true, trim: true }, movieID: { type: String } }, ); const blog = mongoose.model("movieuser", movieuserSchema); module.exports = blog;
import Fastify, { FastifyInstance } from 'fastify'; import fastifyCors from 'fastify-cors'; import { attachHandlers } from './endpointHandlers.js'; import { sendPlaintextEmail } from './services/mail/mail.js'; import { loop } from './services/loop.js'; import { serverConfiguration } from './util/config.js'; import { db...
// This class creates a teacher object that // contains information about the teacher public class Teacher { private String firstName, lastName, subject; // Constructor public Teacher(String firstName, String lastName, String subject) { this.firstName = firstName; this.lastName = lastName;...
using System.Collections.Generic; using System.Xml; namespace SkolniFotograf.Model.Galleries { public class GaleriesCollection { public IList<Gallery> Galleries { get; set; } public GaleriesCollection() { Galleries = new List<Gallery>(); ...
// Copyright 2016 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
Using Flask-Restful , Flask-Security to do UAC # init DB you may need to init your database please create a database `uno_web` copy the sql script in `./DB/structure.sql` for build the DB table structure and copy the sql script in `./DB/dummy_data.sql` , for build the DB table data P.S. the file under `./DB/doc/*...
#!/bin/bash # # Create a LXD Ubuntu container and profile (if necessary) to run GUI apps. Then # start it with any needed configuration. # directory on host where bind mounts are created readonly CONTAINER_MOUNTS_DIR=${HOME}/container_mounts readonly JQ_CMD="jq -rM" function usage() { echo "$(basename $0) containe...
import React, { useContext, useEffect } from 'react'; import { Redirect } from 'react-router-dom'; import { Auth } from 'aws-amplify'; import { CurrentUserContext, DaoServiceContext } from '../../contexts/Store'; const SignOut = () => { const [, setCurrentUser] = useContext(CurrentUserContext); const [daoService...
package org.simple.clinic.teleconsultlog.prescription.medicines import org.simple.clinic.drugs.PrescribedDrug import org.simple.clinic.teleconsultlog.medicinefrequency.MedicineFrequency import org.simple.clinic.widgets.UiEvent import java.time.Duration import java.util.UUID sealed class TeleconsultMedicinesEvent : Ui...
### Tools for dealing with multiple algorithms """ Algorithm information for CUDNN algorithms that offer implementation selections. $(FIELDS) Methods: [`enums`](@ref), [`times`](@ref), [`timeat`](@ref), [`bytesat`](@ref) """ struct CUDNNAlgorithm """ The enum value used to select this algorithm. This is ...
require File.expand_path('../../../../test_helper', __FILE__) require 'manacle/constraint/actuator/base' class Manacle::Constraint::Actuator::BaseTest < Test::Unit::TestCase def setup @mock_value = mock @mock_constraint = mock @actuator = Manacle::Constraint::Actuator::Base.new(@mock_value, @mock_const...
#!/bin/bash # Copyright 2018 The gVisor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
package jjcard.text.game.impl; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import jjcard.text.game.IArmour; import jjcard.text.game.IItem; import jjcard.text.game.IStatus; import jjcard.text.game....
package org.hexworks.zircon.examples.game import org.hexworks.zircon.api.* import org.hexworks.zircon.api.application.AppConfig import org.hexworks.zircon.api.builder.modifier.BorderBuilder import org.hexworks.zircon.api.color.TileColor import org.hexworks.zircon.api.component.ComponentAlignment import org.hexworks.z...
package de.clayntech.excelsea.module; import de.clayntech.excelsea.module.impl.ModuleManagerImpl; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; public class ModuleManagerTest { private ModuleManager manager; @BeforeEach public void se...
# Ridiculous Stone-Paper-Scissors ### thanks to a ridiculous PvP implementation uhm... yea i don't know what else to say. the plan is to use Firestore and create a collection that 2 people "share" to play stone paper scissors each game session is a collection which is accessed by a randomly generated ID > "crazy e...
# 第3課 ここは デパートです ## 上 ### 本课重点 1. ここ・そこ・あそこ・どこ:这里、那里、那里、哪里 2. “……在……” 3. “是……还是……” 4. 多少钱? ### 词语讲解 |日语|词性及声调|翻译|备注| |-|-:|-|-| |デパート|②[名]|百货商店|デパートメント・ストア 英 department store| |トイレ|①[名]|厕所,盥洗室|英 toilet| |ビル|①[名]|大楼,大厦|ビルデイング 英 building| |食堂(しょくどう)|[名]|食堂|| |郵便局(ゆうびんきょく)|③[名]|邮局|| |銀行(ぎんこう)|[名]|银行|金(きん) 銀(ぎん)| |図書館...
<?php namespace App\Http\Controllers\Admin; use App\Attribute; use App\Category; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class AttributesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public funct...
/* tslint:disable */ /* eslint-disable */ /** * Sifchain - gRPC Gateway docs * A REST interface for state queries, legacy transactions * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech ...
;;; -*- Mode: Lisp; Syntax: Common-Lisp; Package: RUNES; -*- ;;; --------------------------------------------------------------------------- ;;; Title: Unicode strings (called RODs) ;;; Created: 1999-05-25 22:29 ;;; Author: Gilbert Baumann <unk6@rz.uni-karlsruhe.de> ;;; License: Lisp-LGPL (See file COPYING f...
/* ----------------------------------------------------------------------------------- Laboratoire : Laboratoire 3 - 501 double out Fichier : Labo3_lagha_saez.cpp Auteur(s) : Aymen Lagha et Sébastien Saez Date : 17 octobre 2016 But : Le but de ce laboratoire est de mettre en oeuvre ...