text
stringlengths
27
775k
from django.contrib import admin from db.admin.utils import DiffModelAdmin from db.models.sso import SSOIdentity class SSOIdentityAdmin(DiffModelAdmin): pass admin.site.register(SSOIdentity, SSOIdentityAdmin)
import { combineReducers } from 'redux'; import authReducer from './authReducer'; import storeReducer from './storeReducer'; const reducers = combineReducers({ authReducer, storeReducer }); export default reducers;
use pyo3::prelude::*; mod dual; mod greedy; mod meta; mod primal; mod regularized; pub fn submodule(py: Python, m: &PyModule) -> PyResult<()> { let dual = PyModule::new(py, "dual")?; dual::submodule(py, dual)?; m.add_submodule(dual)?; let greedy = PyModule::new(py, "greedy")?; greedy::submodule(p...
#pragma once #include <algorithm> #include <functional> #include <iterator> #include <map> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include <robin_hood.h> #include "abstract_syntax_tree.hpp" #include "model.hpp" namespace pyqubo { // Expand to polynomial. // ...
CREATE TABLE `references` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL DEFAULT '' COMMENT 'i.e. foo2018', `title` varchar(250) DEFAULT '', `authors` varchar(250) DEFAULT NULL, `source` varchar(250) DEFAULT NULL, `license` varchar(50) DEFAULT NULL COMMENT 'SPDX license identi...
/* Copyright (c) 2012-2016 Tresys Technology, LLC. All rights reserved. * * Developed by: Tresys Technology, LLC * http://www.tresys.com * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal wi...
<div style="text-align: center"> @foreach ($skoly as $skola) {{$skola->nazev}} <br> @endforeach {{ $skoly->links() }} </div>
<?php namespace MauroMoreno\DataFactory\Tests\Entity; use MauroMoreno\DataFactory\Entity\Error; use PHPUnit\Framework\TestCase; class ErrorTest extends TestCase { public function test_getters_and_setters_ok() { $error = new Error; $this->assertEquals($error, $error->setValue('error_value'));...
import React from 'react'; import RouteHandler from 'app/App/RouteHandler'; import { actions } from 'app/BasicReducer'; import { UserManagement } from 'app/Users/UserManagement'; import UsersAPI from './UsersAPI'; export class Users extends RouteHandler { static async requestState(requestParams) { const users =...
# Audio Visualiser 3D ![AudioVisualiser](audio-visualiser.png) ## Demo [The live demo is available in my website](https://ahabram.fr/audio-visualiser/) ## Description This is a website that propose an auditive experience. Based on the user music, the website adapt its animations based on the drums of your music. ...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { HistoryEntry, NewHistoryEntry } from '../models/history'; import { environment } from 'src/environments/environment'; import { zip, forkJoin } from 'rxjs'; import { switchMap } from 'rxjs/operators'; @Injectable({ ...
! RUN: %python %S/test_errors.py %s %flang_fc1 -fopenmp ! OpenMP Atomic construct ! section 2.17.7 ! Intrinsic procedure name is one of MAX, MIN, IAND, IOR, or IEOR. program OmpAtomic use omp_lib real x integer :: y, z, a, b, c, d x = 5.73 y = 3 z = 1 !$omp atomic y = IAND(y, 4) !$omp atomic y...
package com.demo.developer.deraesw.demomoviewes.core.data.entity import androidx.room.Entity import androidx.room.PrimaryKey import com.google.gson.annotations.SerializedName @Entity(tableName = "people") data class People( @PrimaryKey var id: Int = 0, var name: String = "", var gender: Int = 0, v...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; [assembly: AssemblyDescription("Opinionated wrappe...
import { TypeCreator } from '@src/creator/types'; import { AllowedTypes, typeCollection as T } from '@constant/dataType'; import { typeOf } from '@utils/utils'; import { transformData } from './transform'; const format = ( currentData: AllowedTypes.AllDataType, types: TypeCreator.MixTypeValue | TypeCreator.AllType...
# What was the faithfulness of Ephraim and Judah like? Their faithfulness was like a morning cloud, like the dew that goes away early.
<?php namespace Bixev\Migrations\Updater; class MysqlUpdater extends AbstractUpdater { protected $_replacements = []; /** * @var callable */ protected $_queryExecutor; /** * @param array $replacements array of replacements to replace in query strings */ public function setRe...
using Songhay.Extensions; using Songhay.Models; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Serialization; namespace Songhay.Xml { /// <summary> /// Static members for XHTML Documents. /// </summary> public static partial ...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.IO; using netty; using UnityEngine.UI; using System; public class ThirdParty : MonoBehaviour { public HomeController controller = null; priva...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MpdBaileyTechnology.GenericApp.Model { public interface IReadingSource { Reading GetReading(); } }
#include "NetworkWrapper.h" #include "curl/curl.h" extern "C" { #include "md5.h" } using namespace std; #define invokeLib(LibFn,arg1,args...) _p->lasterr=LibFn(arg1,##args) static int _cnt_native_lib=0; int InitNativeLib() { if(_cnt_native_lib==0 && curl_global_init(CURL_GLOBAL_ALL)!=0) { return -1; ...
#!/usr/bin/env bash src=$1 output=$2 for filename in $(ls $src) do echo "processing:" $filename ./wmc -c $src/$filename $output/$filename echo "--------------------------------" done
""" qpvc : example from Bazinga.jl Quadratic program with vanishing constraints, from [KPB11]. Original formulations: minimize 1/2 x' Q x + x' q subject to x[i] ≥ 0 ∀ i ∈ [1:nvc] x[i] (G[i,:] x - g[i]) ≥ 0 ∀ i ∈ [1:nvc] Reformulation as a constr...
--- layout: post title: "Hello world" date: 2015-02-24 summary: my first post... --- <p>This is my first try to create my own blog... Hopefully this will not be my last post. We will see :-)</p>
pub mod color; pub mod escape_parser; /// Convert C string to Rust string pub unsafe fn from_cstr(s: *const u8) -> &'static str { use core::{str, slice}; let len = (0usize..).find(|&i| *s.add(i) == 0).unwrap(); str::from_utf8(slice::from_raw_parts(s, len)).unwrap() } /// Write a Rust string to C string pu...
require_relative '../../lib/google_static_map/middleware' module GoogleStaticMap describe Middleware do it 'conforms to the rack middleware api' do expect{Middleware.new(double)}.not_to raise_error end describe :call do context 'for non static map requests' do it 'calls the next midd...
/* * FXGL - JavaFX Game Library. The MIT License (MIT). * Copyright (c) AlmasB (almaslvl@gmail.com). * See LICENSE for details. */ package intermediate; import com.almasb.fxgl.animation.Interpolators; import com.almasb.fxgl.app.GameApplication; import com.almasb.fxgl.app.GameSettings; import com.almasb.fxgl.app.s...
require "google/cloud/bigquery" class ExportTablesToBigQuery include Google::Cloud BIGQUERY_DATASET = ENV["BIG_QUERY_DATASET"] # This is to allow us to load new tables to the production dataset without disturbing the existing ones. BIGQUERY_TABLE_PREFIX = "feb20".freeze # How many rows to process at one ti...
{-| Description : Game ends when network detects SDL_QuitEvent or Escape key press. Example : 002 Copyright : (c) Archibald Neil MacDonald, 2018 License : BSD3 Maintainer : FortOyer@hotmail.co.uk This is the second example that shows how quitting can be done via the event pump. In this example we have made...
#!/usr/bin/env bash set -o pipefail set -o nounset set -o errexit # enable dod stig if [ "${HARDENING_FLAG}" = "stig" ]; then # install dependencies yum install -y dracut-fips-aesni dracut-fips openscap openscap-scanner scap-security-guide # we will configure FIPS ourselves as the generated STIG locks the OS ...
JSON.lower(g::Granularity) = non_nothing_dict(g) """ SimpleGranularity(name::String) One of the simple predefined granularities of Druid. """ struct SimpleGranularity <: Granularity name::String function SimpleGranularity(name) name = lowercase(name) name ∈ [ "all", "none", "se...
require 'securerandom' module CoinAPI class XRP < BaseAPI def initialize(*) super @json_rpc_call_id = 0 @json_rpc_endpoint = URI.parse(currency.json_rpc_endpoint) end def endpoint @json_rpc_endpoint end def to_address(tx) normalize_address(tx['Destination']) end...
#ifndef GOALKEEPER_ENUMS_H_ #define GOALKEEPER_ENUMS_H_ typedef enum JumpSide_e { JUMP_LEFT_SIDE, JUMP_RIGHT_SIDE, JUMP_MIDDLE_SIDE, DONT_JUMP } JumpSide_e; typedef enum StepSide_e { MOVE_LEFT_STEP, MOVE_RIGHT_STEP, DONT_MOVE } StepSide_e; #endif
--- layout: default title: Projects --- <h2>{{ page.title }}</h2> <div class="container"> {% for project in site.data.projects %} <div class="project"> <h3>{{ project.title }} </h3> <p> {{ project.description }} </p> {% if project.img %} <img src="{{ pro...
namespace MonetDB.Driver.Handlers { /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public delegate void RowsCopiedEventHandler(object sender, RowsCopiedEventArgs e); }
#[doc = r" Value read from the register"] pub struct R { bits: u32, } #[doc = r" Value to write to the register"] pub struct W { bits: u32, } impl super::CLOCKEN2STAT { #[doc = r" Modifies the contents of the register"] #[inline] pub fn modify<F>(&self, f: F) where for<'w> F: FnOnce(&R, ...
package pub.devrel.easypermissionsx.helper import android.app.Activity import android.content.Context import android.os.Build import android.support.annotation.StyleRes import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment /** * Delegate class to make permission calls based on the 'h...
$:.unshift File.expand_path '../../lib', __FILE__ gem 'minitest' require 'minitest/autorun' require 'mocha/setup' require 'nutcracker' require 'tempfile' require 'fileutils' module Nutcracker module Unit class TestCase < ::Minitest::Test def fixture name File.expand_path("../fixtures/#{name}", __F...
Shopping list =========== This is a shopping list manager hosted on Google App Engine composed of two App Engine modules: - A frontend written using [Polymer][1] - A backend written in [Go][2] ## Running locally To run this application locally install the [Go App Engine SDK][3] and then execute: ``` $ goapp serv...
# Command class This represents the various operations available ```csharp public static class Command ``` ## Public Members | name | description | | --- | --- | | static [Collect](Command/Collect-apidoc)(…) | Process coverage | | static [FormattedVersion](Command/FormattedVersion-apidoc)() | Indicate the current v...
--- title: Repository of GeoGebra Apps date: 2020-04-13T03:30:20.742Z subtitle: Dynamic Illustrations made by me. summary: My collection of GeoGebra apps. draft: false featured: false image: filename: screen-shot-2020-04-13-at-1.46.03-pm.png focal_point: Smart preview_only: false --- ## Statistics * [Moving Mean...
require 'sshmenu' require 'gconf2' ############################################################################## # = License # # Copyright 2002-2009 Grant McLean <grant@mclean.net.nz> # # This package is free software; you can redistribute it and/or modify it # under the terms of the License.txt file (a BSD-style lic...
from toolz import memoize import numpy as np from datashader.glyphs.line import _build_map_onto_pixel_for_line from datashader.glyphs.points import _GeometryLike from datashader.utils import ngjit class PolygonGeom(_GeometryLike): @property def geom_dtypes(self): from spatialpandas.geometry import Po...
# frozen_string_literal: true require 'data_classification/migration' namespace :data_classification do include DataClassification desc 'Classify your table/columns in bulk' task bulk_classify: :environment do classifications = [] unclassified = [] ActiveRecord::Base.connection.tables.each do |tab...
package com.abhrp.daily.cache.dao.feed import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.abhrp.daily.cache.constants.CacheSQLConstants import com.abhrp.daily.cache.model.feed.CachedTimeItem import io.reactivex.Maybe @Dao interface CacheT...
abstract class ItemEvent { const ItemEvent(); } class ItemLoadStarted extends ItemEvent { final bool loadAll; const ItemLoadStarted({this.loadAll = false}); } class ItemLoadMoreStarted extends ItemEvent {} class ItemSelectChanged extends ItemEvent { final String itemId; const ItemSelectChanged({required ...
<?php declare(strict_types=1); namespace Edudobay\DoctrineSerializable; use Edudobay\DoctrineSerializable\Attributes\Serializable; use ReflectionProperty; class ClassMetadataBuilder { /** @var FieldMapping[] */ private array $fields = []; public function addProperty( ReflectionProperty $propert...
package nagoya.kuu.miolife.ui.main import android.content.Context import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import nagoya.kuu.miolife.ui.main.viewentity.ContractViewEntity internal class ContractAdapter( private val context: Context ...
#!/bin/bash echo "input 100 to fscanf" echo "100" | ./example echo "input 10000 to fscanf" echo "10000" | ./example echo "input 100h to fscanf" echo "100h" | ./example echo "input 10000h to fscanf" echo "10000h" | ./example echo "input abcd to fscanf" echo "abcd" | ./example
root_path = File.join(File.dirname(__FILE__), '..') schema_path = File.join(root_path, 'dummy', 'db') load File.join(schema_path, 'schema.rb')
package writer import scala.concurrent.{Await, Future} import scala.concurrent.ExecutionContext.Implicits.global import scala.concurrent.duration.Duration /** * Created by nnguyen on 09/11/16. */ object WriterTExample { import scalaz._ import Scalaz._ def test(): (List[String], Int) = { def calc1 = Wri...
import { IPictureModel } from './products.models'; export interface IProductsAccessoriesViewModel { furnitureUnitId?: string; id?: number; name: string; amount: number; materialCode?: string; materialId?: string; picture?: IPictureModel; src?: string; // size: ISizeModel; // edg...
import os import random valid_pct_of_training = .25 # TODO: warn if validation set already exists if not os.path.isdir("data/valid"): os.mkdir("data/valid") for i in os.listdir("data/train"): num = random.randint(1, (1/valid_pct_of_training)) if num == 1: os.rename("data/train/%s" % i, "data/vali...
#!/usr/bin/env python2 ga_tracking_code = ''' <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-114302089-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag...
namespace SeleniumScript.Interfaces { using static SeleniumScript.Grammar.SeleniumScriptParser; public interface ISeleniumScriptInterpreter { event CallBackEventHandler OnCallback; void Run(ExecutionUnitContext context); } }
// Copyright (C) 2017 Dmitry Yakimenko (detunized@gmail.com). // Licensed under the terms of the MIT license. See LICENCE for details. using System; using NUnit.Framework; namespace TrueKey.Test { [TestFixture] class ExceptionsTest { [Test] public void BaseException_properties_are_set() ...
<p align="left"> <a href="https://250.cn"> <img src="https://www.250.cn/static/250/images/logo.png" alt="Build Status"></a> <a href="https://packagist.org/packages/laravel/framework"> <img src="https://poser.pugx.org/laravel/framework/license.svg" alt="License"> </a> </p> ## About 流光星际 流光星际(湖北)科技有限公司,成立于2019年,我们公司致力于...
#!/bin/bash echo Manual trigger for document id: $1 curl --request POST \ -i \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ --data "{\"input\":\"{\\\"id\\\": \\\"$1\\\"}\"}" \ http://localhost:7071/admin/functions/ManualEmailTrigger
package epy0n0ff.com.rx_okhttp_sample.net.feign.codec; import epy0n0ff.com.rx_okhttp_sample.net.feign.exception.HttpErrorException; import feign.Response; /** * ErrorDecoder * Created by epy0n0ff on 2015/08/07. */ public class ErrorDecoder implements feign.codec.ErrorDecoder { @Override public Exception decode(S...
/* * Copyright 2018-2019 Scala Steward contributors * * 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 applicab...
extern crate iron_slog; extern crate iron; extern crate router; #[macro_use] extern crate slog; extern crate slog_term; extern crate slog_async; use slog::{Drain, Logger}; use iron::{Iron, Request, Response, IronResult, status}; use router::Router; use iron_slog::{LoggerMiddleware, DefaultLogFormatter}; fn hello(_req...
{-# LANGUAGE Arrows, TupleSections, LambdaCase #-} {- After LambdaCase Missing: TypeSynonymInstances Needs work. -} import Prelude hiding ((.), id) import Control.Category import Control.Monad((<=<), join) import Control.Comonad import Control.Arrow hiding (Kleisli(..)) import Control.Applicative((<$>)) newtype Kl...
'use strict'; // Wrap everything in an anonymous function to avoid polluting the global namespace (function () { $(document).ready(function () { tableau.extensions.initializeAsync().then(function () { addVizImage(tableau.MarkType.Bar, 'tableau20_10_0'); let markSelector = $('#mark-select'); le...
class SFxGetIncident : SFxClientAPI { SFxGetIncident() : base('incident', 'GET') { } [SFxGetIncident] IncludeResolved(){ $this.Uri = $this.Uri + '{0}includeResolved=true' -f $this.GetDelimiter() return $this } [SFxGetIncident] Offset([int]$offset) { $this.Uri = $this.Uri + '{0}...
/* * Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.server.util import io.ktor.util.* import kotlinx.coroutines.* import java.util.concurrent.* import kotlin.coroutines.* /** * Specialized dispatcher useful for graceful shutd...
const express = require("express"); const router = express.Router(); const { isParamIdValid } = require("../../utils"); const { url } = require("../../hitomi-chan-utility"); const response = require("../../response"); const dbClient = require("../../dbClient"); router.get("/:id", (req, res) => { const id = parseI...
package cps import org.junit.{Test,Ignore} import org.junit.Assert._ import scala.quoted._ import scala.util.Success class TestBS1While: @Test def tWhileC1_00(): Unit = val c = async[ComputationBound]{ val n = 10 var s = 0 var i = 0 while(i < n) s += i ...
# sacloud/iaas-api-go - URL: https://github.com/sacloud/iaas-api-go/pull/2 - Parent: https://github.com/sacloud/iaas-service-go/pull/1 - Author: @yamamoto-febc ## 概要 [iaas-service-goの基本方針](https://github.com/sacloud/iaas-service-go/pull/1)に従い、sacloud/libsacloud v2からIaaS部分を切り出す。 ## やること/やらないこと ### やること - libsaclou...
using System; using System.Collections; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using Activ...
const fs = require('fs') const path = require('path') const JSON5 = require('json5') const DIST_DIR = path.join(__dirname, '../dist') const DATA_DIR = path.join(__dirname, '../data') const sourceEntities = JSON5.parse(fs.readFileSync(`${DATA_DIR}/entities.json5`, 'utf8')) if (!fs.existsSync(DIST_DIR)) fs.mkdirSync(DI...
package customizations_test import ( "context" "github.com/aws/aws-sdk-go-v2/aws" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/internal/awstesting/unit" "github.com/aws/aws-sdk-go-v2/service/eventbridge" "github.com/aws/aws-sdk-go-v2/service/eventbridge/types" "githu...
namespace MassTransit.KafkaIntegration.Specifications { using GreenPipes; using MassTransit.Registration; using Transport; public interface IKafkaProducerSpecification : ISpecification { IKafkaProducerFactory CreateProducerFactory(IBusInstance busInstance); } }
# frozen_string_literal: true require "active_record" require "active_record/relation" require "active_record/relation/merger" require "active_record/relation/query_methods" require "active_record_extended/predicate_builder/array_handler_decorator" require "active_record_extended/active_record/relation_patch" requi...
import bootstrap from "./bootstrap"; window.__webpack_require__ = __webpack_require__ console.dir(window.__webpack_require__) bootstrap(() => {});
/* eslint-disable no-undef */ /* eslint-disable indent */ const getNumberOfHours24: Array<string> = [ '00', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', ]; const getNumberOfHours12: Array<string> = [ '12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '1...
A MLDVerifierForVm is a verifier that runs the verification on the currently executed host vm. Instance Variables
// Copyright 2020 Datafuse Labs. // // 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 ...
/* * * * * Created by Marcin Wasilewski on 26/07/20 12:03 * * Copyright (c) 2020 . All rights reserved. * * Last modified 26/07/20 11:47 * */ import 'package:dartz/dartz.dart'; import 'package:flutter/material.dart'; import 'package:rotashiftcleanarch/core/error/failures.dart'; import 'package:rotashiftcleana...
import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { TypiCodePost } from '@app/shared/model'; import { Observable, BehaviorSubject } from 'rxjs'; @Injectable({ providedIn: 'root' }) export class PostsService { resourceUrl = 'http://jsonplaceholder.typ...
(ns anaphorae.partial-test (:refer-clojure :exclude [partial]) (:require [clojure.test :refer :all] [anaphorae.partial :refer :all])) (deftest test-partial (testing "single argument" (let [x2 (partial * 2)] (is (= 4 (x2 2))))) (testing "multiple arguments" (let [part (partial str "a")...
package models import ( "time" ) type Categroy struct{ Id int64 Title string Created time.Time views int64 }
SELECT r.Description, c.Name AS CategoryName FROM Reports r JOIN Categories c ON c.Id = r.CategoryId ORDER BY r.Description, c.Name
using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.AvalonEdit.Highlighting.Xshd; using PS2Disassembler.ViewModel; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Text; using System.Windows; using System.Xml; using Microsoft....
import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_samples/apps/music_app/bloc/music_player_bloc.dart'; import 'package:flutter_samples/apps/music_app/models/music.dart'; import 'package:provider/provider.dart'; class NameMusicAndArtist extends StatelessWidget { ...
#!/bin/sh # # Copyright (c) 2016, Linaro Limited # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # # # This test is intend to test pkt_mmap_vlan_insert() feature for # linux-generic packet mmap pktio. # # # directory where platform test sources are, including scripts TEST_SRC_DIR=$(dirname $0) # exi...
{-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeOperators #-} -- | Interfacing with the wallet (for making payments) module Plutus.Trace.Effects...
@extends('app') @section('html_title') Docentes @endsection
PoCoWeb is a web based post-correction system for OCRed historical documents. It is based on [PoCoTo](https://github.com/cisocrgroup/PoCoTo). PoCoWeb consists of a backend that offers a REST API for the post-correction and a frontend that facilitates the post-correction of historical documents using a web-browser. U...
import React from 'react'; import { Card, Col, Row } from 'reactstrap'; import { STATE_LOGIN } from '../components/Auth/AuthForm.js'; import Signup from '../components/Auth/Signup'; class AuthPage extends React.Component { handleAuthState = authState => { if (authState === STATE_LOGIN) { this.props.histor...
<?php declare(strict_types=1); namespace Kiboko\Component\ExpressionLanguage\Akeneo; use Symfony\Component\ExpressionLanguage\ExpressionFunction; final class Coalesce extends ExpressionFunction { public function __construct($name) { parent::__construct( $name, \Closure::fromCa...
// インクルード import ArakinPart from './arakin_part.js'; export default class ArakinPartRect extends ArakinPart { constructor(params) { super(params); this.fillStyle = this.profile.getProfileData('fillStyle', 'rgb(0,0,0)'); } static getPropertyList() { var params = super.getPropertyLis...
document.getElementById("button1").onclick = function(e) { window.location.href="no-sidebar.html"; }
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Fixtures\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="product_table") */ class Product { /** * @ORM\Id * @ORM\Column(type="integer", name="id") * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; ...
USE didactinaut_dev; DELIMITER $$ DROP PROCEDURE IF EXISTS AddVideo $$ CREATE PROCEDURE AddVideo ( IN _address VARCHAR(255), IN _duration INT, IN _lesson_id INT ) BEGIN DELETE FROM Videos WHERE lesson_id = _lesson_id; INSERT INTO Videos ( video_address, video_duration, lesson_id ...
# frozen_string_literal: true require "base64" require "forwardable" require "websocket/driver" # have to roll our own, as the default client bundles its own # HTTP client handshake logic class WSDriver < WebSocket::Driver::Hybi include WebSocket def initialize(*, opts) h = opts.delete(:headers) super ...
package org.jetbrains.kotlinx.jupyter.magics import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.arguments.argument import com.github.ajalt.clikt.parameters.arguments.optional import com.github.ajalt.clikt.parameters.types.choice import org.jetbrains.kotlinx.jupyter.common.ReplLine...
# frozen_string_literal: true module JapanETC module EntranceOrExit ENTRANCE = '入口' EXIT = '出口' def self.from(text) case text when /入口/, /(入)/, '入' ENTRANCE when /出口/, /(出)/, '出' EXIT end end end end
<?php /* This file is a part of Phun Project The MIT License (MIT) Copyright (c) 2015 Pierre Ruyter and Xavier Van de Woestyne Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without re...
using System.Collections.Generic; using System.Linq; using Antlr4.Runtime.Tree; using Omnium.Core.ast.statements; namespace Omnium.Core.ast.declarations { public class ConstructorDeclaration : Node { public readonly List<MemberModifier> Modifiers = new List<MemberModifier>(); public IEnumerabl...
../engine --analy-multi-group ../seed/0-0-0.txt ../farthest/farthest_0-0-0.csv ../solution/solution_0-0-0.csv touch 0-0_OK