text
stringlengths
27
775k
# frozen_string_literal: true class RequestIssueCorrectionCleaner def initialize(correction_request_issue) @correction_request_issue = correction_request_issue end delegate :contested_decision_issue, :correction?, to: :correction_request_issue # Close the incorrectly added request issue from that DTA sup...
require "dry/matcher/result_matcher" module Dry class Matcher EitherMatcher = ResultMatcher end end
package com.battlelancer.seriesguide.util import android.content.Context import android.view.View import com.battlelancer.seriesguide.SgApp import com.battlelancer.seriesguide.model.SgEpisode2 import com.battlelancer.seriesguide.model.SgShow2 import com.battlelancer.seriesguide.provider.SgRoomDatabase import com.battl...
package nrmock import ( "net/http" newrelic "github.com/newrelic/go-agent" ) var _ newrelic.Transaction = &Transaction{} // Transaction is a mock implementation of newrelic.Transaction type Transaction struct { Name string Ended bool Ignored bool Errors int Code int Attributes map[st...
package dk.asj.springsaml.config; import org.springframework.context.annotation.Bean; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.saml2.provider.service.me...
package com.CVproject.wifi_solution.Adapter import android.net.wifi.ScanResult import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.CVproject.wifi_solution.R import com.google.firebase.databa...
#ifndef _H_COPY #define _H_COPY #include <coyaml_src.h> #include "parser.h" int coyaml_copier(coyaml_context_t *ctx, coyaml_usertype_t *def, coyaml_marks_t *source, coyaml_marks_t *target); int coyaml_custom_copy(coyaml_context_t *ctx, struct coyaml_custom_s *sprop, void *source, struct coyaml_custom_s *...
<?php require_once('functions.php'); view($_GET['id']); ?> <?php include(HEADER_TEMPLATE); ?> <h2>Expositor <?php echo $expositor['id']; ?></h2> <hr> <?php if (!empty($_SESSION['message'])) : ?> <div class="alert alert-<?php echo $_SESSION['type']; ?>"><?php echo $_SESSION['message']; ?></div>...
--- title: Pomodoro timer - beginning date: '2017-02-12T10:00Z' slug: '/blog/2017/pomodoro-timer-beginning.html' tags: - javascript - pomodoro technique readNext: '/blog/2017/pomodoro-timer-counting.html' --- **From this post I will try to make new a blog post series - documenting my projects. In previous pro...
package org.stepic.droid.core.routing.contract import org.stepic.droid.model.Section interface RoutingPoster { fun sectionChanged(oldSection: Section, newSection: Section) }
package shmp.utils import java.io.BufferedReader import java.io.FileReader import java.io.IOException import java.net.URL import java.util.* class InputDatabase(private val paths: List<String>) { private var readerIndex = 0 private lateinit var bufferedReader: BufferedReader private var lastLine: String?...
--- guidance_tags: "" toc: true layout: resource slug: m-05-17 publish: true resource_name: "OMB M-05-17: Allocation of Responsibilities For Security Clearances Under the Executive Order, Strengthening Processes Relating to Determining Eligibility for Access to Classified National Security Information" descriptio...
## RabbitMQ 简介 ### 什么是消息中间件 - **消息:** 指在应用之间传送的数据,可以为文本字符串、JSON,也可以为内嵌对象 - **消息队列中间件:** 一般有两种传递模式 - 点对点 Point-to-Point 该模式基于队列,消费者 -(发送)-> 队列 <-(接收)- 消费者 - 发布/订阅 Pub/Sub 该模式定义了如何向一个内容节点(topic)发布和订阅消息,通常在一对多广播时采用。 - **作用:** - 解耦: 消息中间件在处理过程中插入了一个隐含的、基于数据的接口层,两边的处理过程都要实现这一接口。 - 冗余(存储): ...
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-3"> <a href="#" class="navbar-brand lobster">todoApp</a> </nav>
require 'rails_helper' module AML module Checks RSpec.describe VerifyName do describe '#execute!' do context 'given a sanctioned person' do let(:first_name) { 'Bashar' } let(:last_name) { 'al-Assad' } before do stub_request_with_recording( :g...
package channelinfo import ( "os" util "github.com/fabulousduck/pisdui/pisdui/util/file" ) type ChannelInfo struct { ID uint16 Length uint32 } func NewChannelInfo() *ChannelInfo { return new(ChannelInfo) } func (channelInfo *ChannelInfo) Parse(file *os.File) { channelInfo.ID = util.ReadBytesShort(file) ...
import { hasChild } from '../../helpers/helpers'; import Scale from './Scale'; import { IScaleOptions } from './Interfaces'; document.body.innerHTML = '<div id="test"></div>'; const testElement = document.body.querySelector('#test')!; const options: IScaleOptions = { vertical: false, min: 0, max: 100, step: 8...
# == Schema Information # # Table name: notes # # id :integer not null, primary key # user_id :integer # course_id :integer # name :string(255) # content :text # created_at :datetime # updated_at :datetime # class Note < ActiveRecord::Base belongs_to :user belongs_to :course ...
package ziweiyang.toppine.com.oschinadome.utils; import android.content.Context; import android.os.Environment; import android.view.Display; import android.view.WindowManager; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import ziweiyang.toppine.com.osc...
package com.example.http4s package site import cats.effect.IO import org.http4s._ import org.http4s.dsl.io._ object HelloBetterWorld { val service = HttpService[IO] { // We use http4s-dsl to match the path of the Request to the familiar URI form case GET -> Root / "hello" => // We could make a IO[Res...
# rocket-versioning api versioning for rocket web applications # INSTALL ## Example ```rust #[macro_use] extern crate rocket; use rocket::local::blocking::Client; use rocket::http::{Header, Status}; use rocket_versioning::Versioning; #[get("/versioning", rank = 4)] fn versioning(_v: Versioning<1, 0>) -> String { ...
<?php namespace Taskforce; require_once __DIR__ . '/../vendor/autoload.php'; use Taskforce\base\exceptions\OutFileException; use Taskforce\base\exceptions\SourceFileException; use Taskforce\base\utils\CsvToSQLConverter; $cities = new CsvToSQLConverter(__DIR__ . '/../data/cities.csv', 'cities'); $cities->export(); ...
/* * Public API Surface of ngx-tree */ export * from './lib/ngx-tree.service'; export * from './lib/ngx-tree.component'; export * from './lib/ngx-tree.module';
-- ----------------------------------------------------- -- The contents of this file are subject to the terms of the Common Development and -- Distribution License (the License). You may not use this file except in compliance with the -- License. -- -- You can obtain a copy of the License at legal/CDDLv1.0.txt. See th...
// 05.2 Your Own Loop const loop = (start, condition, update, f) => { for(let i = start; condition(i); i = update(i)) f(i); } loop(3, n => n > 0, n => n - 1, console.log); // → 3 // → 2 // → 1
import Star, { IStarOptions } from "./Star"; import { Size, XYCoord, Color } from "./types"; import AnimatableProperty, { IAnimationStep } from "./AnimatableProperty"; export interface IStarFieldOptions { initialStarColor: Color; initialSize: Size; initialSpeedMuliplier?: number; starOptions: IStarGeneratorOpt...
use crate::algebra::Monoid; use std::ops::Bound::*; use std::ops::Range; use std::ops::RangeBounds; use std::rc::Rc; struct PSTNode<M: Monoid> { val: M::T, left: Option<Rc<Self>>, right: Option<Rc<Self>>, } pub struct PersistentSegmentTree<M: Monoid> { root: Rc<PSTNode<M>>, n: usize, } impl<M: Mo...
'use strict'; describe('ignore test nested pass', function () { it('should find this test', function () {}); });
import java.util.Scanner; public class GCF { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Enter a positive number: "); int a = scanner.nextInt(); System.out.print("Enter another positive number: "); int b = scanner.next...
# UIStatusBar ## AppDelegate ### View Controller ```swift import UIKit @main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class ThreatData : ScriptableObject<ThreatSetting> { #if UNITY_EDITOR [UnityEditor.MenuItem("Assets/Create/Battle/ThreatData")] // MenuItemの名前は適当でいいが、Assets/Create/内に入れておくと便利 public static void Create() { Create<...
import Immutable from 'immutable' import { fetchFoodFeedRequest, fetchFoodFeedSuccess, fetchFoodFeedFailure, } from '../action/food-feed' import foodFeedReducer from './food-feed' import { exampleFoodPosts } from '../mocks/food-posts' let foodFeedState beforeEach(() => { foodFeedState = foodFeedReducer(undefined...
namespace AssetRipper.Tpk { /// <summary> /// A data blob for storing other data blobs /// </summary> public sealed class TpkCollectionBlob : TpkDataBlob { /// <summary> /// Name : Blob /// </summary> public List<KeyValuePair<string, TpkDataBlob>> Blobs { get; } = new List<KeyValuePair<string, TpkDataBlob...
use std::io::Write; use std::sync::Arc; use liquid::compiler::{Language, ParseTag, TagReflection, TagTokenIter}; use liquid::error::Result; use liquid::interpreter::{Context, PartialStore, Renderable}; use liquid::partials::{InMemorySource, LazyCompiler, PartialCompiler}; use liquid::value::Value; use super::parse_pa...
fun <T> succeed(value: T): Parser<T> = { input -> listOf(value to input) } fun <T> fail(): Parser<T> = { _ -> emptyList() }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QiMata.DemoDevice.Drivers { static class Driver { private static ButtonDriver _buttonDriver; public static ButtonDriver ButtonDriver => _buttonDriver ?? (_buttonDriver ...
package no.nav.k9.integrasjon.gosys import java.time.DayOfWeek import java.time.LocalDate internal object Virkedager { fun nVirkedagerFra(n: Int, dato: LocalDate): LocalDate { return if (n == 0) dato else nVirkedagerFra(n - 1, nesteUkedag(dato)) } private fun nesteUkedag(dato: LocalDate): LocalDa...
node --experimental-modules lint.mjs \ ./tests/* \ ./dependencies/jslint.js \ ./server.mjs \ ./lint.mjs
#!pwsh #Requires -Version 6.0 <# .SYNOPSIS Installs the base box at the specified version from the share. .PARAMETER StorageAccountAccessKey An access key for the storage account. .PARAMETER BaseBoxVersion The version of the base box to import; this should be a date, i.e. 2020-09-17 #> [CmdletBinding(PositionalBindi...
--- layout: watch title: TLP10 - 10/07/2020 - M20200710_004703_TLP_10T.jpg date: 2020-07-10 00:47:03 permalink: /2020/07/10/watch/M20200710_004703_TLP_10 capture: TLP10/2020/202007/20200709/M20200710_004703_TLP_10T.jpg ---
{-# LANGUAGE RankNTypes #-} module Main (main) where import Control.Concurrent import Criterion import Criterion.Types import Criterion.Main import BIP import BIP.Example.DiningPhilosophers main :: IO () main = defaultMainWith opts [ bgroup "dining philosophers" [ bgroup "50 meals, early execution" [ b...
<?php do { echo 1; } while(1); ?>
# Baratino Open source modular educational robot v2!! project info: https://hardwarelivreusp.org/projetos/2019/01/31/baratino/
var searchData= [ ['lsb',['lsb',['../structnrf24l01__pipe__config.html#ac04c35971c92b7a0ddc152c107c02780',1,'nrf24l01_pipe_config']]] ];
// *********************************************************************** // Assembly : IronyModManager.Platform // Author : Avalonia // Created : 10-29-2020 // // Last Modified By : Mario // Last Modified On : 10-29-2020 // ******************************************************************...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.TestHelpers { using System.Data.Common; using System.Data.Entity.Infrastructure; using System.Data.SqlClient; public class Functiona...
package Seventh; public class Homework9 { public static void main(String[] args) { // 9. 8번 문제에서 번호별로 상금과 꽝이 존재하도록 하여 당첨되면 상금을 xxx 받았습니다. // 꽝이면 아쉽네요~ 다음에 재도전! 을 출력하도록 만든다. Company2 c3 = new Company2(); c3.pickPrize(); } }
require 'sinatra' require 'jenkins_api_client' require 'yaml' require 'net-ldap' # ENV for secrets and whatnot load './env.rb' if File.exists?('./env.rb') # Sinatra gubbins set :environment, :production set :port, 4568 use Rack::Session::Cookie, :key => 'rack.session', :path => '/', :secret => "#{ENV['cookie_secret'...
use std::{borrow::Cow, collections::HashMap, convert::TryFrom, path::Path}; use super::{GitConfig, SectionId}; use crate::{ file::LookupTreeNode, parser::{Key, ParserOrIoError, SectionHeaderName}, }; enum ResolvedTreeNode<'event> { Terminal(HashMap<Key<'event>, Cow<'event, [u8]>>), NonTerminal(HashMap...
# Gobu A traitful `go build` wrapper. ## Installation ``` $ go get github.com/kopoli/gobu ``` ## Description There are some hard-to-remember options to the `build` and `link` tools. With `gobu` one can list the wanted traits as simple words in the command line and the appropriate commands will be generated. ## S...
# NAME Hello - Implement "Hello world" in Perl 6 # SYNOPSIS ``` use Hello; my $hello = Hello.new(); say $hello.greet(); # "Hello world!" ``` # DESCRIPTION Run this module via its CLI program, like so: ```bash $ perl6 bin/hello ``` Try out the test suite, like so: ```bash $ prove --exec perl6 ``` # PREREQUISIT...
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2012-2021 Fabrice Laporte - kray.me # The MIT License http://www.opensource.org/licenses/mit-license.php from __future__ import print_function import os import sys import argparse import fnmatch import logging import re import tempfile from datetime impor...
import os.path from tkinter import * from tkinter import messagebox from encode import * from decode import * from tkinter.filedialog import askopenfilename # functions def btm_encryption(): global entry_text alphabet = list('abcdefghijklmnopqrstuvwxyz') if entry1.get() == '' and into_check.get() != 1: #...
package typingsSlinky.hirestime import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} object mod { @JSImport("hirestime", JSImport.Default) @js.native def default(): Elapsor...
part of fuzzylogic; /// Manifold provides degree of membership for fuzzy variables based on numerical /// values. /// /// LinearManifold is modeling the most widely used fuzzification method - linear /// "line segments" that together form a shape like a triangle, a shoulder or /// a trapezoid. class LinearManifold<T e...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Catalog\Test\Constraint; use Magento\Catalog\Test\Page\Adminhtml\CatalogCategoryEdit; use Magento\Mtf\Constraint\AbstractConstraint; /** * Class AssertCategorySuccessDeleteMessage * Assert that...
#/bin/bash echo "This script help you generate cmd to convert *.pb to *.tflite" echo "Please put your pb into workspace dir" echo "1. pb file name: (don't include workspace)" read pb_name echo "2. input_arrays name:" read in_name tflite_name=`echo $pb_name | cut -d '.' -f 1` tflite_name=$tflite_name.tflite echo "3. out...
package com.board.wars.config; import com.board.wars.converter.UserConverterToUserResponse; import com.board.wars.converter.UserPayloadToUserConverter; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.format.FormatterRegistry; i...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SWP391.Models { public class QuestionDimension { public virtual QuestionBank QuestionBank { get; set; } public string QuestionId { get; set; } public virtual Dimension Dimension { get; set; } public st...
package org.lyj.commons.io.repository.deploy.impl; import org.lyj.Lyj; import org.lyj.commons.io.jsonrepository.JsonRepository; import org.lyj.commons.io.repository.deploy.FileDeployer; import org.lyj.commons.util.ClassLoaderUtils; import org.lyj.commons.util.StringUtils; import org.lyj.commons.util.json.JsonItem; imp...
using System; namespace ids.smtpreport { [Serializable] public class GeneralEntity : IEntity { public string InstanceName { get; set; } public bool Enabled { get; set; } public int MinuteDelay { get; set; } } }
--- layout: post title: "每天一个前端知识(81):迭代方法优于循环" subtitle: "frontend" date: 2017-08-14 00:00:00 author: "Tiny" header-img: "img/post-bg-frontend.jpg" header-mask: 0.3 catalog: true tags: - 前端开发 - 开发规范 - 前端教程 --- // 传统的循环需要我们手动控制循环的条件,易出错 var arr = [1, 2, 3, 5]; for(var i ...
#ifndef LTR559ALS_H_INCLUDED #define LTR559ALS_H_INCLUDED #include "../../i2c_common/i2c_common.h" #include <stdint.h> #define LTR_STATUS_ALS_DATA (1 << 2) typedef enum { INTERRUPT_DISABLED = 0, INTERRUPT_PS = 1, INTERRUPT_ALS = 2, INTERRUPT_PS_ALS = 3 } ltr559als_interrupt_mode_t; // N...
<?php //连接数据库 include 'cont.php'; function isUser($vconn,$user){ $sql="SELECT fname FROM f_user"; $res=$vconn->query($sql);//结果集 // $res3=$res->fetch_all(MYSQLI_ASSOC); for($i=0;$i<$res->num_rows;$i++){ $res3=$res->fetch_row(); // var_dump($res3[0]==$user); if($res3[0]==$user){ ...
#!/bin/sh go build github.com/ntons/tbl-go/tblmaker $(dirname $0)/tblmaker -p example -I proto -i "common.proto" -P proto -O tbl xlsx
(ns wfl.source (:require [clojure.edn :as edn] [clojure.instant :as instant] [clojure.spec.alpha :as s] [clojure.set :as set] [wfl.api.workloads :refer [defoverload]] [wfl.jdbc :as jdbc] [wfl.log ...
#!/usr/bin/env bash SYSMON_SERVER=http://SYSMON_SERVER:32123 MAIN_CLASS=com.hyd.sysmon.agent.AgentMain ######## Functions kill_old_process() { OLD_PID=$1 if [ -n "${OLD_PID}" ]; then echo "Killing old process" ${OLD_PID} "..." { kill ${OLD_PID}; while kill -0 ${OLD_PID}; do sleep 1...
# 通知提示用户 > 编写:[fastcome1985](https://github.com/fastcome1985) - 原文:<http://developer.android.com/training/notify-user/index.html> * Notification是一种在你APP常规UI外展示、用来指示某个事件发生的用户交互元素。用户可以在使用其它apps时查看notification,并在方便的时候做出回应。 * [Notification设计指导](developer.android.com/design/patterns/notifications.html)向你展示如何设计实用的notific...
--- title: Paragraph.SeparateList Method (Word) keywords: vbawd10.chm156696914 f1_keywords: - vbawd10.chm156696914 ms.prod: word api_name: - Word.Paragraph.SeparateList ms.assetid: 0efe3e3c-67ad-1648-f27c-4aee5811bebd ms.date: 06/08/2017 --- # Paragraph.SeparateList Method (Word) Separates a list into two separate l...
require 'spec_helper' require 'check' require 'recursive-open-struct' context ResourceCheck do let(:client) { instance_double('Octokit::Client') } let(:repo) { 'https://github.com/someorg/fun' } let(:sha1) { 'abdcef' } let(:sha2) { 'fecdba' } let(:commit1) { { sha: sha1 } } let(:commit2) { { sha: sha2 } } ...
import 'package:flutter/material.dart'; import 'package:loan_app/features/loan_application/presentation/presentation.dart'; import 'package:loan_app/i18n/i18n.dart'; import 'package:provider/provider.dart'; class NavButtons extends StatefulWidget { const NavButtons({ Key? key, required this.pageController, ...
]<?php /** * Created by PhpStorm. * User: Administrator * Date: 2019/2/14 * Time: 16:31 */ define('APP_PATH', dirname(dirname(__FILE__))); define('DS', DIRECTORY_SEPARATOR); include_once APP_PATH . DS . 'lib' . DS . 'Swoolf' . DS . 'Loader.php'; (new \Vendor\A\B())->talk(); // register other lib dir root. \Swool...
package com.kujtimhoxha.plugins.todo.model.github; import com.google.api.client.util.Key; /** * GithubUser. * * @author Kujtim Hoxha (kujtimii.h@gmail.com) * @version $Id$ * @since 0.1 */ public class GithubUser { @Key("login") private String login; @Key("id") private Integer id; @Key("avata...
module Data.Tree.ConditionalSpec where import CSSR.Prelude.Test import qualified Data.Vector as V import qualified Data.Text as T import qualified Data.HashSet as HS import CSSR.Fixtures (shortEP) import Data.CSSR.Alphabet (mkAlphabet) import qualified Data.Tree.Conditional as Cond import qualified Data.MTree.Parse ...
using DotNetFlicks.Accessors.Models.EF.Base; namespace DotNetFlicks.Accessors.Models.EF { public class CrewMember : Entity { public int MovieId { get; set; } public virtual Movie Movie { get; set; } public int PersonId { get; set; } public virtual Person Person { get; set; }...
# Mi primer hola mundo en App Engine Esta carpeta contiene un ejemplo de código de una pequeña aplicación desplegada en App Engine # Instrucciones de despliegue 1. Instalar Node.js. 2. Instalar git. 3. Crear un nuevo proyecto en Google Cloud Platform. 4. Inicializar y sincronizar credenciales `g...
module Day13 where import Utils (split ) import CRT ( crt ) day13part1 :: IO () day13part1 = do input <- readFile "input/day13input.txt" let t = read (head $ lines input) :: Int let buses = filter (/= "x") $ split (==',') (lines input !! 1 ) let res = foldl (handleLine t) (100000000, 100000000) buses ...
# rpm 安装指令全 ```Shell rpm -ivh package.rpm 安装一个rpm包 rpm -ivh --nodeeps package.rpm 安装一个rpm包而忽略依赖关系警告 rpm -U package.rpm 更新一个rpm包但不改变其配置文件 rpm -F package.rpm 更新一个确定已经安装的rpm包 rpm -e package_name.rpm 删除一个rpm包 rpm -qa 显示系统中所有已经安装的rpm包 rpm -qa | grep httpd 显示所有名称中包含 "httpd" 字样的rpm包 rpm -qi package_name 获取...
def test_parse(example_yaml): for i in range(5): assert ('bias_lens%i' % i in example_yaml['generate']['parameters']) assert (example_yaml['generate']['parameters'] == example_yaml['analyze']['parameters'])
#pragma once #include "vk.h" struct RenderPass { VkRenderPass rp; VkDevice dev; }; void rp_init(struct RenderPass* r, VkDevice logDev, VkFormat swapChainImageFormat, VkFormat depthFormat); void rp_destroy(struct RenderPass* r); void rp_begin( struct RenderPass* r, VkClearValue* values, int n_values, VkC...
import 'dart:convert'; import 'package:alfred_taxi_client/app/common/app_urls.dart'; import 'package:alfred_taxi_client/app/data/models/otp_model.dart'; import 'package:alfred_taxi_client/app/data/models/paiement_model.dart'; import 'package:get/get.dart'; import 'package:http/http.dart' as http; class PaiementProvid...
package stalecucumber import "strconv" import "fmt" import "math/big" import "errors" //import "unicode/utf8" import "unicode/utf16" /** Opcode: INT Push an integer or bool. The argument is a newline-terminated decimal literal string. The intent may have been that this always fit in a short Python int,...
### [[ << 回到上层 ]](README.md) # PlayMusic > 在指定位置绘制无填充圆形 ```lua PlayMusic(music, times) ``` ## 参数: + music [userdata-Music]:音乐数据 + times [number]:音乐播放的次数,-1为循环播放 ## 返回值: 无 ## 示例 ```lua ```
package magicsquare.quartumbackend.persistance.mapper import magicsquare.quartumbackend.web.dto.UserCredentialDto import magicsquare.quartumbackend.persistance.entity.User import magicsquare.quartumbackend.persistance.entity.UserCredential import org.springframework.stereotype.Component /** * User credentials mapper...
package worker import "encoding/json" // Job represents a job taken from the queue. type Job struct { ID int64 TaskID string QueueName string payload []byte } // UnmarshalPayload parses the JSON-encoded data and stores // the result in the value pointed to by v. // If v is nil or not a pointer, Unmars...
<?php namespace LiveStyled\UserManagement; use LiveStyled\CrudClient; use LiveStyled\RelationClient; class AudienceDeviceClient extends RelationClient implements CrudClient { protected function getPath() { return '/v4/user_management/audience_devices'; } }
<?php /** * */ namespace Arvato\AfterpayModule\Application\Model\Entity; /** * Class OrderItemEntity: Entity for order item data. */ class OrderItemEntity extends \Arvato\AfterpayModule\Application\Model\Entity\Entity { /** * Constants for vat category property. */ const VAT_CATEGORY_HIGH = 'Hi...
module Axel.Denormalize where import Axel.Prelude import Axel.AST ( Expression(ECaseBlock, EEmptySExpression, EFunctionApplication, EIdentifier, ELambda, ELetBlock, ELiteral, EPatternBinding, ERawExpression, ERecordDefinition, ERecordType) , Import(ImportItem, ImportType) , ImportSpecifica...
package handler import "github.com/gin-gonic/gin" type Handler struct { ctx *gin.Context } func NewDefaultHandler(c *gin.Context) *Handler { return &Handler{ctx: c} }
import org.specs2.execute.FailureException import scalaxb.compiler.Config import scalaxb.compiler.ConfigEntry._ import scala.io.Source class UseListsTest extends TestBase { val schema = resource("useLists.xsd") lazy val generatedWithSeqs = module.processFiles( List(schema), Config.default.update(PackageN...
import { curryWith, isString, isFunction } from './_utils' import EventEmitter from './_event_emitter' const supportEventListener = element => { return typeof element === 'object' && 'addEventListener' in element } export const trigger = (event, ...args) => { const element = args[args.length - 1] if (!supportEv...
import { RouteComponentProps, withRouter } from 'react-router'; import React, { useCallback } from 'react'; import QueueMessages from '../common/QueueMessages'; import { requeueAcknowledgedMessage, requeueAcknowledgedMessageWithPriority, purgeAcknowledgedMessages, deleteQueueAcknowledgedMessage, get...
<?php class Search_controller extends CI_Controller{ public function index() { } public function search_data() { $this->load->library('form_validation'); $this->form_validation->set_rules('query','Query','required'); if(!$this->form_validation->run()== FALSE) ...
+++ draft = true date = 2020-06-28T16:04:02+01:00 title = "" description = "" slug = "" tags = [] categories = [] externalLink = "" series = [] weight = 0 +++ # Machine info - OS : - Difficulty : - Points : - IP : # Mind Map ![Legacy_MindMap](/images/htb/legacy_mindmap.png) &nbsp; # Recon Let's see the `nmap` sc...
scalacOptions += "-Ypartial-unification" val http4sVersion = "0.18.15" val specs2Version = "4.2.0" val logbackVersion = "1.2.3" val circeVersion = "0.9.3" val enumeratumVersion = "1.5.13" val kantanCsvVersion = "0.4.0" val catsVersion = "1.2.0" val scalaCacheVersion = "0.24.2" dockerExposedPorts := Seq(8081) lazy va...
using Scripts.Player; using UnityEngine; namespace Scripts.Camera { public class CameraZoom : MonoBehaviour { [SerializeField] private GameObject _spaceShip; [SerializeField] private Transform _barycenter; public GameObject SpaceShip { get => _spaceShip; set => _spaceShip = value; } ...
# Sonatype Nancy Buildkite Plugin A Buildkite plugin for using Sonatype's community [Nancy dependency checker](https://github.com/sonatype-nexus-community/nancy) for Go. This plugin is authored separately to Nancy, and is in no way connected to or affiliated with Sonatype. ## Overview This plugin uses a Go image to...
echo Retrieving information about the githubtraining user echo ... curl https://api.github.com/users/githubtraining
part of 'colors_bloc.dart'; abstract class ColorsState { const ColorsState(); } class ColorsInitial extends ColorsState { const ColorsInitial(); } class ColorsFailure extends ColorsState { const ColorsFailure(); } class ColorsLoadInProgress extends ColorsState { const ColorsLoadInProgress(); } class Colors...
package edu.jhu.thrax.hadoop.features; import java.util.Map; import org.apache.hadoop.io.FloatWritable; import org.apache.hadoop.io.Writable; import edu.jhu.thrax.hadoop.datatypes.RuleWritable; import edu.jhu.thrax.util.Vocabulary; public class WordLengthDifferenceFeature implements SimpleFeature { public static...