text
stringlengths
27
775k
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable import/no-default-export */ import { Box } from "@chakra-ui/react"; export default function Button(props: any): JSX.Element { return ( <Box px={4} py={2} as="butt...
import React from "react"; import styles from "./styles.module.scss"; const TitleSection = ({titulo}:{titulo:string}) =>{ return( <div className={styles.TitleSection}> <h2>{titulo}</h2> </div> ) } export default TitleSection;
import 'dart:math'; import 'dart:ui'; import 'QCalHolder.dart'; import 'QCalModel.dart'; class QCalculator { // @override static List<Week> generate(Date date) { // DateTime start =DateTime.now(); DateTime firstDateInMon = DateTime(date.year, date.month, 1); int offset2FirstWeekDay = (firstDat...
### **瓜瓜talk服务端** cdn服务器 msg服务器
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content=""> <meta name="author" content=""> <title>DevExtremeAspNetCoreApp</title> <link ...
module Main where import Utilities -- Input processing type Input = [Int] parse :: String -> Input parse = map read . lines -- Part One solve1 :: Input -> Int solve1 xs = head [product ns | (ns, _) <- choose 2 xs, sum ns == 2020] tests1 :: [(String, Int)] tests1 = [(testInput, 514579)] testInput :: String testI...
class TopApps::Scraper def self.scrape_index(index_url) doc = Nokogiri::HTML(open(index_url)) free_apps_section = doc.css(".section.chart-grid.apps div.section-content").first free_apps_list = free_apps_section.css("li") free_apps_list.map do |app| { name: app.css("h3 a").text, ...
<?php use Faker\Generator as Faker; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB as DB; class MessageParticipantsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run(Faker $faker) { //Empty the message_parti...
package excel_data_import.repository.implementation; import javax.persistence.EntityManager; import excel_data_import.domain.Match; import excel_data_import.repository.MatchRepository; public class MatchRepositoryImpl implements MatchRepository { @Override public void persist(Match match) { try { ...
package crypto import ( "crypto/sha1" "crypto/sha256" "crypto/sha512" "fmt" "hash" "io" bosherr "github.com/cloudfoundry/bosh-utils/errors" ) var ( DigestAlgorithmSHA1 Algorithm = algorithmSHAImpl{"sha1"} DigestAlgorithmSHA256 Algorithm = algorithmSHAImpl{"sha256"} DigestAlgorithmSHA512 Algorithm = algor...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class admin_producto_detalle_controller extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('admin_producto_detalle_model'); } public function index() { $data= array ( 'title' => 'CRUD || ...
import { Injectable } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; import { HttpClient } from '@angular/common/http'; @Injectable({ providedIn: 'root' }) export class CrudServiceService { httpOptions = { 'responseType': 'xml' as 'json' }; constructor(private http: HttpClie...
exports.update_value_id = function(id, value) { document.getElementById(id).value = value; } exports.append_value_id = function(id, value) { document.getElementById(id).value += value; } exports.update_view_id = function(id, value) { document.getElementById(id).innerText = value; } exports.update_background_id...
# Get-VstsAssemblyReference [table of contents](../Commands.md#toc) | [brief](../Commands.md#get-vstsassemblyreference) ``` NAME Get-VstsAssemblyReference SYNOPSIS Gets assembly reference information. SYNTAX Get-VstsAssemblyReference [-LiteralPath] <String> [<CommonParameters>] DESCRIPTION Not suppor...
class Events { private _callbacks = {}; public bind(name, callback, context?) { if (!this._callbacks[name]) { this._callbacks[name] = []; } // this._callbacks[name].push({'cb':callback, context:context}); this._callbacks[name].push(callback); } public unbind(name,callback) { for (var i...
package com.spike.text.lucene.indexing.analysis; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.core.KeywordAnalyzer; import org.apache.lucene.analysis.core.SimpleAn...
namespace StripeTests.Terminal { using Newtonsoft.Json; using Stripe.Terminal; using Xunit; public class LocationTest : BaseStripeTest { public LocationTest(StripeMockFixture stripeMockFixture) : base(stripeMockFixture) { } [Fact] public void Des...
@file:Suppress("CHECKRESULT") package com.shimmer.microcore.extension import io.reactivex.Observable import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers inline fun <T> Observable<T>.subscribe3( crossinline onNext: T.() -> Unit, crossinline onError: (Throwable) -...
stitching_version="1.9.0" stitching_git_hash="master" synapse_version="1.4.1" synapse_git_hash="1.4.1" synapse_dask_version="1.3.1" neuron_segmentation_version="1.0.0" neuron_segmentation_git_hash="1.0.0" n5_spark_tools_version="3.11.0" n5_spark_tools_git_hash="exm-3.11.0"
#!/bin/bash ARGS=() [[ -z "$DEVICE" ]] && ARGS+=("-Dwebdriver.url=https://${BROWSERSTACK_USERNAME}:${BROWSERSTACK_ACCESS_KEY}@hub-cloud.browserstack.com/wd/hub") [[ ! -z "$BROWSERSTACK_LOCAL_IDENTIFIER" ]] && ARGS+=("-Dwebdriver.cap.browserstack.localIdentifier=${BROWSERSTACK_LOCAL_IDENTIFIER}") [[ ! -z "$BROWSER" ]] ...
package typingsSlinky.grammarkdown import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} object stringwriterMod { @JSImport("grammarkdown/dist/stringwriter", "StringWriter") @...
--- layout: watch title: TLP6 - 07/02/2021 - M20210207_002532_TLP_6T.jpg date: 2021-02-07 00:25:32 permalink: /2021/02/07/watch/M20210207_002532_TLP_6 capture: TLP6/2021/202102/20210206/M20210207_002532_TLP_6T.jpg ---
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // OtherResources=process_sync_script.dart import "dart:io"; import "package:expect/expect.dart"; impo...
export interface CommonColors { readonly black: string; readonly white: string; readonly grey0: string; readonly grey1: string; readonly grey2: string; readonly grey3: string; readonly grey4: string; readonly grey5: string; readonly greyOutline: string; readonly disabled: string; readonly divider:...
package consoleui import ( "fmt" "github.com/nsf/termbox-go" "github.com/xosmig/roguelike/core/geom" "github.com/xosmig/roguelike/gamemodel/status" "log" ) // getKeyForAction accepts the set of interesting keys and waits for one of these keys to be pressed, // or for a cancellation request from the user (Ctrl+C ...
RSpec.describe NxtHttpClient do it 'has a version number' do expect(NxtHttpClient::VERSION).not_to be nil end context 'http methods', :vcr_cassette do let(:client) do Class.new(NxtHttpClient::Client) do configure do |config| config.base_url = nil end response_hand...
import { IsInt, Max, Min } from 'class-validator'; export class UserNutritionGoalsDTO { @IsInt() @Min(600) @Max(20000) public kcal: number; @IsInt() @Min(1) @Max(98) public protein: number; @IsInt() @Min(1) @Max(98) public carbs: number; @IsInt() @Min(1) @Max(98) public fats: number;...
<?php namespace Tests\Feature; use Tests\CustomTestCase; class AuthTest extends CustomTestCase{ public function setUp(): void { parent::setUp(); // TODO: Change the autogenerated stub } public function test_register_user(){ $userInfo = [ 'email'=>'diaaOsama850@outlook.com' ...
(ns advent-of-code-2017.day1 (:require [clojure.string :refer [trim]])) (defn load-input [] (trim (slurp "resources/day1.txt"))) (defn extract-pairs [input] (partition 2 1 (map #(Integer/valueOf (str %)) (str input (first input))))) ;; add the first value to the end to...
#include <stdint.h> #include <stdlib.h> #include "gba.h" #include "drawable.h" #include "input.h" #include "tiles.h" #include "font.h" #include "text.h" // The entry point for the game. int main() { // Set display options. // DCNT_MODE0 sets mode 0, which provides four tiled backgrounds. // DCNT_OBJ enables object...
using System; using System.Diagnostics; using System.Globalization; using System.ServiceProcess; using System.Threading; namespace BacklightShifter { internal static class ServiceStatusThread { private static Thread Thread; private static readonly ManualResetEvent CancelEvent = new ManualResetEven...
/* * Copyright 2021 HM Revenue & Customs * * 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...
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} module Game.Play.Handler where import Prelude (IO, flip, pure, ($), (+), (<), (<$>), (>), (>>=)) im...
import { PrivKey } from "../priv-key"; import { PubKey } from "../pub-key"; import { PrivKeySecp256k1 } from './priv-key'; describe('PrivKeySecp256k1', () => { let privKey: PrivKeySecp256k1(privKey); let pubkey: PrivKeySecp256k1(pubkey); it('公開鍵を取得する', () => { expect(pubkey).toEqual(getPubKey(pr...
#!/usr/bin/env bash cat >hello.sh <<\EOF #!/bin/sh echo "Hello World!" EOF chmod +x hello.sh ./hello.sh
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Displays form for password change * * @package PhpMyAdmin */ if (! defined('PHPMYADMIN')) { exit; } /** * Get HTML for the Change password dialog * * @param string $username username * @param string $hostname hostname * * @return string html sni...
export enum MODES { Lydian, Ionian, Mixolydian, Dorian, Aeolian, Phrygian, Locrian } export const enum Intervals { unison, minorSecond, // semitone majorSecond, // tone minorThird, majorThird, perfectFourth, tritone, // dim 5th, aug 4th perf...
<?php namespace PrestaShop\PSTAF; use PrestaShop\PSTAF\Helper\FileSystem as FS; class ConfigurationFile implements Util\DataStoreInterface { private $path; private $options; private static $instances = []; public function __construct($path) { $this->path = $path; $this->options =...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Volo.Abp.Application.Dtos; namespace Bamboo.Filter { [JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)] public cla...
package com.example.web.wbfitness; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andr...
import {Rule} from '../Rule'; import {RuleConfig} from '../config/RuleConfig'; import {RULE_DICTIONARY} from './index'; import {PACK} from './SimpleRulePack'; interface RuleDictionary { [key: string]: (conf: RuleConfig) => Rule; } export class RuleFactory { static readonly RULES: RuleDictionary = { ...RULE_DI...
#!/bin/bash if [ ! $1 ]; then echo "usage: $0 name" exit fi NAME=$1 docker rm -f $NAME 2>/dev/null docker run --name $NAME --hostname $NAME --restart=always -p 32777:27017 -v `pwd`/session:/data/db -d mongo
using System; using System.IO; using KoiCatalog.Plugins.FileIO; using FileInfo = KoiCatalog.Plugins.FileIO.FileInfo; namespace KoiCatalog.Plugins.Koikatu { [FileHandlerDependency(typeof(FileInfoFileHandler))] public sealed class KoikatuFileHandler : FileHandler { public override void HandleFile(Fi...
<?php /* * This file is part of the IPTools package. * * (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tests\Unit; use \Longman\IPTools\Ip; /** ...
#!/usr/bin/env python3 import os ret = os.system("git add .") if(ret!=0): print("Error running the previous command") message = input("Please enter the commit message: ") ret = os.system("git commit -m \"" +str(message)+"\"") ret = os.system("git push origin ; git push personal")
package no.nav.klage.search.clients.ereg import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties(ignoreUnknown = true) data class Organisasjon( val navn: Navn, val organisasjonsnummer: String, val type: String, ) @JsonIgnoreProperties(ignoreUnknown = true) data class Navn( ...
<section class="nav"> <div class="container"> <nav> <a href="{{ route('home') }}" class="{{ $nav->match('home') }}">Главная</a> <a href="{{ route('docs') }}" class="{{ $nav->match('docs') }}">Документаця</a> <a href="{{ route('articles') }}" class="{{ $nav->match('article...
// Copyright 2021 TFCloud Co.,Ltd. All rights reserved. // This source code is licensed under Apache-2.0 license // that can be found in the LICENSE file. package messaging type ChannelType string const ( SMS ChannelType = "sms" Email ChannelType = "email" )
## EventForm Component A component that handles event creation. ### Example ```js <EventForm {...fields} invalid={invalid} onAddGuest={this.handleAddingGuest} onRemoveGuest={this.handleRemovingGuest} guestList={guestList} eventTypes={eventTypes} pastHosts={hosts} pastGuests={guests} onSubmit={this.h...
/* -------------------------------------------------------------------------------- Version history -------------------------------------------------------------------------------- 0.1.0 - initial version October 2014 Mark Farrall ------------------------------------------------------------------------...
import {ImageStyle, TextStyle, ViewStyle} from 'react-native'; export type Breakpoints = 'sm' | 'md' | 'lg' | 'xlg' | 'max'; export type BreakpointLength = {min: number; max: number}; export type BreakpointEntries = [Breakpoints, BreakpointLength][]; export type Media = Record<Breakpoints, {min: boolean; max: boolean...
import { validatePattern } from "utils/validations"; export const delegateRegistration = (t: any) => ({ username: (usernames: string[]) => ({ required: t("COMMON.VALIDATION.FIELD_REQUIRED", { field: t("COMMON.DELEGATE_NAME"), }), maxLength: { value: 20, message: t("COMMON.VALIDATION.MAX_LENGTH", { ...
package jug.workshops.poligon.typed import akka.actor.typed.scaladsl.Behaviors import akka.actor.typed.{ActorRef, ActorSystem, Behavior, Terminated} import scala.concurrent.Await object ChatRoom { sealed trait Command final case class GetSession(screenName: String, replyTo: ActorRef[SessionEvent]) extends Comm...
import time anoAtual = int(time.strftime('%Y', time.localtime())) anoNasc = int(input('Digite o ano que você nasceu: ')) idade = anoAtual - anoNasc if(idade == 18): print(f'Você tem {idade} anos. Chegou a hora de se alistar') elif(idade > 18): print(f'Passou {idade - 18} anos da hora de se alistar') elif(idad...
# DT models are widely used for classification & regression tasks. # Essentially, they learn a hierarchy of if/else questions, leading to a decision. # if/else questions are called "tests" # tests for continuous data are: "Is feature X1 larger than value M?" import matplotlib.pyplot as plt import mglearn import nump...
use std::borrow::Cow; use std::env; use std::fs::File; use std::io::{stdin, stdout, BufRead, BufReader, Read, Write}; use rand::seq::SliceRandom; use rand::thread_rng; trait Rule { // returns the original string to replace fn original(&self) -> Cow<str>; // returns the string to be substituted. // All...
--- title: Postgres authors: emesika --- # Postgres This page is obsolete. ## Installation We are using version 9.1.x ## Authentication ``` Trust Password GSSAPI SSPI Kerberos Ident Peer LDAP RADIUS Certificate PAM ``` details: [Authentication Methods](http://www.postgresql.org/docs/9.1/static/auth-methods.html...
-- 削除対象の日付を設定 DECLARE @dt date = (SELECT DATEADD(dd, -31, GETDATE())) -- バックアップ履歴レコードの削除 EXEC msdb.dbo.sp_delete_backuphistory @dt -- ジョブ実行履歴レコードの削除 EXEC msdb.dbo.sp_purge_jobhistory @oldest_date= @dt -- メンテナンスプラン履歴レコードの削除 EXECUTE msdb..sp_maintplan_delete_log null,null, @dt
import { all } from 'redux-saga/effects'; import categoriesSaga from './categoriesSaga'; import cookbookSaga from './cookbookSaga'; function* rootSaga() { yield all([categoriesSaga(), cookbookSaga()]); } export default rootSaga;
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WanderBehavior : SteeringBehavior { [SerializeField] private float mWanderDistance; [SerializeField] private float mWanderRadius; [SerializeField] private float mWanderJitter; private float mWanderAngle; p...
package service import ( "k8s.io/api/admission/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/serializer" ) var scheme = runtime.NewScheme() var codecs = serializer.NewCodecFactory(scheme) // ToAdmissionResponse is a helper function to cr...
# PythonでGUIをつくろう─はじめてのQt for Python 3.3.4 サンプルコード Qt for Python(PySide2)バージョン情報の出力 をおこないます。
import 'dart:convert'; import 'package:shelf/shelf.dart' as shelf; class HttpResponse { static shelf.Response get ok { return shelf.Response.ok( 'Ok', headers: <String, String>{ 'Content-Type': 'application/json; charset=utf-8', 'Cache-Control': 'no-cache', }, ); } sta...
import { useEffect, useState } from 'react'; import { RemoteParticipant } from 'twilio-video'; import useDominantSpeaker from '../useDominantSpeaker/useDominantSpeaker'; import useVideoContext from '../useVideoContext/useVideoContext'; export default function useParticipants() { const { room } = useVideoContext(); ...
package com.patrykkosieradzki.theanimalapp import com.google.firebase.ktx.Firebase import com.google.firebase.remoteconfig.FirebaseRemoteConfig import com.google.firebase.remoteconfig.ktx.get import com.google.firebase.remoteconfig.ktx.remoteConfig import com.google.firebase.remoteconfig.ktx.remoteConfigSettings impor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PyramidNETRS232_TestApp_Simple { class Program { /// <summary> /// Dead simple demo. The error handling and extra features have been omitted for simplicity. ///...
require "socket" require "uri" require "json" require "timeout" require "digest" Links = Hash.new Struct.new("Response", :code, :status) STATUS_CODES = { 200 => "200 OK", 301 => "301 Moved Permanently", 400 => "400 Bad Request", 403 => "403 Forbidden", 404 => "404 Not Found", 405 => "405 Method Not Allowed" } ...
package top.chao.funding.bean; public class TReturn { private Integer id; private Integer projectid; private String type; private Integer supportmoney; private String content; private Integer count; private Integer signalpurchase; private Integer purchase; private Integer fr...
#!/bin/bash # I'm super lazy y'all ./main.sh --gin_config example_configs/biggan_posenc_imagenet32.gin \ --model_dir gs://octavian-training2/compare_gan/model/imagenet32/posenc \ --schedule eval_last \ $@
import INode, * as INodeUtil from './inode'; import File from './file'; import DiskDriver from './diskDriver/interface'; import Metadata, * as MetadataUtil from './metadata'; import BlockManager from './blockManager'; import INodeManager from './inodeManager'; export default class FileSystem { static BLOCK_SIZE = 40...
import axios from 'axios'; require('./bootstrap'); window.Vue = require('vue'); Vue.component('example-component', require('./components/ExampleComponent.vue').default); Vue.component('agregar-cliente-component', require('./components/AgregarClienteComponent.vue').default); Vue.component('editar-cliente-component', r...
# Grid 栅格 采用24格划分的栅格系统 ## 基本用法 通过 span 设置宽度占比,默认占 24 格即 100%。 ```jsx import { Row, Col } from 'zarm-web'; ReactDOM.render( <> <Row> <Col> <div>col</div> </Col> </Row> <Row> <Col span={12}> <div>col-12</div> </Col> <Col span={12}> <div>col-12</div...
// See LICENSE.BU for license details. // See LICENSE.IBM for license details. package dana import chisel3._ import chisel3.util._ // [TODO] This module is currently non-working. It was an initial // solution to the problem of dealing with random writes from the // Processing Elements and needing to maintain a recor...
ALTER TABLE installation_statistics ADD COLUMN users_count INTEGER NOT NULL DEFAULT 0, ADD COLUMN codebases_count INTEGER NOT NULL DEFAULT 0;
# Olá,Mundo! Primeiro repositorio de Git e GitHub repositótio criado durante uma aula Está linha eu adicionei diretamente no site.
 using HKTool.Reflection.Runtime; namespace HKTool.Reflection; static class FastReflection { public static Dictionary<FieldInfo, RD_SetField> fsetter = new(); public static Dictionary<FieldInfo, RD_GetField> fgetter = new(); public static Dictionary<FieldInfo, Func<object, IntPtr>> frefgetter = new(); ...
import { connect } from 'react-redux' import * as Redux from 'redux' import { createStructuredSelector } from 'reselect' import toJS from '../../HoC/toJS' import { selectSideBarActive, selectSideBarDirection } from '../../selectors/sideBar'; import SideBar from '../../components/SideBar'; import { toggleSideBar } from...
# lwt-simple-multi-client-server Lwt の公式にあるサーバー実装 ``` dune exec ./main.exe ```
import React, { useState, useEffect } from 'react'; import { sha256 } from 'js-sha256'; import { Box, Text } from 'rebass'; import { ThemeProvider } from 'emotion-theming'; import Login from 'components/auth/login'; import { LoginProps } from 'components/auth/auth'; import Dashboard from './dashboard'; import { theme...
/* * Copyright 2021 EPAM Systems * * 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 in ...
#include <exception> #include <stdexcept> #include "Time.h" unsigned int Time::max_year = 3000; unsigned int Time::min_year = 1970; string Time::default_format = "%Ex %EX"; Time::Time() { setTime(0); } Time::Time(time_t time) { setTime(time); } Time::Time(tm& time) { setTime(time); } Time::Time (unsign...
var searchData= [ ['widgets',['Widgets',['../chapter18-widget.html',1,'overview']]], ['world',['World',['../chapter7-world.html',1,'overview']]], ['w',['w',['../structchai3d_1_1c_quaternion.html#adbf105b4dd0da86c8fca8ab14a66fee1',1,'chai3d::cQuaternion']]], ['widgets',['Widgets',['../group__widgets.html',1,'']]...
#ifndef MEL_BALLANDBEAM_HPP #define MEL_BALLANDBEAM_HPP #include <MEL/Core/Time.hpp> #include <MEL/Math/Constants.hpp> #include <MEL/Math/Functions.hpp> #include <MEL/Math/Integrator.hpp> class BallAndBeam { public: /// Steps the ball and beam simulation void step_simulation(mel::Time time, double position_r...
module DataFactory def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) end class Configuration attr_reader :channels attr_accessor :leagues, :url, :password def initialize @channels = %w(fixture calendario posiciones goleadores f...
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
我国JF22超高速风洞预计2022年建成 孙红雷说扫黑风暴这戏接对了 男子与亲外甥谈恋爱被骗100余万 女子公厕内拍下男子跪地偷窥全程 汤唯状态 迪丽热巴发长文告别乔晶晶 贵州发现6亿岁海绵宝宝 美国首例新冠死亡病例为2020年1月初 央视网评 饭圈文化该驱邪扶正了 国乒不组队参加今年亚锦赛 刘宪华把香菜让给王一博 塔利班称美延迟撤军将面临严重后果 高铁座位边的踏板别踩 孙兴被软禁 乔任梁父母回应恶评 美国数千只沙币被冲上海滩死亡 高校师生返校前提供48小时核酸证明 迪丽热巴好适合演女明星 汪东城晒吴尊AI女装换脸视频 大江暴揍孙兴 扫黑风暴 胖哥俩...
#include <iostream> #include <sstream> #include <gtest/gtest.h> #include <gadgetlib2/pp.hpp> #include <gadgetlib2/protoboard.hpp> #include <gadgetlib2/gadget.hpp> using ::std::cerr; using ::std::cout; using ::std::endl; using ::std::stringstream; #define EXHAUSTIVE_N 4 namespace PCP_Project { TEST(ConstraintsLib,R1...
from __future__ import division import autopath import py import math import random import sets exclude_files = ["__init__.py", "autopath.py", "conftest.py"] def include_file(path): if ("test" in str(path) or "tool" in str(path) or "documentation" in str(path) or "_cache" in str(path)): ...
import React from 'react'; import { Paragraph, Page, ChapterTitle } from 'components'; import PageLayout from 'layouts/PageLayout'; export default () => ( <PageLayout> <Page> <ChapterTitle>A new kind in the block</ChapterTitle> <Paragraph> During the last few years, media have periodically re...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class RoleSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('roles')->insert([ ['name' => 'Administrador', 'unalterable' => 1], ...
package com.icthh.xm.uaa.service; import com.icthh.xm.commons.lep.LogicExtensionPoint; import com.icthh.xm.commons.lep.spring.LepService; import com.icthh.xm.commons.logging.util.MdcUtils; import com.icthh.xm.commons.tenant.TenantContextHolder; import com.icthh.xm.commons.tenant.TenantContextUtils; import com.icthh.xm...
# frozen_string_literal: true require 'sinatra' require 'dotenv' require 'line/bot' $atis = [] def client Dotenv.load @client ||= Line::Bot::Client.new do |config| config.channel_secret = ENV['LINE_CHANNEL_SECRET'] config.channel_token = ENV['LINE_CHANNEL_TOKEN'] end end def get_atis url = URI.parse(...
import * as express from 'express'; declare const normalizeFilter: (req: express.Request, res: express.Response, next: express.NextFunction) => void; export default normalizeFilter;
namespace GameCreator.Stats { using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using GameCreator.Core; using GameCreator.Variables; #if UNITY_EDITOR using UnityEditor; #endif [AddComponentMenu("")] public class ConditionStatusEffect : ICo...
package xyz.qwewqa.relive.simulator.core.presets.condition import xyz.qwewqa.relive.simulator.stage.character.School import xyz.qwewqa.relive.simulator.core.stage.condition.NamedCondition val SeishoOnlyCondition = schoolCondition(School.Seisho) val RinmeikanOnlyCondition = schoolCondition(School.Rinmeikan) val Fronti...
module.exports = { version: require('../actions/version'), hostInformation: require('../actions/hostInfo'), systemProps: require('../actions/systemProps'), createVm: require('../actions/create'), start: require('../actions/start'), stop: require('../actions/stop'), save: require('../actions/save'), ...
from . import (eyerefract, cable, unlit_generic, lightmap_generic, vertexlit_generic, worldvertextransition, unlittwotexture, lightmapped_4wayblend, decalmodulate, refract, ...
"""Top-level package for EVTech.""" from .camera import * from .geodesy import * from .dataset import * from .ray import * __author__ = """David Nilosek""" __email__ = 'david.nilosek@eagleview.com' __version__ = '1.1.0'
#!/bin/sh VER=$1 if [ -z $VER ]; then VER=latest fi echo "VERSION=$VER" REPO=nmhung1210/mern-stack-docker TAG_NAME=$REPO:$VER docker build -t $TAG_NAME . && \ docker push $TAG_NAME