text
stringlengths
27
775k
package amino.run.policy.dht; import java.io.Serializable; public class DHTKey implements Comparable, Serializable { String identifier; byte[] key; public DHTKey(byte[] key) { this.key = key; } public DHTKey(String identifier) { this.identifier = identifier; this.key = D...
const { Op } = require("sequelize"); const { Task, Class, Score } = require("../models"); const { initRedis } = require("../helpers/redis"); const redis = initRedis(); // const Redis = require("ioredis"); // const redis = new Redis(process.env.REDIS_URL); const { searchSongs, getSongDetailById, convertLyricsToQuesti...
<?php declare(strict_types=1); /** * @copyright: 2019 Matt Kynaston * @license : MIT */ namespace Kynx\Saiku\Client\Resource; use GuzzleHttp\Exception\GuzzleException; use Kynx\Saiku\Client\Entity\Datasource; use Kynx\Saiku\Client\Exception\BadResponseException; use Kynx\Saiku\Client\Exception\EntityException; ...
using System; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using CarDealership.HealthChecks.Tags; using HealthChecks.UI.Client; using HealthchecksDemo.HealthChecks.Responses; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore....
using System.Collections.Generic; using Entitas; public sealed class RemoveViewSystem:ISetPool,IReactiveSystem,IEnsureComponents { public TriggerOnEvent trigger { get { return CoreMatcher.Asset.OnEntityRemoved(); } } public IMatcher ensureComponents { get {return CoreMatcher.View; } } Pool pool; publi...
package payload.response.common import enums.* import kotlinx.serialization.Serializable @Serializable data class Achievement private constructor( val name: String, val icon: ResourceLocation, val description: String, val exposed: Boolean, val type: AchievementType )
import express from 'express'; import ReposController from '../../../../controllers/reposController'; import { RouterWrapper } from '../../../../utils/routes/router'; import { Config } from '../../../../config'; import createOctokit from '../../../../utils/createOctokit'; export default class ReposRouter implements Ro...
import { CodeMod, ModResult, NoOp } from '../../../../codeMods/types'; import { Err } from '../../../../helpers/result'; const CodeMod: CodeMod<string> = { run: () => { return Err<ModResult, NoOp>({ logs: [] }); }, version: '1.0.0', name: 'CodeMod', }; export default CodeMod;
### 贪心 - 本质为每次操作都达到局部最优,当问题有唯一最优解的时候,最终达到全局最优。 *值得说明的是,"贪心"并不是"贪得无厌",它只是指每次操作所能达到的最优极限* > 例如:需要挪动200kg的重物,但是工具每次只能挪动100kg,最简单的方式就是直接把200kg直接挪过去,但受限于工具的极限,只能100kg 100kg挪动,所以,这个每次把100kg打满的动作,就是贪心 一般来说,当题目问题中存在最多最少等字眼,考虑是否可以采用贪心或者动态规划求解。 较为常见的三类问题 1. 典型的贪心问题 较简单,没啥技巧,做就完事了 - [AssignCookies](./Ass...
#!/bin/sh VERSION="0.0.2" # Time-stamp: <2021-11-21T18:03:50Z> DATE=`date +%Y%m%d` set `seq -w 1 99` set -x set -e python plot_logs.py normal fana -p AccDeath -o fig-${DATE}_$1.png shift 1 python plot_logs.py normal fana -p AccAbortion -o fig-${DATE}_$1.png shift 1 python plot_logs.py normal fana -p AccTemple -o fi...
package com.couchbase.demo.config; import com.couchbase.client.java.Cluster; import com.couchbase.demo.tasks.Task; import com.couchbase.demo.tasks.TaskRepository; import com.couchbase.demo.testha.SimulatorService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotat...
import arrow import pdb import json from copy import deepcopy import os from scrabble import Scrabble from data_model import * from common import * import random args =argparser.parse_args() t0 = arrow.get() #target_building = 'ap_m' #source_buildings = ['ap_m'] #source_buildings = ['ebu3b', 'ap_m'] #source_sampl...
require 'test_helper' require 'benchmark' class PrinterTest < Minitest::Test def test_typing_outputs_as_is text = "sending data..." interval = 0.1 assert_output(stdout = text) { Tryhttp::Printer.typing(text, interval) } end def test_typing_outputs_with_given_interval text = "sending data..." ...
package zella.lanternascreens.controller; import zella.lanternascreens.view.View; public abstract class BaseController<T extends View> { protected T view; public void setView(T view){ this.view = view; } }
#include "DXShader.h" #include "BF/IO/FileLoader.h" #include "BF/Engine.h" #include "DXError.h" namespace BF { namespace Platform { namespace API { namespace DirectX { using namespace std; using namespace BF::IO; DXShader::DXShader() : VS(nullptr), PS(nullptr), VSData(nullptr), PSData(nul...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Ticket extends Model { use HasFactory; protected $table = 'ticket'; protected $fillable = [ 'user_name', 'from', 'to', 'number_phone', ...
import Test.HUnit (Test(TestCase)) import Input (echo) import HUnitJudge (isEqual, runJSON) echo' = echo :: [Int] -> [Int] empty = [] main = runJSON [ TestCase (isEqual "echo [1,2,3]" [1,2,3] (echo' [1,2,3])) , TestCase (isEqual "echo []" empty (echo' empty)) , TestCase (isEqual "echo [1]" [...
namespace CommandApi.Internal.Requests { using System; using Newtonsoft.Json; /// <summary> /// Represents the data sent in response to receiving a valid command. /// </summary> internal class CommandResponse { /// <summary> /// Initializes a new instance of the <see cref=...
class CreateSpreeNavisionItems < ActiveRecord::Migration[5.1] def change create_table :spree_navision_items do |t| t.string :key t.string :rec_id t.string :no t.string :description t.string :description_2 t.string :long_text t.string :base_unit_of_measure t.string :...
class HomeController < ApplicationController DOGS = ['1-normal', '10-newspaper', '47-celebrate', '48-box', '52-basketball', '56-rocket'] WORDS = [ 'Hi!<br/>Sure it\'s nice to see you!', 'Yay!<br/>I knew you\'d come!', 'I was expecting you!', 'Yay!<br/>You made it!', 'Let\'s play!' ] def index drnd = r...
package Structural_Patterns.Decorator; public class MainDecorator { public static void main(String[] args) { IReal real = new Real(); IReal decoCheck = new DecoratorCheckSyntax(real); IReal decoLog = new DecoratorLogging(decoCheck); for (String query : new String[]{"15", "-15", "f...
package com.rac021.jaxy.api.crypto ; import java.util.Arrays ; import java.util.Base64 ; import java.util.Objects ; import javax.crypto.Cipher ; import java.util.logging.Level ; import java.util.logging.Logger ; import java.security.SecureRandom ; import javax.crypto.spec.SecretKeySpec ; import javax.crypto.BadPaddin...
#!/bin/bash green='\033[1;32m' end='\033[1;m' info='\033[1;33m[!]\033[1;m' que='\033[1;34m[?]\033[1;m' bad='\033[1;31m[-]\033[1;m' good='\033[1;32m[+]\033[1;m' run='\033[1;97m[~]\033[1;m' printf """$green ___ _ / _ \(_)__ ____ ___ __ / // / / _ \`/ _ \`/ // / /____/_/\_, /\_, /\_, / ...
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
/* -*- Mode: Prolog -*- */ :- module(owlapi_swrl_hooks, [ ]). :- use_module(library(jpl)). :- use_module(swrl). :- use_module(owl2_model). :- use_module(owl2_metamodel). prefix('org.semanticweb.owl.model'). :- multifile owl2_java_owlapi:owlterm_java/4. owl2_java_owlapi:owlterm_java(Fac,rule,Pl...
GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'root'; FLUSH PRIVILEGES;
using Generators; using System.Linq; namespace Opal.Productions { public interface IReduceExpr { void Write<T>(T generator) where T:Generator<T>; } public class ReduceNullExpr: IReduceExpr { public void Write<T>(T generator) where T: Generator<T> => generator.Write("nu...
<?php namespace Test; use ZfCompat\Db\Sql; class SqlTest extends \DbCase { function getDataset() { return $this->createFlatXmlDataSet(__DIR__ . '/SqlTest.xml'); } private function _getAdapter() { $params = array( 'driver', 'database', 'username', 'password', 'hostname',...
#!/usr/bin/env bash # installing dependencies for lumen-generators composer install --no-interaction composer update --no-interaction # installing dependencies for lumen-test cd lumen-test && composer install --no-interaction
#!/usr/bin/zsh set -e echo "Unmounting iPhone..." /usr/bin/fusermount -u /media/$USER/iPhone echo "Unpairing iPhone..." /usr/local/bin/idevicepair unpair echo "Done!"
import { Injectable, CanActivate, ExecutionContext, HttpException, } from '@nestjs/common'; import * as config from 'config'; import { Reflector } from '@nestjs/core'; const jwt = require('jsonwebtoken'); import { PrincipalContext } from '../../../shared/service/principal.context.service'; import { User...
namespace Jurassic.Library { /// <summary> /// Defines the element type and behaviour of typed array. /// </summary> public enum TypedArrayType { /// <summary> /// An array of signed 8-bit elements. /// </summary> Int8Array, /// <summary> /// An arra...
using System; namespace FinanceDataMigrationApi.V1.Domain { public class SuspenseResolutionInfo { public DateTime? ResolutionDate { get; set; } public bool IsResolve { get { if (IsConfirmed && IsApproved) return true; ...
/* Copyright 2009-2016 EPFL, Lausanne */ package leon package synthesis package strategies import purescala.Common.FreshIdentifier import graph._ class ManualStrategy(ctx: LeonContext, initCmd: Option[String], strat: Strategy) extends Strategy { implicit val ctx_ = ctx import ctx.reporter._ abstract class C...
import 'dart:async'; import 'package:bnb_wallet/infrastructures/grpc/generated/models.pb.dart'; import 'package:bnb_wallet/infrastructures/grpc/generated/quote.pb.dart'; import 'package:bnb_wallet/infrastructures/grpc/market/rpc_quote.dart'; import 'package:bnb_wallet/utils/device_util.dart'; import 'package:bnb_walle...
// File generated from our OpenAPI spec package com.jaguar.model; import com.google.gson.annotations.SerializedName; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; @Getter @Setter @EqualsAndHashCode(callSuper = false) public class SourceTransaction extends JaguarObject implements HasId {...
/** * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * This file is licensed under the Apache Software License, * v. 2 except as noted otherwise in the LICENSE file * https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/LICENSE */ package com.sap.xsa.security.container...
using System.Xml.Linq; namespace Knapcode.ExplorePackages.Entities { public class FindMixedDependencyGroupStylesNuspecQuery : INuspecQuery { public string Name => PackageQueryNames.FindMixedDependencyGroupStylesNuspecQuery; public string CursorName => CursorNames.FindMixedDependencyGroupStyles...
/* * vRealize Network Insight API Reference * * vRealize Network Insight API Reference * * API version: 1.1.8 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package vrni // WebProxyRequest struct for WebProxyRequest type WebProxyRequest struct { // Descriptor or identifier for particular...
//go:generate go-bindata -pkg web -o templates_and_migrations_gen.go templates/... db_migrations package web
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use App\Http\Requests; use App\Models\Projet; use Illuminate\Support\Facades\Auth; class ProjetController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
#!/bin/bash # Color log lines according to level case $1 in -h | --help ) echo "usage: $(basename $0)"; exit;; esac if [ $# -ne 0 ]; then 2>&1 echo "error: wrong number of arguments" exit 1 fi awk ' /INFO/ {print "\033[32m" $0 "\033[39m"; next} /WARNING/ {print "\033[33m" $0 "\033[39m"; next} ...
# coc-lines Lines source for coc.nvim ## Install `:CocInstall coc-lines` ## Usages - line sources added to completion sources, with `[LN]` shortcut - `:CocList fuzzy_lines`: list current buffer lines with fuzzy search ## License MIT --- > This extension is created by [create-coc-extension](https://github.com/f...
using AGO.Tasks.Controllers; namespace AGO.Tasks.Test { public class AbstractDictionaryTest: AbstractTest { protected DictionaryController Controller { get; private set; } public override void FixtureSetUp() { base.FixtureSetUp(); Controller = IocContainer.GetInstance<DictionaryController>(); } }...
package config import ( log "github.com/sirupsen/logrus" "github.com/spf13/viper" ) var C Config type Config struct { Kafka KafkaServiceConfig } type KafkaServiceConfig struct { Rpc map[string]string Isolations []KafkaIsolation } type KafkaIsolation struct { Keyword string ProducerConfig map[s...
package plus.yuhaozhang.service.cos; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; /** * @author Yuh Z * @date 1/19/22 */ @SpringBootApplication @ComponentScan(basePackages = {"plu...
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'endpoint.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Map<String, dynamic> _$EndpointToJson(Endpoint instance) => <Stri...
// // IMPORTS // // libraries // app modules import linkupRadar from './radar/linkupRadar' import linkupTables from './radar/linkupTables' import { showFilterTagForm, updateFilterList, filterBlips } from './radar/filterTags' import { getStatsActive, getTags, setStatsActive, updateTags } from './util/localStore' import ...
import clsx from 'clsx'; import React from 'react'; import { Link as GatsbyLink } from 'gatsby'; import Box from '@material-ui/core/Box'; import MuiLink from '@material-ui/core/Link'; import Typography from '@material-ui/core/Typography'; import { makeStyles, withStyles } from '@material-ui/core/styles'; //---------...
# -*- coding: utf-8 -*- # # Copyright 2017 Google LLC. All Rights Reserved. # # 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 requir...
;;;-*- Mode: Lisp; Package: CCL -*- ;;; ;;; Copyright 1994-2009 Clozure Associates ;;; ;;; 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...
import Model from './Model'; class Direccion extends Model{ static url(){ return 'direccion'; } constructor(){ super(); this.calle = ''; this.altura = ''; this.piso = ''; this.dpto = ''; this.localidad_id = ''; } static model(){ re...
// --- Directions // Given a string, return true if the string is a palindrome // or false if it is not. Palindromes are strings that // form the same word if it is reversed. *Do* includes spaces // and punctuations in determinig if the string is a palindromw. // --- Examples: // palindrome("abba") == true // palind...
#!/usr/bin/env bash set -e set -u set -o pipefail ############################################################ # Functions ############################################################ ### ### Change UID ### fix_perm() { local uid_varname="${1}" local gid_varname="${2}" local directory="${3}" local recursive="$...
# SagaSplash [![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest) An unsplash image gallery built with redux saga ![What the](https://i.imgur.com/nR1iw8P.jpg) # Starter After cloning, checkout the `starter` branch ```bash git checkout starter ```
class MoveCodeToPromotionCode < ActiveRecord::Migration def change Spree::Promotion.find_each do |promotion| next if promotion.code.nil? promotion.codes.create!(code: promotion.code) end end end
package icfp2019.analyzers import icfp2019.loadProblem import icfp2019.model.GameState import icfp2019.model.RobotId import icfp2019.parseDesc import kMetis import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.* internal class KMetisTest { @Test fun kMetis() { val problemInput = ...
use std::io; use bitflags::bitflags; use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; use failure::Fail; use num_derive::{FromPrimitive, ToPrimitive}; use num_traits::{FromPrimitive, ToPrimitive}; use crate::{gcc, impl_from_error, PduParsing}; const SYNCHRONIZE_PDU_SIZE: usize = 2 + 2; const CONTROL_PDU_S...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class MainMenu : MonoBehaviour { public GameObject optionScreen; public string firstlevel; // Start is called before the first frame update public GameObject l...
<?php /** * This file is part of the Krystal Framework * * Copyright (c) No Global State Lab * * For the full copyright and license information, please view * the license file that was distributed with this source code. */ namespace Krystal\Captcha\Standard\Text; abstract class AbstractGenerator { /** ...
<?php namespace App\Http\Livewire\Admin; use App\Models\AttributeGroup; use Livewire\Component; class AddAttributeGroupComponent extends Component { public $name; public $sort_order = 1; public function addAttributeGroup() { $this->validate([ 'name' => 'required', ]); ...
# PokemonClass Using a Pokemon team to review Ch4-6 in EE422C #MainPokemon, Pokemon, and Trainer Java Classes cover: - Syntax - Inheritance - Getters - Setters - Extension - Super - Equals/Comparing Functions for Classes - Typecasting - instanceOf - Polymorphism - Casting References - Interfaces
var gulp = require('gulp'), gutil = require('gulp-util'), uglify = require('gulp-uglify'), concat = require('gulp-concat'); var del = require('del'); var minifyHTML = require('gulp-minify-html'); var minifyCSS = require('gulp-minify-css'); var karma = require('gulp-karma'); gulp.task('minify'...
# frozen_string_literal: true require 'vvm/state/base' require 'vvm/state/empty_balance' require 'vvm/state/positive_balance' require 'vvm/state/sold_out' module Vvm module State end end
/* * Copyright (c) 2017 - 2021 CiBO Technologies - All Rights Reserved * You may use, distribute, and modify this code under the * terms of the BSD 3-Clause license. * * A copy of the license can be found on the root of this repository, * at https://github.com/cibotech/ScalaStan/blob/master/LICENSE, * or at http...
## 注意:我们暂时不再维护此项目,请前往[此处](https://github.com/yahb/scraino-gui)查看Scraino的最新内容. # scraino-gui The development is based on the foundation of [scratch-gui](https://github.com/LLK/scratch-gui) ## Installation This requires you to have Git and Node.js installed. In your own node environment/application: ```bash npm instal...
import { useState, useEffect } from 'react'; export default function usePublicationIsTrackEnabled(publication) { const [isEnabled, setIsEnabled] = useState(publication ? publication.isTrackEnabled : false); useEffect(() => { setIsEnabled(publication ? publication.isTrackEnabled : false); if (publication)...
import React from "react"; export type Storage = { theme: "light" | "dark" | null; }; function isSupported() { return "localStorage" in globalThis; } export function getKey<T extends keyof Storage>(key: T): Storage[T] | null { if (!isSupported()) { return null; } const localStorage = globalThis.localS...
--- author: Heather Luna category: Sponsorship date: 2018-09-21 12:30:02 layout: post image: /static/img/blog/caktusgolf.png title: "Are You Game? Play Mini Golf & Meet the Caktus Team" --- <img src="/static/img/blog/caktusgolf.jpg" /> Play a free round of mini golf with the Caktus team! This is the ninth year [Caktu...
+++ draft = false +++ _Hmmm... slight size difference... Peruvians are short in general, but the young girls are little more than midgets._
# frozen_string_literal: true require_relative "cache_entry_metadata" module Grape module Cache module Backend class Memory # @param key[String] Cache key # @param response[Rack::Response] # @param metadata[Grape::Cache::Backend::CacheEntryMetadata] Expiration time def stor...
package com.kansus.teammaker.android.ui.games import android.content.Context import android.os.Bundle import android.util.Log import android.view.View import androidx.annotation.StringRes import com.kansus.teammaker.R import com.kansus.teammaker.android.Navigator import com.kansus.teammaker.android.core.BaseFragment i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Stellinator.Configuration; using Stellinator.Interfaces; namespace StellinatorTests { public class TestWorkflow : IWorkflow { private readonly int seq; public TestWorkflow...
import { NgModule } from '@angular/core'; import { CommonModule } from "@angular/common"; import { TvInputService } from "../tv"; import { TvScreenService } from "./tv-screen.service"; import { TvInputComponent } from "./tv-input.component"; import { TvRowComponent } from "./tv-row.component"; import { TvRowItemCompo...
/* * 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 ...
module Bobkit module SlimBridge def render(*args) SlimHandler.instance.render *args end class SlimHandler include Singleton include FileHelpers include SlimOptions include LocationOptions include ScopeOptions include I18nBridge def render(opt...
package io.collapp.model import ch.digitalfondue.npjt.ConstructorAnnotationRowMapper.Column import io.collapp.common.Json import java.util.* class ProjectMailTicketConfig(@Column("MAIL_CONFIG_ID") val id: Int, @Column("MAIL_CONFIG_NAME") val name: String, ...
$package_file = Pathname.new('package.json') def current_version JSON.parse($package_file.read)['version'] end def current_version_split current_version.split('.').map { |i| i.to_i } end def save_version(new_version) json = JSON.parse($package_file.read) json['version'] = new_version.join('.') $package_fil...
import 'package:injectable/injectable.dart'; import 'package:logger/logger.dart'; @module abstract class LoggerDi { @LazySingleton() Logger get logger => Logger( printer: PrettyPrinter(), ); }
const validator = require('validatorjs'); const puppeteer = require('puppeteer'); const GetMetaData = async (page) => { const meta = await page.$$('meta') const metaElements = [] for (const [i, element] of meta.entries()) { metaElements[i] = { httpEquiv: await page.evaluate((el) => Prom...
## Copyright (c) 2014-2015 André Erdmann <dywi@mailerd.de> ## ## Distributed under the terms of the MIT license. ## (See LICENSE.MIT or http://opensource.org/licenses/MIT) ## <% if FOREIGN_INITRAMFS=0 %> case "${INITRAMFS_LOGFILE=}" in ?*/*) autodie mkdir -p -- "${INITRAMFS_LOGFILE%/*}" ;; esac <% endif %>...
const defaultTheme = require('tailwindcss/defaultTheme'); module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}'], safelist: [ { pattern: /bg-(yellow|green|violet|sky|rose)-100/, }, { pattern: /bg-(yellow|green|violet|sky|rose)-200/, variants: ['hover'], }, { pattern:...
namespace E_MaxSequenceOfIncreasingElements { using System; using System.Linq; public class IncreasingElements { public static void Main() { var arrayOfIntegers = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); var sequenceLength = 1; var...
const dropZone = document.getElementById("dropZone"); dropZone.addEventListener('drop', (event) => { event.preventDefault(); event.stopPropagation(); console.log("Dropped"); var paths = []; for (const f of event.dataTransfer.files) { console.log('File Path of dragged files: ', f.path); ...
<div class="form-group"> {!! Form::label('currency', 'Валюта', ["class"=>"col-sm-3 control-label"]) !!} <div class="col-sm-6"> {!! Form::text('name', '', ["class"=>"form-control", "placeholder"=>"Название валюты",'required' => 'required' ]) !!} </div> </div> <div class="form-group"> {!! ...
class Option { constructor(value, status){ this.value = value; this.status = status; } } class CountMatrix { constructor(data, maxWidth){ this.data = data.slice(); this.totalLength = data.length; this.maxWidth = maxWidth; this.rows = []; this.start ...
create table "trello_data"."analytics"."daily_total_cards_each_stage__dbt_tmp" as ( with trello_boards as ( select "id" as board_id, "name" as board_name from "trello_data"."analytics"."trello_boards" ), trello_lists as ( select id_list, id_board, "name" as stage_name from "trello_data"."analy...
// @flow strict import { spawn } from "./reflex/Application.js" import * as Main from "./Allusion/Main.js" if (location.protocol === "dat:") { window.main = spawn(Main, window.main, window.document) }
# frozen_string_literal: true FactoryBot.define do UPLOADED_PDF_PROPS = { source: nil, doc_type: 'Unknown', total_documents: 2, total_pages: 2, content: { page_count: 1, dimensions: { height: 8.5, width: 11.0, oversized_pdf: false }, attachments: [{ page_count: 1, dimensions: { height: 8.5, wi...
require File.expand_path('../../../spec_helper', __FILE__) describe GithubBackup::Wiki do it 'acts lie a Repository' do GithubBackup::Wiki.new(sawyer_repo). must_be_kind_of GithubBackup::Repository end describe '#clone_url' do it 'returns the repository clone URL' do repo = GithubBackup::W...
using System; using GGJ2020.Managers.Scores; using GGJ2020.Stages; using UniRx; using UniRx.Async; using UnityEngine; using System.Linq; using System.Collections.Generic; using System.Threading; using UniRx.Async; using UniRx.Async.Triggers; using Zenject; namespace GGJ2020.Managers { public class ...
#!/bin/bash if [ "${CLUSTER}" == "k3s" ]; then source ./tests/scripts/install_k3s.sh elif [ "${CLUSTER}" == "gke" ]; then source ./tests/scripts/install_gke.sh elif [ "${CLUSTER}" == "rke" ]; then source ./tests/scripts/install_rke.sh else echo "Using given cluster with given kubeconfig..." fi # Get rio binar...
// <copyright file="TalkScript.cs" company="bisu"> // © 2021 bisu // </copyright> using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; using Yomiage.SDK.Common; using Yomiage.SDK.Config; using Yomiage.SDK.VoiceEffects; namespace Yomiage.SDK.Talk { /// <summary> /// 文章の読み...
# Quiwi 🥝 [![Go Reference](https://pkg.go.dev/badge/github.com/goburrow/quic.svg)](https://pkg.go.dev/github.com/goburrow/quic) ![](https://github.com/goburrow/quic/workflows/Go/badge.svg) QUIC transport protocol (https://quicwg.org/) implementation in Go. The goal is to provide low level APIs for applications or pro...
var classnd_body_player_capsule_impulse_solver = [ [ "ndBodyPlayerCapsuleImpulseSolver", "classnd_body_player_capsule_impulse_solver.html#a3ae756969dcc80eeba89db0f91d1f304", null ], [ "AddAngularRows", "classnd_body_player_capsule_impulse_solver.html#a9dbc07c777d1c21ae5639d6623ae26ca", null ], [ "AddContact...
package com.kostasdrakonakis.notes.ui import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.ViewModel import com.kostasdrakonakis.notes.managers.note.NoteManager import io.reactivex.disposables.CompositeDisposable import org.koin.core.KoinComponent import org.koin.core.inject abstract class BaseViewMo...
package com.fahad.sicpa.activities.search import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.fahad.sicpa.network.source.Resource import com.fahad.sicpa.repositories.article.IArticleRepository import com.fahad.sicpa.repositories.article.remote.requests.SearchArticleRequest import da...
1125667387301421056 1214315619031478272 802210891 487118986 1614378918 980486295993667584 94711461 1098866340 882911602139430913 928202035123703808 342581272 301544479 795829049742467072 909367913009811457 746271034005917696 228745438 47983504 76314876 260773264 2517526903 1090582062006980609 3805497017 106737695051844...
3733,300,0 2522,36,0 2531,600,0 2534,120,0 14885,285,0 14921,400,0 8187,25,0 562,290,0 575,2400,0 590,1700,0 7895,259,0 628,37,0 638,1600,0 681,75,0 475,3000,0 699,2700,0 797,390,0 711,500,0 2505,700,0 750,94,0 3734,420,0 937,69,0 927,400,0 5055,70,0 3754,64,0 14961,31,0 14528,581,0 491,1300,0 511,5000,0 536,1300,0 556...
import { assign, noop } from '../utils/helpers'; const handlers = {}; export default { load: noop, addHandlers(obj) { assign(handlers, obj); }, onHandle({ cmd, data }) { handlers[cmd]?.(data); }, };