text
stringlengths
27
775k
--- pid: '3082' label: Diana and Callisto (Berlin) object_type: Painting genre: Classical Mythology worktags: Dog|Van Balen|Miniature|Forest|Stream|Nude|Putti|Classical|History|Mythological iconclass_code: height_cm: '9.3' width_cm: '15' diameter_cm: location_country: Germany location_city: Berlin location_collection: ...
<?php namespace Ypio\MSGraphFileConverter\Http; use GuzzleHttp\Psr7\Request; use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\ResponseInterface; use Ypio\MSGraphFileConverter\Configuration; use Ypio\MSGraphFileConverter\Exceptions\ExceptionGenerator; use Ypio\MSG...
# frozen_string_literal: true require 'spec_helper' RSpec.describe Gitlab::Cleanup::OrphanJobArtifactFilesBatch do include ::EE::GeoHelpers let(:batch_size) { 10 } let(:dry_run) { true } subject(:batch) { described_class.new(batch_size: batch_size, dry_run: dry_run) } context 'Geo secondary' do let(:...
#ifndef CONSTANT_H #define CONSTANT_H // 棋盘大小 const int board_size = 14; // AI搜索深度 const int search_depth = 7; #endif // CONSTANT_H
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # 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...
%% ------------------------------------------------------------------- %% %% Copyright (c) 2018 Rebar3Riak Contributors %% Copyright (c) 2016-2017 Basho Technologies, Inc. %% %% This file is provided to you under the Apache License, %% Version 2.0 (the "License"); you may not use this file %% except in compliance with ...
-- 114 Number of persons with observation period before year-of-birth --insert into @results_schema.heracles_results (cohort_definition_id, analysis_id, count_value) select cohort_definition_id, 114 as analysis_id, cast( '' as varchar(1) ) as stratum_1, cast( '' as varchar(1) ) as stratum_2, cast( '' as varchar(1...
require_relative 'autotoolAccount' class AutotoolSchule < AutotoolAccount def schuleAnlegenGui(name, suffix) existiert = existiertSchule?(name) assert(!existiert, @fehler['vorSchule']) @driver.find_element(:id, @ui['administratorButton']).click @driver.find_element(:id, @ui['schuleAnlegenButton']).cl...
const { batchThrottledSimple } = require("../../../plugins/nodeSrc/batch") const { AzNodeRest } = require("../../../plugins/nodeSrc/east") const { getProviderApiVersion } = require("../../../plugins/nodeSrc/getProvider") const { makeSingleArray } = require("../../../plugins/nodeSrc/recursor") const { returnObjectInit ...
package day1 import java.io.File fun List<Int>.countIncreases(): Int { var count = 0 var previous: Int? = null forEach { current -> if (previous != null) { if (current > previous!!) { count++ } } previous = current } return count } ...
-- this script repros builtin a/b/c/d tables using SQL -- create table a (a1 int, a2 int, a3 int, a4 int); create table b (b1 int, b2 int, b3 int, b4 int); create table c (c1 int, c2 int, c3 int, c4 int); create table d (d1 int, d2 int, d3 int, d4 int); insert into a values(0,1,2,3); insert into a values(1,2,3,4); in...
import std_msgs.msg import importlib msg = importlib.import_module('std_msgs.msg') __all__ = ['msg']
using FontAwesome.WPF.Converters; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Windows.Media; //using FontAwesome; namespace ITPointPresenterController { public...
# run a function over each library JSON object map_libraries_object() { local file="$1" local function="$2" local libraries_names object result=0 libraries_names=$( jq -r ".|to_entries|map(.key|tostring)|.[]" "${file}" ) for name in ${libraries_names}; do object=$( jq ".\"${name}\"" "${file}" ) if...
//------------------------------------------------------------------------------ /* This file is part of MUSO: https://github.com/MUSO/MUSO Copyright (c) 2012, 2013 MUSO Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, p...
package app import ( "crypto/md5" "encoding/hex" "github.com/gin-gonic/gin" "github.com/utf6/goApi/pkg/config" errors "github.com/utf6/goApi/pkg/error" "golang.org/x/crypto/bcrypt" ) // hash 加密 func HashAndSalt(str string) string { hash, err := bcrypt.GenerateFromPassword([]byte(str), bcrypt.MinCost) if err !...
package paillier import ( "crypto/rand" "errors" "fmt" "io" "github.com/cronokirby/safenum" "github.com/Zondax/multi-party-sig/internal/params" "github.com/Zondax/multi-party-sig/pkg/math/arith" "github.com/Zondax/multi-party-sig/pkg/math/sample" ) var ( ErrPaillierLength = errors.New("wrong number bit leng...
using System; using System.Collections.Generic; namespace Shielded { /// <summary> /// Transactional local storage, lasts only during one transaction run and is /// reset when the transaction restarts or ends. Any value is still available in /// WhenCommitting and SyncSideEffect subscriptions, and in ...
// // ImagePicker.h // BDKit // // Created by admin on 16/1/19. // Copyright © 2016年 Evan.Cheng. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN typedef void (^CTImagePickerFinishAction)(UIImage * __nullable image, BOOL isCancle); @interface CTImagePicke...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Transaction; class DashboardController extends Controller { // public function index() { $trs = Transaction::orderBy('created_at') ->get(); // dd($trs); return view('dashboard.index...
module MultiDef # # The DefaultEnvironment provides all methods to evaluate matched # Method definitions. # To have access to more advanced features, you have to include another # set of guards instead of the default guards. class DefinitionEnvironment attr_accessor :obj_to_define_on, :method_name ...
using Crex24.Net.Converters; using CryptoExchange.Net.Converters; using Newtonsoft.Json; using System; using System.Collections.Generic; using CryptoExchange.Net.ExchangeInterfaces; namespace Crex24.Net.Objects { /// <summary> /// Symbol state info /// </summary> public class Crex24SymbolState : IComm...
import 'package:flutter/material.dart'; import 'package:pueprint/core/footer/pue_footer.dart'; import 'package:pueprint/core/pue_provider.dart'; import '../pue_theme.dart'; import 'pue_background.dart'; import 'package:provider/provider.dart'; /// This widget can be used as a base for laying out your page. It is /// s...
const jwtVerify = require('../../middleware/jwtVerify'); const Device = require('../../models/device'); module.exports = (app) => { app.get('/api/userDevices', jwtVerify, (req, res) => { const userEmail = res.locals.jwtPayload.email; Device.find({ userEmail }).sort({ timestamp: -1 }).exec((err, userDevices) ...
#ifndef LIBWALLYCORE_CONFIG_H #define LIBWALLYCORE_CONFIG_H #include <stddef.h> #define HAVE_ATTRIBUTE_WEAK 1 #define HAVE_BIG_ENDIAN 0 #define HAVE_BSWAP_64 0 #define HAVE_BYTESWAP_H 0 #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LITTLE_ENDIAN 1 #define HAVE_MEMORY_H 1 #define HAVE_MMAP 1 #define HAV...
package service.collector.website.akka.parimatch import akka.actor.ActorRef import net.ruippeixotog.scalascraper.model.Element import org.mongodb.scala.Completed import service.Config.{Parimatch => config} import service.akka.ActorTemplate import service.akka.combiner.ProcessDoneActor.Message.PartWorkPerformed import ...
#!/bin/bash openssl genrsa -aes256 -out ca-key.pem 2048 echo "enter your Docker daemon's hostname as the 'Common Name'= ($HOST)" #TODO add this as an ENV to docker run? openssl req -new -x509 -days 365 -key ca-key.pem -sha256 -out ca.pem # server cert openssl genrsa -out server-key.pem 2048 openssl req -subj "/CN=...
package com.left.gank.ui.index import android.os.Bundle import android.view.View import androidx.viewpager.widget.ViewPager import com.google.android.material.tabs.TabLayout import com.left.gank.R import com.left.gank.base.fragment.SupportFragment import com.left.gank.config.Constants import com.left.gank.ui.android.A...
# frozen_string_literal: true module ApipieDSL class SeeDescription attr_reader :link, :description def initialize(method, options = {}) @method = method @link = options[:link] @description = options[:desc] || options[:description] @scope = options[:scope] end def docs ...
package main func max(a, b int) int { if a > b { return a } else { return b } } func maxSum(arr []int, k int) int { su, ma := 0, -1 for i, x := range arr { su += x if i >= k { su -= arr[i-k] } if i >= k-1 { ma = max(ma, su) } } return ma }
use flags::*; use moi::*; use toml; use ansi_term::Colour::White; use std::fs; use std::path::Path; use toml_utils::*; pub struct CommandHandler<'a> { flags: &'a Flags, store: &'a Config, config: &'a toml::Value, } impl <'a> CommandHandler<'a> { pub fn new(flags: &'a Flags, store: &'a Config, config: ...
// FIR_IDENTICAL // FILE: SameClassNameResolveTest.kt package test open class Base class SubBase: Base() // FILE: SameClassNameResolveRoot.kt open class Base class SubBase: Base()
#region Namespaces using System; using System.IO; using System.Text; #endregion namespace Argos.Panoptes.Rfb.Protocol { /// <summary> /// 서버와 클라이언트 사이에 오가는 프로토콜 메시지의 프로토타입 /// </summary> abstract class ProtocolMessage : IDisposable { #region Variables /// <summary> /// 프로토콜 메시지의 길이(고정 ...
module LinAlg importall Base import Base: USE_BLAS64, size, copy, copy_transpose!, power_by_squaring, print_matrix, transpose! export # Modules LAPACK, BLAS, # Types SymTridiagonal, Tridiagonal, Bidiagonal, Woodbury, Factorization, BunchKaufman, Cholesky, CholeskyPivoted, ...
#include <QtCore> #include <QtGui> #include <QtNetwork> #if (QT_VERSION > QT_VERSION_CHECK(5,0,0)) #include <QtWidgets> #endif #if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif #define TIMEMS qPrintable (QTime::currentTime().toString("HH:mm:ss zzz")) #define TIME qPrintable (QTime::currentTime()....
require 'logger' require 'lit/i18n_backend' require 'lit/cache' module Lit module Rails def self.initialize Lit.init end end end if defined?(Rails::Railtie) require 'lit/middleware' require 'lit/railtie' else Lit::Rails.initialize end
module modis9 use CKD_common implicit none private integer, parameter :: no3 = 1 public :: ch9, init_ch9 contains subroutine init_ch9(modis_channel) type(ckd_type), intent(inout) :: modis_channel integer :: all_weights all_weights = no3 modis_channel%num_weights = all_weights allocate(mod...
import apibasics from '@/components/apibasics'; import config from '@/config'; import { downloadUsingPOST } from '@/components/download'; /** * 统计分析保费数据 * @param {number} type 类型 0 天 1 月 * @param {number} startDate 开始日期 * @param {number} endDate 结束日期 * @param {number} bcId 支公司 * @param {number} teamId 团队 * @par...
# dePHPend Tests > *WORK IN PROGRESS* > > But feedback always welcome.
--- title: CSS animations category: Hidden redirect_to: /css#animation ---
1. 交换器:direct,fanout,topic 2. 多租户 3. 持久化策略 4. rabbit集群中的消息不会复制到所有实例中,所以当某台实例崩溃以后消息就会丢失。
package it.unibz.inf.ontop.injection.impl; import com.google.common.collect.ImmutableList; import com.google.inject.Module; import it.unibz.inf.ontop.injection.*; import it.unibz.inf.ontop.datalog.QueryUnionSplitter; import it.unibz.inf.ontop.spec.mapping.transformer.MappingCaster; import it.unibz.inf.ontop.spec.mapp...
#!/bin/bash poetry install poetry export --without-hashes>requirements.txt poetry run cyclonedx-py
using UnityEngine; public class DualStageActionObject : InteractionScriptAbstract { private bool _isActive = false; public override bool isActive { get { return _isActive; } } public override void Activate(GameObject controller) { t...
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+ssse3 | FileCheck %s --check-prefix=CHECK --check-prefix=SSSE3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+sse4.2 | FileCheck %s --check-prefix=CHECK --check-prefix=SSE42 ; RUN: opt < %s -cost-model -anal...
<?php namespace Test\Ecotone\Messaging\Fixture\Behat\ErrorHandling\DeadLetter; use Ecotone\Messaging\Attribute\MessageEndpoint; use Ecotone\Messaging\Attribute\MessageGateway; interface OrderGateway { #[MessageGateway(ErrorConfigurationContext::INPUT_CHANNEL)] public function order(string $type) : void; ...
using SurviveOnSotka.ViewModell.Requests; using System; namespace SurviveOnSotka.ViewModel.Implementanion { public class SimpleDeleteRequest : Request { public Guid Id { get; set; } } }
#!/usr/bin/env perl # # @author Luis M. Rodriguez-R <lmrodriguezr at gmail dot com> # @update Oct-13-2015 # @license artistic license 2.0 # use warnings; use strict; use Symbol; my ($file, $base, $outN) = @ARGV; $outN ||= 12; ($file and $base) or die " Usage $0 in_file.fa out_base[ no_files] in_file.fa Inp...
import { Field, FieldProps, FormikProps } from "formik"; import * as PropTypes from "prop-types"; import * as React from "react"; import * as styles from "./FormCheckbox.module.scss"; interface IProps { label: string | React.ReactNode; name: string; value?: any; checked?: boolean; "data-test-id"?: string; }...
using System; namespace JsonProductShop.App { using AutoMapper; using Data; using Models; using Newtonsoft.Json; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; public class StartUp { public static void...
using System; using Bill.Management.Windows.ViewModels.Services.Dialog.Arguments; using Bill.Management.Windows.ViewModels.View; namespace Bill.Management.Windows.ViewModels.Services.Dialog { public delegate void DialogShow(object sender, DialogOpenEventArguments eventArgs); public interface IDialogService ...
package world.gregs.voidps.world.activity.skill import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test import world.gregs.voidps.engine.entity.character.contain.inventory import world.gregs.voidps.engine.entity.character.player.skill.Skill import world.gregs.voidps.engine.entity.item.Item import w...
object frmConfQuant: TfrmConfQuant Left = 263 Top = 154 BorderIcons = [biSystemMenu] BorderStyle = bsSingle Caption = 'Quantidade de Etiquetas' ClientHeight = 251 ClientWidth = 365 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans S...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; namespace Microsoft.DotNet.Internal.Testing.DependencyInjectionCodeGen { int...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
/** * Node.js API Starter Kit (https://reactstarter.com/nodejs) * * Copyright © 2016-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ /* @flow */ import fs from 'fs'; import path from...
import { Table, Row, Loader, NoResults, ButtonWithIcon, Icon, Dialog, } from "@rtgs-global/components"; import { useState } from "react"; import { Connection } from "../../../../dtos/id-crypt/connection"; import styles from "./styles.module.css"; import { formatDateToString } from "../../../../helpers"; type Co...
import { Column, Entity, Index, PrimaryGeneratedColumn } from "typeorm"; @Index("IXFK_reserva_sucursal", ["idSucursal"], {}) @Index("IXFK_reserva_usuario", ["idUsuario"], {}) @Entity("reserva", { schema: "lhwzrcxi_try_bolivia" }) export class Reserva { @PrimaryGeneratedColumn({ type: "bigint", name: "id" }) id: st...
# ============================================================================= # # MODULE : lib/dispatch_queue_rb/internal/heap.rb # PROJECT : DispatchQueue # DESCRIPTION : # # Copyright (c) 2016, Marc-Antoine Argenton. All rights reserved. # ==================================================================...
# encoding: utf-8 module ThemesForRails class Config attr_writer :base_dir, :themes_dir, :assets_dir, :views_dir, :themes_routes_dir attr_accessor :use_sass, :default_theme include Interpolation def initialize(&block) @use_sass = true @default_theme = 'default' yield if block_...
#!/bin/bash yum install -y autoconf automake libtool git clone https://github.com/facebook/watchman.git cd watchman git checkout v4.7.0 # the latest stable release ./autogen.sh ./configure make sudo make install cd /usr/bin sudo ln -s /usr/local/bin/watchman watchman
#!/bin/bash # Variables DEPLOY_DIR="trash" SERVICE_NAME="" # Find deploy target and service name case $GITHUB_REF in "refs/heads/develop") DEPLOY_DIR="dev.fuelrats.com" SERVICE_NAME="fr-web_dev" ;; "refs/heads/release") DEPLOY_DIR="fuelrats.com" SERVICE_NAME="fr-web" ;; *) echo "Current branch is no...
const CHARSET = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; export const generateID = (length = 10) => { let retVal = ''; for (let i = 0, n = CHARSET.length; i < length; ++i) { retVal += CHARSET.charAt(Math.floor(Math.random() * n)); } return retVal; };
import * as Koa from 'koa' import * as logger from 'koa-logger' import * as views from 'koa-views' /** 产生一个 Koa 实例 */ export const createServer = ():Koa => { var app = new Koa() app.use(logger()) app.use(views("views",{ extension:'pug' })) return app; }
ShopifyUtil.configure do |config| config.test_variable = :initialized_value creds = Rails.application.credentials[:shopify] config.shop_name = creds[:shop_name] # https://{shop_name}.myshopify.com config.api_key = creds[:api_key] # API key config.api_password = creds[:api_password] # API passw...
require "topological_inventory/providers/common/operations/processor" RSpec.describe TopologicalInventory::Providers::Common::Operations::Processor do let(:operation_name) { 'Source.availability_check' } let(:params) { {'source_id' => 1, 'external_tenant' => '12345'} } let(:payload) { {"params" => params, "reque...
// Put this line before #include's to eliminate warnings about fopen(): #define _CRT_SECURE_NO_WARNINGS #include "KTX.h" #include "pxfmt.h" // The purpose of this function is to read a shader file, based on a filename, // and return a pointer to malloc'd memory that contains the "char*" contents // of the file. stat...
# @datafire/azure_azsadmin_farms Client library for StorageManagementClient ## Installation and Usage ```bash npm install --save @datafire/azure_azsadmin_farms ``` ```js let azure_azsadmin_farms = require('@datafire/azure_azsadmin_farms').create({ access_token: "", refresh_token: "", client_id: "", client_sec...
<?php namespace YaSdelyal\LaravelVault\Facades; use Closure; use Illuminate\Support\Facades\Facade; use YaSdelyal\LaravelVault\Contracts\Driver; use YaSdelyal\LaravelVault\Contracts\Variables; /** * @method static Driver connection(string $name = null) * @method static void extend(string $name, Closure $closure) ...
//! read & write TLB items #![allow(deprecated)] use crate::instructions; use crate::registers::cp0; /// refers to one TLB entry pub struct TLBEntry { pub entry_lo0: cp0::entry_lo::EntryLo, pub entry_lo1: cp0::entry_lo::EntryLo, pub entry_hi: cp0::entry_hi::EntryHi, pub page_mask: cp0::page_mask::Pag...
package com.sayee.sxsy.newModules.sysarea.web; import com.alibaba.fastjson.JSONObject; import com.sayee.sxsy.newModules.sysarea.entity.SysArea; import com.sayee.sxsy.newModules.sysarea.service.SysAreaService; import com.sayee.sxsy.newModules.utils.ResponsesUtils; import org.springframework.beans.factory.annotation.Au...
import pytest from pg_grant import NoSuchObjectError from pg_grant.query import get_all_sequence_acls, get_sequence_acl expected_acls = { 'public': { # seq1 has default privileges, so None is returned. 'seq1': None, # alice is owner, bob was granted all 'seq2': ['alice=rwU/alice',...
package main import ( "log" "github.com/nobonobo/spago/jsutil" ) func main() { resp, err := jsutil.Fetch("https://jsonplaceholder.typicode.com/users/1", nil) if err != nil { log.Print(err) return } json, err := jsutil.Await(resp.Call("json")) if err != nil { log.Print(err) return } obj := jsutil.JS2...
module Ggclient class GithubGemBuilder def initialize(gem_installer) @gem_installer = gem_installer end def gemspec_name File.basename(Dir.glob(File.join(@gem_installer.gem_dir, "*.gemspec")).first) end def generated_gem unless Dir.glob(File.join(@gem_installer.gem_dir, "*.gem"...
const { MessageEmbed } = require("discord.js"); const { players } = require("erela.js"); exports.run = async (client, message, args) => { const player = message.client.manager.get(message.guild.id); if (!player) return message.reply("There is no player for this guild."); const { channel } = message...
#!/bin/sh set -eu ARGS=${@:-'./...'} mkdir -p ./_testing ./test.sh -coverprofile ./_testing/coverage.out ${ARGS} exec go tool cover -html ./_testing/coverage.out -o ./_testing/coverage.html
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Evento extends Model { protected $table = "eventos"; protected $fillable = ['usuario_id', 'rol_id', 'usuario_r_id', '...
<?php use App\Models\MlModelStateScore; use Faker\Generator as Faker; use Illuminate\Database\Eloquent\Factory; /** @var Factory $factory */ $factory->define(MlModelStateScore::class, function (Faker $faker) { $params = json_encode([ $faker->word => $faker->word, $faker->word => $faker->word, ...
package config import ( "errors" "github.com/prometheus/common/model" "testing" "time" ) func TestParseCfgFile(t *testing.T) { cases := []struct { name string fileName string err error mrc []*RelabelConfig timeout time.Duration }{ { name: "valid yaml file", fileName: "testda...
package cn.sxl.toolbox.enums; /** * @author SxL * @since 1.6.1 * 2019-11-07 12:35 */ public enum MonthEnum { /** * 月份 */ January(1, 31), February(2, 28), March(3, 31), April(4, 30), May(5, 31), June(6, 30), July(7, 31), August(8, 31), September(9, 30), October(10, 31), November(11, 30)...
require "test_helper" module Cogy class BuiltinHelpersTest < ActionDispatch::IntegrationTest include Engine.routes.url_helpers def test_args_helper_overrides_predefined_helpers cmd :args_overrides, COG_ARGV_1: "hu", COG_ARGV_0: "haha" assert_equal "hahahu", response.body end def test_ar...
--- last_revision: 2020-10-14T10:25:00Z --- # Callbacks and Overrides This document provides a high-level overview of the mechanisms used by _jsii_ to allow _foreign_ code to override **JavaScript** methods. It details the responsibilities of the _jsii kernel_ and of the _foreign library_, and provides implementation...
<?php namespace App\Models; use Elasticquent\ElasticquentTrait; use Illuminate\Database\Eloquent\Model; /** * App\Models\Song * * @property int $id * @property string $name * @property int $album_is * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at...
# cardboard [![travis ci](https://travis-ci.org/machisuji/cardboard.svg?branch=master)](https://travis-ci.org/machisuji/cardboard) `cardboard` is a decentralized, kanban-style collaboration tool which lets you organize tasks into customizable cards based on plain, versioned text files. ![Image of Cardboard](https://...
using OrdinaryDiffEq, DiffEqSensitivity, LinearAlgebra, Optimization, OptimizationFlux, Flux nn = Chain(Dense(1,16),Dense(16,16,tanh),Dense(16,2)) initial,re = Flux.destructure(nn) function ode2!(u, p, t) f1, f2 = re(p)([t]) [-f1^2; f2] end tspan = (0.0, 10.0) prob = ODEProblem(ode2!, Complex{Float64}[0;0], t...
package com.konkuk.boost.persistence import androidx.test.core.app.ApplicationProvider import com.konkuk.boost.di.injectTestFeature import com.konkuk.boost.persistence.grade.GradeContract import com.konkuk.boost.persistence.grade.GradeDao import com.konkuk.boost.persistence.grade.GradeEntity import junit.framework.Ass...
# mpu9250 MPU-9250 and EKF package on Raspberry Pi3 + Ubuntu16.04.3LTS + ROS Kinetic with PIGPIO
delete from dbo.Price; delete from dbo.Company; declare @unique_constraint_name nvarchar(100); select top 1 @unique_constraint_name = c.constraint_name from INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE col join INFORMATION_SCHEMA.TABLE_CONSTRAINTS c on c.constraint_name = col.constraint_name where c.tabl...
# frozen_string_literal: true require 'rails_helper' RSpec.describe Scrapbook do routes { Scrapbook::Engine.routes } describe 'Routes to root / Pages#index' do context 'with the short route to route' do subject { {get: '/'} } it { is_expected.to route_to(controller: 'scrapbook/pages', action: 'i...
import 'phaser'; import 'lodash'; import 'webfontloader'; import gameConfig from './config/game'; require('./index.html'); // so we get it in the dist // import scenes import LoadingScene from './scenes/loading'; import MainMenuScene from './scenes/main-menu'; import TutorialScene from './scenes/stage/tut...
package com.amadeus.android.domain.resources import android.os.Parcelable import com.squareup.moshi.JsonClass import kotlinx.android.parcel.Parcelize /** * An Traveler object used in the body of Flight Create Orders. * @see com.amadeus.booking.flightOrder.get */ @Parcelize @JsonClass(generateAdapter = true) data c...
## 1.0.1+4 * Formatting ## 1.0.1+3 * Downgraded background_locator to 1.1.10+1 ## 1.0.1+2 * Addressed static analysis error * Recreated example with a new name ## 1.0.1+1 * Addressed a static analysis error ## 1.0.0 * Initial release
@file:Suppress("DEPRECATION") // todo use new api? package com.avito.impact.configuration import com.android.build.gradle.api.AndroidSourceSet import com.avito.android.Result import com.avito.android.androidBaseExtension import com.avito.android.isAndroid import com.avito.impact.changes.ChangedFile import com.avito.i...
import logging from typing import Iterable, Tuple, Any from .. import MemoryMixin l = logging.getLogger(name=__name__) class AbstractMergerMixin(MemoryMixin): def _merge_values(self, values: Iterable[Tuple[Any,Any]], merged_size: int, **kwargs): # if self.category == 'reg' and self.state.arch.register...
#!/bin/bash DIFFDIR=build/diff REFDIR=references mkdir -p "$DIFFDIR" add-chws -g="$DIFFDIR" -p "$@" | east-asian-spacing dump -o="$DIFFDIR" -r="$REFDIR" -
<?php namespace App\Http\Controllers; use App\Models\Horario; use App\Utils\Res; use Carbon\Carbon; use Illuminate\Http\Request; use Illuminate\Http\Response; use DateTime; use DateTimeZone; class HorarioController extends Controller { public function obtener() { try { $horarios = Horario...
class FormsController < ApplicationController def general @page_title = 'Forms_General' end def advanced @page_title = 'Forms_Advanced' end def editors @page_title = 'Forms_Editors' end end
Copyright 2017 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. ## gfe/http2/hpack/decoder These are the most popular C++ files defined in this directory. * [hpack_entry_decoder_listener.h] (http://google3/gfe/http2/hpa...
# Wave Pattern Demo of the colours, and the little flicker. ![It's better in real life](PatternWave.jpg)
import 'package:flutter/material.dart'; import 'health.dart'; // import 'mock.dart'; import 'generic1.dart'; import 'query.dart'; import 'queryBrand.dart'; import 'productDetails.dart'; import 'detailsOnBrand.dart'; import 'globals.dart' as globals; void main() => runApp(new MyApp()); class MyApp extends StatelessWid...