text
stringlengths
27
775k
package com.gromyk.api.dtos.artist import com.google.gson.annotations.SerializedName data class Stats( @SerializedName("listeners") var listeners: String, @SerializedName("playcount") var playcount: String )
'use strict'; describe('Service: api', function () { // load the service's module beforeEach(module('clinikoApp')); // instantiate service var api; beforeEach(inject(function (_api_) { api = _api_; })); it('should work', function () { expect(!!api).toBe(true); }); it('should return config...
import { AppComponent } from './../app.component'; import { AppModule } from './../app.module'; import { HttpModule } from '@angular/http'; import { servicioHttp } from './app.usuarios.servicio'; import { serviciovalidador } from './app.validador.servicio' import { NgModule } from '@angular/core'; import { Browser...
# Copyright (c) 2020-2021 CRS4 # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribut...
var _verification_helpers_8hpp = [ [ "CHECK_VALID_SIZE", "_verification_helpers_8hpp.xhtml#a479b2821a7a2cbb8fa8eb7f60a47065d", null ], [ "CHECKED_INT32", "_verification_helpers_8hpp.xhtml#aa693ef8620e450b6362938828002f2a6", null ], [ "CHECKED_NON_NEGATIVE", "_verification_helpers_8hpp.xhtml#aaef93dc9a69f51b...
import { Box, Center, GridItem, Heading, SimpleGrid, Tab, TabList, TabPanel, TabPanels, Tabs, Text, } from "@chakra-ui/react"; import React from "react"; import { useAuthState } from "react-firebase-hooks/auth"; import { auth, db } from "../../firebase.config"; import { useCollectionData } from "r...
// DUPLICATED FROM types.ts export interface DatastoreRecord { createdAt: number; modifiedAt: number; } // END DUPLICATES export interface ErrorResponse { message?: string; } export interface EmptyResponse {} export interface PostUserResponse { accessToken: string; refreshToken: string; user: { email...
package com.jscisco.lom.dungeon import com.jscisco.lom.builders.EntityFactory import com.jscisco.lom.data.TestData import com.jscisco.lom.extensions.position import org.assertj.core.api.Assertions import org.hexworks.cobalt.logging.api.Logger import org.hexworks.cobalt.logging.api.LoggerFactory import org.hexworks.zir...
## Android 平台手动集成 ### 拷贝文件 从插件安装包中的 `plugin/android/libs` 目录拷贝下列 __jar__ 文件到您的工程的 __proj.android/libs__ 目录。 > vungle-publisher-adaptive-id-3.3.0..jar > PluginVungle.jar > sdkbox.jar > android-support-v4.jar > nineoldandroids-2.4.0.jar > javax.inject-1.jar > dagger-1.2.2.jar 从 `plugin/android/jni` 目录拷贝 `pluginv...
package com.compomics.util.experiment.io.mass_spectrometry.cms; /** * Placeholder for the temp folder to use for cms files. * * @author Marc Vaudel */ public class CmsFolder { /** * The folder to use when creating cms files. */ private static String parentFolder = null; /** * The sub fo...
package io.cucumber.core.resource; import io.cucumber.core.logging.LogRecordListener; import io.cucumber.core.logging.LoggerFactory; import io.cucumber.core.resource.test.ExampleClass; import io.cucumber.core.resource.test.ExampleInterface; import io.cucumber.core.resource.test.OtherClass; import org.hamcrest.CoreMatc...
package memethespire.shoppatches; import com.evacipated.cardcrawl.modthespire.lib.SpirePatch; import com.evacipated.cardcrawl.modthespire.lib.SpirePostfixPatch; import com.evacipated.cardcrawl.modthespire.lib.SpirePrefixPatch; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.dungeons.Abs...
# Run instructions Make sure you run this application on Java 9. To verify your Java version open a console and enter `java --version`. You should get something like this: java 9.0.4 Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode) ## Run t...
import ROOTURL from '../ROOTURL'; import axios from 'axios' // API call for signingup of user const signupURL = ROOTURL + "/websignup" export const signup = (userData)=> axios.post(signupURL, userData)
export read_settings read_settings(x) = as_namedtuple(x) read_settings(x::String) = as_namedtuple(TOML.parsefile(x)) as_namedtuple(xs) = xs function as_namedtuple(xs::Dict{<:AbstractString,<:Any}) kt = Tuple((Symbol(x) for x in keys(xs))) vt = Tuple(values(xs)) NamedTuple{kt}(as_namedtuple.(vt)) end read_params...
"""Test utilities used across packages This code is only used in other modules' tests """ from .base_exporter_integration_test import BaseExporterIntegrationTest
package ru.alexmaryin.deter_rev.engine.audio import ru.alexmaryin.deter_rev.values.MusicAssets import ru.alexmaryin.deter_rev.values.SoundAssets interface AudioService { fun play(sound: SoundAssets, volume: Float = 1f) fun play(music: MusicAssets, loop: Boolean = true) fun pause() fun resume() sus...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\productsCatagories; class Products extends Model { protected $table = 'products'; public function getCatagory() { return productsCatagories::where('id',$this->catagory_id)->FirstOrFail(); } public function relateProduct() ...
import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; /// Extends the [Cubic] curve class to allow for more precise calculation of /// the curve. class PreciseCubic extends Cubic { /// Creates a precise cubic curve. const PreciseCubic( double a, double b, double c, double...
;%1=fat_segment %macro Read_FAT 1 mov ax, %1 mov es, ax mov ax, word [Reserved_Sectors] ;add reserved sectors add ax, word [Hidden_Sectors] ;add hidden sectors adc ax, word [Hidden_Sectors + 2] mov cx, word [Sectors_Per_FAT] ;number of sectors per FAT xor bx, bx read_next_fat_sector: pu...
import 'package:clock_checker/models/time_sources.dart'; import 'package:clock_checker/repository/timezones.dart'; import 'views/main_menu.dart'; import 'package:flutter/material.dart'; void main() { Timezones tzones = new Timezones(); TimeSources ts = new TimeSources(); runApp(MainMenu()); }
# マップコンバーター エクセルやスプレッドシートでマップを作成して、tsvファイルにコピペし、makeすることで、C#のコードになります。 # 依存関係 make, python を使用しています。 # 使い方 1. エクセルや、スプレッドでマップを作成します。 ![Stage01](doc/Stage01.png) 1. メモ帳などにコピペして tsv/ に保存します。ファイルの拡張子をtsvにします。 [例 Stage01.tsv](tsv/Stage01.tsv) 1. リポジトリのルートでmakeを実行します。 1. cs/にC#のコードが出力されます。 [例 Stage01.cs](doc/Stage01.cs...
class Fisk module Errors class Error < StandardError end # Raised when a temporary register is released more than once class AlreadyReleasedError < Error end # Raised when a temporary register is used after it has been released class UseAfterInvalidationError < Error end # Raise...
using System; namespace SQLiteAbstractCrud { internal class Field { public string Name { get; private set; } internal string TypeCSharp { get; set; } public string TypeSQLite { get; private set; } public string Quote { get; private set; } public bool IsPrimaryKey { get; ...
package coms362.cards.fiftytwo; import java.io.IOException; import coms362.cards.abstractcomp.Move; import coms362.cards.abstractcomp.Player; import coms362.cards.abstractcomp.Table; import coms362.cards.app.ViewFacade; import events.remote.AddToPileRemote; import events.remote.HideCardRemote; import events...
module OptimaForHasql.Param where import OptimaForHasql.Prelude import Optima import qualified Data.Text.Encoding as Text {-| Amount of connections in the pool. -} poolSize :: Param Int poolSize = value "Amount of connections in the pool" (showable 1) unformatted implicitlyParsed {-| Amount of seconds for whi...
#!/bin/sh wget -O - www.reddit.com/r/EarthPorn > file #1 Get all the post links from the subreddit r/wallpaper grep -Po '(?<=href="https://www.reddit.com/r/EarthPorn/comments/)[^"]*' file > links #2 Fix the links sed -i -e 's~^~www.reddit.com/r/EarthPorn/comments/~' links #3 Count the # of posts there are POST_NUMBER=...
package Handler; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.UnknownHostException; /** * used to send requests to the server */ public class Sender { ...
using eilang.Interpreting; namespace eilang.OperationCodes { public class Pop : IOperationCode { public void Execute(State state) { state.Stack.Pop(); } } }
import subscription from './addressBook'; import { ENOREMOVEDEFAULT } from '../constants/Pipelines'; let mockUpdateAddress; let mockGetAddresses; let mockShowModal; jest.mock('../actions/updateAddress', () => (...args) => mockUpdateAddress(...args)); jest.mock('../actions/getAddresses', () => () => mockGetAddresses())...
# unstoppable Resources to control stopPropagation. Event.stopped, "unstoppable" event listener option, scoped stopPropagation(). todo 1.have only the chapters relevant for stopPropagation in the docs.
import * as React from 'react'; type Props = { // Injected by HtmlOverlay x?: number; y?: number; // User provided coordinates: number[]; children: any; style?: Record<string, any>; }; export default class HtmlOverlayItem extends React.Component<Props> { render() { const { x, y, children, style, ...
var searchData= [ ['value_813',['value',['../struct_bl_string_vector.html#a32dbb13b79c255f7254dd2c776c31305',1,'BlStringVector']]], ['variances_814',['variances',['../struct_p_c_a_result.html#a6ff0c0d61bdf5efae4a97ad7bdeb9ae3',1,'PCAResult']]] ];
<?php namespace Anomaly\BlocksModule\Test\Unit\Area; class AreaFormBuilderTest extends \TestCase { }
<?php use Ccovey\LdapAuth; use Mockery as m; /** * User Provider Test. */ class LdapAuthUserProviderTest extends PHPUnit_Framework_TestCase { public function setUp() { $this->ad = m::mock(\adLDAP\adLDAP::class); $this->ad->shouldReceive('close') ->zeroOrMoreTimes() ->...
class Movie { // contents of a regular movie that shows up in the default result page num id; String backdrop_path; String poster_path; String title; Movie (Map<String, dynamic> json) { id = json['id']; backdrop_path = json['backdrop_path']; poster_path = json['poster_path']; title = json['t...
import { parseISO, format } from 'date-fns' export default function Date({ dateString }: { dateString: string }) { const date = parseISO(dateString) // See options at: https://date-fns.org/v2.12.0/docs/format return ( <time dateTime={dateString} itemProp="datePublished"> {format(date, 'EEEE, do MMMM y...
require_relative 'bonus_rolls' require_relative 'frames' require_relative 'frame_creator' class Bowling def initialize(frame_creator = FrameCreator.new) @frame_creator = frame_creator @rolls = Array.new(0) {0} end def score total = 0 index = 0 10.times do frame = frame_creator.create(...
import cadquery as cq from plugins.more_selectors.more_selectors import ( HollowCylinderSelector, InfiniteCylinderSelector, CylinderSelector, InfHollowCylinderSelector, SphereSelector, HollowSphereSelector, ) def test_CylinderSelector(): """ Test that the CylinderSelector selects the r...
const ConfigurerBase = require('../configurer-base.js'); const { setup } = require('./sqlserver-setup.js'); const { test } = require('./sqlserver-test.js'); class SQLServerConfigurer extends ConfigurerBase { isMine(dbImage) { return dbImage.toLowerCase().includes('mssql'); } setup(config) { return setup(config...
# mysql 总结 ## 简介 以下默认innodb引擎, 事务级别为RC或者RR 的一些总结。 mysql在应用层面需要关注的点: + 锁机制 + 索引机制 ## mysql 索引 mysql 主要有两种索引,聚簇索引(Clustered Index)与 非聚簇索引(Secondary Index)。 聚簇索引行会包含所有数据,位于B+数叶子节点。 每一个非聚簇索引行都会包含primary key,方便回扫聚簇索引行。 ![avatar](index.png) ### mysql 索引扫描原则 索引扫描原则就是B+树的特点决定,联合索引需要按照索引位置进行匹配。 ## mysql 锁 + 行锁 + 共享...
import { Component, OnInit, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core'; @Component({ selector: 'app-question-list', templateUrl: './app-question-list.component.html', styleUrls: ['./app-question-list.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush ...
<?php include "sections/header.php"?> <div class="container"> <div class="row"> <div class='col-md-12 text-center mb-2 mt-3' id='top5'> <div>Welcome to <?php echo $user;?>'s blog!</div> </div> <?php foreach ($posts as $post) { $username = $post['Username']; $title = $post['Ti...
module Dom require 'happymapper' class PlaneItem; end class Planes; end class PlaneAmmunition; end class PlaneParameters; end class PlaneType; end class HumType; end class MilitaryType; end class Planes include HappyMapper tag 'planes' attribute :xmlns, String has_many :planes, Plan...
/** * Datart * * Copyright 2021 * * 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 t...
package com.vin.imc import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.MotionEvent import kotlinx.android.synthetic.main.activity_main.* import java.lang.Float.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super....
using AutoBlogProgramistyPosts.Dto; namespace AutoBlogProgramistyPosts { public interface IPostEngine { PostDto PublishPost(IPostCreator postCreator); void PublishPost(PostDto postDto); } }
module Negroku class Feature include Virtus.value_object values do attribute :name, String attribute :required, Boolean, default: false attribute :enabled, Boolean, default: false, :writer => :public end end end class Negroku::ConfigFactory include Virtus.model def self.loaded_i...
module CF module Explorer module Resources class App include Virtus.model attribute :status, Integer attribute :name, String attribute :metadata_guid, String attribute :metadata_url, String attribute :metadata_created_at, DateTime attribute :metadata...
package com.github.ozsie import org.apache.maven.model.Dependency import org.apache.maven.model.Plugin import org.apache.maven.plugin.AbstractMojo import org.apache.maven.plugin.logging.Log import org.apache.maven.plugins.annotations.Parameter import org.apache.maven.project.MavenProject import java.io.File const val...
title: Recipes --- # Our recipes Whisk the chicken lard with puréed basil, cinnamon, rum, and sugar making sure to cover all of it.
<?php namespace CWP\AgencyExtensions\Forms; use SilverStripe\Forms\SingleSelectField; class FontPickerField extends SingleSelectField { public function __construct($name, $title = null, $source = array(), $value = null) { parent::__construct($name, $title, $source, $value); $this->addExtraCl...
package p; class A{ void m(){ boolean b = (new A()) instanceof A; }; }
class TotpSetupForm include ActiveModel::Model validate :name_is_unique validates :name, presence: true attr_reader :name_taken def initialize(user, secret, code, name) @user = user @secret = secret @code = code @name = name @auth_app_config = nil end def submit @success = vali...
#!/bin/bash # The following bash functions are from # https://github.com/travis-ci/travis-build/tree/master/lib/travis/build/bash travis_wait() { local timeout="${1}" if [[ "${timeout}" =~ ^[0-9]+$ ]]; then shift else timeout=20 fi local cmd=("${@}") local log_file="travis_wait_${$}.log" "${cm...
// Copyright 2015 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "catchup/ApplyLedgerChainWork.h" #include "herder/LedgerCloseData.h" #include "history...
namespace Hyperledger.Aries.AspNetCore.Features.CredentialDefinitions { using BlazorState; using Hyperledger.Aries.Models.Records; using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; internal partial class CredentialDefinitionState : State<CredentialDefinitionState> ...
""" Evaluators are used to assess the success or performance of candidate solutions on some predetermined set of search objectives. Unlike most other evolutionary computation frameworks, evaluators do not immediately calculate the fitness values for individuals. Instead, the raw objective scores for a given set of ind...
/* eslint-disable no-unused-expressions */ import React from 'react'; export const navigationRef = React.createRef(); export function navigate(name, params) { navigationRef.current?.navigate(name, params, { key: Math.random().toString(), }); } export function reset(routes) { navigationRef.current?.reset(r...
import * as morgan from 'morgan'; export { morgan as log };
--- title: Algorithm author: Yuchao date: 2021-03-27 11:33:00 +0800 categories: [dev] tags: [leetcode, java, python] math: true mermaid: true --- [Link](https://leetcode.com/problems/two-sum/) JAVA HashMap ```java Map<Integer, Integer> map = new HashMap<>(); map.containskey(), map.get(), ``` Python HashMap -...
import * as React from 'react'; import { storiesOf } from '@storybook/react'; import { IconHome, IconLock, IconClear, IconTickCircle, IconTick, IconClose, IconCaretUp } from '@douyinfe/semi-icons'; const stories = storiesOf('Icon', module); stories.add('Icon', () => ( <div> <div> <IconHome size=...
require "winston" describe Winston::Backtrack do let(:csp) { Winston::CSP.new } subject { described_class.new(csp) } describe "#search" do context "simple assigment" do before do csp.add_variable :a, domain: [1, 2, 3, 4] csp.add_variable :b, domain: [1, 2, 3, 4] csp.add_variabl...
<?php namespace App\Http\Controllers; use App\resulation; use Illuminate\Http\Request; use App\Http\Requests; use Redirect; use Session; use DB; session_start(); class ResulationController extends Controller { public function index(){ $data = array(); $data['title'] = "Manage Movie Resulation";...
#!/bin/bash bash Do.sh "$1" "$(cat $2)"
#ifndef MATRIX_H #define MATRIX_H #include "../problem-1/array.h" // Put your class declaration here #endif
{-# language DeriveFoldable #-} {-# language DeriveFunctor #-} {-# language DeriveTraversable #-} module Core where import Protolude hiding (Type) import Data.HashSet (HashSet) import Common data Expr v = Var !v | Global !Global | Con !Constr | Lam !NameHint (Type v) (Scope1 Expr v) | Pi !NameHint (Type v...
#include "helper.h" #include "multimediamessage.h" #include "textmessage.h" #include <QDateTime> const QString cssMsgSend = "style=\"width:100%;margin:8px 0px 8px 60px;background-color:#cc33ff;color:#000000;\""; const QString cssMsgRecv = "style=\"width:100%;margin:8px 60px 8px 0px;background-color:#3399ff;color:#000...
#include<stdio.h> float power(float,float); int main() { float i,j,p; printf(" enter any no any power u want it to be raised"); scanf("%f %f",&i,&j); p=power(i,j); printf("%f \n",p); } float power(float i,float j) { float p; for(p=1;j>=1;j--) {p=p*i; } return (p); }
#!/bin/tcsh set PWD = $1 set ID = `cat $PWD/INFILE |grep TASK_NAME |awk '{print $2}'` set WORKDIR = `cat $PWD/INFILE |grep WORKDIR |awk '{print $2}'` if($ID == "") then echo "ERROR ID is empty!" exit 0 endif mkdir -p $WORKDIR set DATADIR = $WORKDIR/$ID set PLOTDIR = $PWD/PLOTDIR/$ID /bin/rm -rf $DATADIR /bin/rm ...
/* * Copyright 2020 Nathaniel Reline * * This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or * send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ ...
using AWSBatch: JobState, SUBMITTED, PENDING, RUNNABLE, STARTING, RUNNING, SUCCEEDED, FAILED @testset "JobState" begin @testset "parse" begin @test length(instances(JobState)) == 7 @test parse(JobState, "SUBMITTED") == SUBMITTED @test parse(JobState, "PENDING") == PENDING @test pars...
#!/bin/bash PREFIX=$1 echo "adapt rand conll" cd .. && bash ./domain_tuning_glue_all_75_25.sh adapt-glue-all-rand$PREFIX --mask_strategy=random
// Consider below. declare module MergedModule { function A(): void; } declare module MergedModule { function B(): void; } // TypeScript compiler will merge these two modules as if they were //a single definition as if it were like below; // declare module MergedModule { // function A(): void; // function B()...
export interface ActDominioOU { Dominio: string, OU: string }
package org.cirrus.messaging.core.message; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.immutables.value.Value; import org.immutables.value.Value.Style.ImplementationVisibility; @Target({Elem...
# Cálculo de números primos com Fork Este algoritmo é uma implementação do cálculo de números primos com os benefícios da programação paralela usando Fork
namespace ZMM.Data.Repositories { public class PyModelRepository { } }
#![warn(clippy::all)] #![allow(clippy::new_without_default)] #![allow(clippy::unneeded_field_pattern)] pub mod client; pub mod error; pub mod raft; pub mod server; pub mod sql; pub mod storage; pub use client::Client; pub use server::Server;
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { Airframe } from '../entities/airframe.entity'; import { Flight } from '../entities/flight.entity'; import { Message } from '../entities/message.entity'; import { Station } fro...
unit SettingsFile; interface uses Winapi.ActiveX, PluginAPI_TLB, JSON; type /// <summary> /// Represents config file functionality /// </summary> TSettingsFile = class private FFilePath: string; FJSONConfig: TJSONObject; public constructor Create(const Path: string); overload; /// <...
using MoneyFox.Foundation.Resources; using MvvmCross.Forms.Presenters.Attributes; using Xamarin.Forms.Xaml; namespace MoneyFox.Presentation.Views { [XamlCompilation(XamlCompilationOptions.Compile)] [MvxTabbedPagePresentation(WrapInNavigationPage = false, Title = "Statistics", Icon = "ic_statistics_black")] publi...
package com.example.munchkinhelper.recycler import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.example.munchkinhelper.R class PlayerRecyclerViewAdapter: RecyclerView.Adapter<PlayerRecyclerViewHolder>() { var items = listOf<PlayerRecyclerViewItem>() set(value) { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use App\Alumni; use App\Req; use App\Alert; use Auth; use App\Mail\ApprovedAlumniRequest; use Session; class AlumniController extends Controller { public function showAlumniRequests(){ $user = User::findOrFail(auth()...
//package com.github.ddth.kafka.test; // //import java.util.Arrays; //import java.util.HashSet; //import java.util.Set; //import java.util.concurrent.Future; //import java.util.concurrent.TimeUnit; // //import com.github.ddth.kafka.IKafkaMessageListener; //import com.github.ddth.kafka.KafkaMessage; // //import junit.fr...
<div> <a class="dropdown-item" wire:click="logout" style="cursor: pointer">Keluar</a> </div>
export const ENHANCER_ATTRIBUTE = 'faceit-enhancer' export const setFeatureAttribute = (featureName, element) => element.setAttribute(`${ENHANCER_ATTRIBUTE}-${featureName}`, '') export const hasFeatureAttribute = (featureName, element) => element.hasAttribute(`${ENHANCER_ATTRIBUTE}-${featureName}`) export const ...
package runner import ( "strings" ) // ExposedPorts is a simple type that holds port mappings. type ExposedPorts map[string]string // ToEnvVars returns a map that represents these port mappings as environment // variables, in the form ${LABEL}_PORT=${PORT_NUMBER}. // // The result can be piped through conv.ToOption...
#!/bin/bash for i in $(seq 1 10000); do echo -n "RUN $i: " cp -r model run_$i cp testcases/$i/outG.txt run_$i/. cp testcases/$i/test.c run_$i/test.cpp cd run_$i ./run.sh >run_$i.log 2>&1 if [[ "$?" -eq "0" ]]; then echo "PASSED" cd .. rm -rf run_$i else echo "FAILED" ...
; was there a DO event ? include win1_keys_wstatus include win1_keys_qdos_pt section utility xdef xwm_done ; you DID it ;+++ ; was there a DO event ? ; (it gets cleared) ; ; Entry Exit ; a1 status area preserved...
/*----------------------------------------------------------------------- Copyright (c) Microsoft Corporation. Licensed under the MIT license. -----------------------------------------------------------------------*/ INSERT INTO [dbo].[ActivityAudit] ([ExecutionUid] ,[TaskInstanceId] ...
import { h, defineComponent } from "vue"; import { Icon as IconifyIcon } from "@iconify/vue"; // Iconify Icon在Vue里在线使用(用于外网环境) // https://docs.iconify.design/icon-components/vue/offline.html export default defineComponent({ name: "IconifyIcon", components: { IconifyIcon }, props: { icon: { type: String...
require "spec_helper" describe "Number Utils" do describe 'should return same length value using default text' do let(:random_float) { DataAnon::Utils::RandomFloat.generate(5,10) } it { random_float.should be_between(5,10) } it { random_float.should be_a_kind_of Float } end end
module Aws.S3.Commands.CopyObject where import Aws.Core import Aws.S3.Core import Control.Applicative import Control.Arrow (second) import Control.Monad.Trans.Resource (throwM) import qualified Data.CaseInsensitive as CI import Data.Maybe import qualified Dat...
import pathlib # import some important classes to the main module from .sim_finger import SimFinger # noqa from .action import Action # noqa from .observation import Observation # noqa from .trifinger_platform import ( # noqa TriFingerPlatform, ObjectPose, CameraObservation, TriCameraObjectObservat...
1. Mom 2. Dad 3. Anime 1. One Piece 2. Naruto
package com.acmerobotics.roadrunner.trajectory import com.acmerobotics.roadrunner.Pose2d /** * Generic trajectory segment. */ interface TrajectorySegment { /** * Returns the duration of the segment. */ fun duration(): Double /** * Returns the pose at the given [time]. */ operat...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Hanselman.Helpers; using Xamarin.Essentials; using Xamarin.Forms; namespace Hanselman.Models { public class SocialItem { public SocialItem() { OpenUrlC...
#!/usr/bin/env bash set -e COMMANDDIR="${PWD}/bin" COMMAND=$COMMANDDIR/xxx declare -a ARGS=( \ "-foo bar" \ ) for ARG in ${ARGS[@]} do PREARGS="$PREARGS $ARG" done set -x ${COMMAND} ${PREARGS} $@ set +x
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Sampah_model extends CI_Model { public function getAllSampah() { // return $this->db->get('sampah')->result_array(); $query = $this->db->select('*')->from('sampah') ->join('tps', 'tps.id_tps = sampah.id_tps') ->join('tpa', 'tpa.id_...