text
stringlengths
27
775k
import request from '../request' const baseUrl = process.env.VUE_APP_API_URL export const testAxios = (): Promise<unknown> => { return request.get(`${baseUrl}/json`) }
package dev.stalla.builder.podcast import dev.stalla.builder.Builder import dev.stalla.model.podcastindex.Funding import dev.stalla.util.whenNotNull /** * Builder for constructing [Funding] instances. * * @since 1.0.0 */ public interface PodcastPodcastindexFundingBuilder : Builder<Funding> { /** Set the url ...
cite 'about-alias' about-alias 'systemd service' case $OSTYPE in linux*) alias sc='systemctl' alias scr='systemctl daemon-reload' alias scu='systemctl --user' alias scur='systemctl --user daemon-reload' alias sce='systemctl stop' alias scue='systemctl --user stop' alias scs='systemctl start' alias scus='sy...
unit BCEditor.Editor.PopupWindow; interface uses Winapi.Messages, System.Classes, System.Types, Vcl.Controls; type TBCEditorPopupWindow = class(TCustomControl) private FEditor: TWinControl; procedure WMEraseBkgnd(var AMessage: TMessage); message WM_ERASEBKGND; procedure WMMouseActivate(...
package net.formula97.androidapps.sysinfocollector.domain enum class VmStatus(val status: String) { RUNNING("running"), BLOCKED("blocked"), IDLE("idle"), PAUSED("paused"), SHUTDOWN("shutdown"), CRASHED("crashed"), DYING("dying"), OFF("off") }
package io.smallrye.mutiny.converters.multi; import io.reactivex.Flowable; import io.smallrye.mutiny.Multi; import io.smallrye.mutiny.converters.MultiConverter; public class FromFlowable<T> implements MultiConverter<Flowable<T>, T> { public static final FromFlowable INSTANCE = new FromFlowable(); private Fr...
package jkeypass.common; public class Config { public static String baseExtension = "jkp"; }
use libraries::LibraryDependencies; use std::collections::{HashMap, HashSet}; //const TYPE_NOTYPE: u8 = 0; //const TYPE_OBJECT: u8 = 1; //const TYPE_FUNC: u8 = 2; //const TYPE_SECTION: u8 = 3; //const TYPE_FILE: u8 = 4; //const BIND_LOCAL: u8 = 0; const BIND_GLOBAL: u8 = 1; //const BIND_WEAK: u8 = 2; const NDX_UNDE...
import qualified FizzBuzzTests as FBT import qualified QuickSortTests as QCT import System.Exit main :: IO () main = do good <- and <$> sequence [FBT.runTests, QCT.runTests] if good then exitSuccess else exitFailure
import 'dart:convert'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:wanflutter/config/res/colours.dart'; import 'package:wanflutter/config/widgets/load_image.dart'; import 'package:wanflutter/pages/shunt/shunt.dart'; import 'package:wanflutter/pages/system/system.dar...
transduce_ka(xf::Transducer, op, init, xs, device; groupsize, basesize) = transduce_ka(xf'(op), init, xs, device, groupsize, basesize) function transduce_ka(op, init, xs, device, groupsize, basesize) groupsize = max(groupsize, 1) basesize = max(basesize, 2) xf0, coll = extract_transducer(xs) if col...
#!/bin/sh PUBLIC_DNS=$(curl -s http://169.254.169.254/latest/meta-data/public-hostname) oc cluster \ up \ --base-dir=$HOME/oc-cluster \ --skip-registry-check=true \ --public-hostname=$PUBLIC_DNS
<?php namespace App\Contracts; interface JwtParserInterface { /** * Parse JWT and return JwtToken instance. * Use JwtValidator to verify the token. * * @param string $token * @return \App\Contracts\JwtTokenInterface * @see \App\Contracts\JwtValidatorInterface::validate() */ ...
package br.com.gilbercs.recyclerview import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import android.widget.Toast import androidx.recyclerview.widget.RecyclerView class AdapterRecycle...
import { CheckoutEvent } from '@spartacus/checkout/base/root'; import { ReplenishmentOrder } from '@spartacus/order/root'; /** * Indicates that a user has scheduled replenishment order. */ export class ReplenishmentOrderScheduledEvent extends CheckoutEvent { /** * Event's type */ static readonly type = 'Re...
package metadata import ( "fmt" "github.com/Sirupsen/logrus" "github.com/rancher/external-lb/model" "github.com/rancher/go-rancher-metadata/metadata" "strings" "time" ) const ( metadataURLTemplate = "http://%v/2015-12-19" serviceLabelEndpoint = "io.rancher.service.external_lb.endpoint" serviceLa...
#include <CCauseway3D.h> #include <CMathRand.h> struct Point; int pointInd = 1; std::vector<Point *> points; struct Point { double x { 0.0 }; double y { 0.0 }; double z { 0.0 }; int ind { -1 }; Point() { } Point(double x, double y) : x(x), y(y) { points.push_back(this);...
#!/usr/bin/env python """ Defines base class which holds settings for performing perfect nested sampling. This includes likelihood and prior objects as well as the parameters controlling how the calculation is performed - for example the number of live points and whether or not dynamic nested sampling is to be used. ""...
using System; class DRectangleArea { static void Main(string[] args) { double x1 = double.Parse(Console.ReadLine()); double y1 = double.Parse(Console.ReadLine()); double x2 = double.Parse(Console.ReadLine()); double y2 = double.Parse(Console.ReadLine()); var width = Mat...
--- title: Modello di interoperabilità link_next: pa/dati-della-pa link_next_label: Dati della PA link_prev: pa/modello-di-interoperabilita link_prev_label: Modello di interoperabilità actions: - label: "47" title: Linee guida del nuovo Modello di interoperabilità status: risultati new: - label: LA1...
//----------------------------------------------------------------------------- // (c) 2019-2021 Ruzsinszki Gábor // This code is licensed under MIT license (see LICENSE for details) //----------------------------------------------------------------------------- using System.Collections.Generic; using System.Text; us...
import { getVersionDisplayment } from '../workspace-card'; describe('getVersionDisplayment', () => { it('returns null, undefined, and empty string as-is', () => { expect(getVersionDisplayment(null)).toEqual(null); expect(getVersionDisplayment(undefined)).toEqual(undefined); expect(getVersionDisplayment('...
//! copyright © shaipe 2021 - present //! 消息回复 mod text; pub use text::TextReply; mod image; pub use image::ImageReply; mod articles; pub use articles::ArticlesReply; /// 消息回复 pub trait ReplyRender { /// 返回回复内容 fn render(&self) -> String; } pub enum Reply { TextReply(TextReply), ImageReply(ImageRep...
class Imagejs < Formula desc "Tool to hide JavaScript inside valid image files" homepage "https://jklmnn.de/imagejs/" url "https://github.com/jklmnn/imagejs/archive/0.7.1.tar.gz" sha256 "d1a1368ce72a1a7d18d053f82bf19c7af14861588a459f3bf69f2b50a335633f" head "https://github.com/jklmnn/imagejs.git" bottle do...
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.netty.common; import io.opentelemetry.api.trace.Span; import io.opentelemetry.api.trace.StatusCode; import io.opentelemetry.context.Context; import io.opentelemetry.instrumentation.a...
[BotW_InfiniteDaruk_V208] moduleMatches = 0x6267BFD0 0x02D74498 = nop [BotW_InfiniteDaruk_V176V192] moduleMatches = 0xFD091F9F,0xD472D8A5 0x02D73EFC = nop
#![allow(dead_code)] use chrono::{DateTime, Utc}; use schemars::{schema::RootSchema, schema_for, JsonSchema}; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, JsonSchema)] #[serde(rename_all = "lowercase")] enum Status { Processing, Success, Failure, } #[derive(JsonSchema)] struct Act...
require 'fileutils' module T1k module Commands class Init def self.run if Validate.credentials? puts "There is T1000 file inside your directory. Remove it before do init.".red exit 1 end self.create_T1000_file puts "Setup your T1000 file".blue en...
package com.github.yyu.slackcont.main import com.github.yyu.slackcont.cont.impl.{AddCont, HelloWorldCont, SayCont, TypingCont} import com.github.yyu.slackcont.di.DefaultModule import com.github.yyu.slackcont.infra.SlackRunner import com.google.inject.Guice object Main { def main(args: Array[String]): Unit = { v...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ import VueRouter from 'vue-router' import Routes from './route' import jsPDF from 'jspdf' // r...
<?php namespace Maatwebsite\Excel\Tests\Data\Stubs; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Database\Eloquent\Builder as EloquentBuilder; use Illuminate\Database\Eloquent\Relations\Relation; use Illuminate\Database\Query\Builder; use Maatwebsite\Excel\Concerns\Exportable; use Maatwebsite\Excel\Conc...
namespace Neo.Gui.Base.MVVM { public class LoadParameters<TParametersObject> : ILoadParameters<TParametersObject> { public TParametersObject Parameters { get; } public LoadParameters(TParametersObject parameters) { this.Parameters = parameters; } } }
--- type: "page" layout: "info-page" title: "Провід" description: "Провід організації" background_image: "provid.jpg" --- Керівник організації: **Іванов Володимир**, volodumurivanovz@gmail.com Крайовий вітки хлопців: **Дубиняк Ігор**, dubunyakigor@gmail.com Крайова вітки дівчат: **Білан Галина**, halyabilan@gmail.co...
$(document).ready(function() { $('#frmMarca').submit(function(e) { e.preventDefault(); update(); }); }); function update(){ var datos = { ma_nombre: $('#ma_nombre').val(), ma_active: $('#ma_active').val(), ma_id: $('#ma_id').val() } $.ajax(...
<?php namespace ThreeDCart\Api\Soap\Resource; use ThreeDCart\Api\Soap\Resource\Customer\AdditionalFields; use ThreeDCart\Api\Soap\Resource\Customer\Customer; use ThreeDCart\Api\Soap\Resource\Customer\Address; use ThreeDCart\Api\Soap\Resource\Customer\LoginToken; use ThreeDCart\Api\Soap\Resource\Order\AffiliateInforma...
interface Node { value: any; next?: Node; } interface reduceCallback { (acc: Node | any, current: Node | any): any; } declare class List { constructor(initialValue?: any); getLength(): number; getHead(): Node; getTail(): Node; reduce(callback: (acc: any, current: any) => any, startingValue: any, extra...
import GetBottom from '../../bounds/GetBottom.js'; import GetLeft from '../../bounds/GetLeft.js'; import SetBottom from '../../bounds/SetBottom.js'; import SetLeft from '../../bounds/SetLeft.js'; var BottomLeft = function (gameObject, alignIn, offsetX, offsetY) { if (offsetX === undefined) { offsetX = 0; } if ...
#!/usr/bin/env bash # Copyright 2019-present Kensho Technologies, LLC. # Fail on first error, on undefined variables, and on errors in a pipeline. set -euo pipefail # Ensure that the "**" glob operator is applied recursively. # Make globs that do not match return null values. shopt -s globstar nullglob # Make sure t...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.psa.Business.NeuralNetwork; import com.psa.Business.TrainingUtils.TrainingUtils; import java.io.File; import java.io.FileI...
#!/bin/bash set -e if [ $# -ne 1 ] then echo 'Usage: run-local.sh <image>' exit 1 fi # Note: annoyingly package.json run-scripts don't support args, hence this script node scripts/upload.js "$1" event.json cd lambda npm run local
package models import play.api.libs.json._ case class User(userId: String) object User { implicit val jsWrite = Json.writes[User] } case class UserResponse(u: User) case class Access(isOk: Boolean) object Access { val OK = Access(true) val failure = Access(false) }
package com.rbkmoney.porter.config import com.rbkmoney.porter.config.properties.KeycloakProperties import org.keycloak.adapters.KeycloakConfigResolver import org.keycloak.adapters.KeycloakDeployment import org.keycloak.adapters.KeycloakDeploymentBuilder import org.keycloak.representations.adapters.config.AdapterConfig...
#!/bin/bash set -e -x cp requirements.txt requirements-new.txt sha256sum requirements-new.txt > sum.txt poetry export -f requirements.txt > requirements-new.txt echo "If this fails, rebuild requirement.txt with previous line" sha256sum -c sum.txt rm sum.txt requirements-new.txt poetry run black --check . poetry run is...
@model IList<InfloCommon.WeatherLog> @{ ViewBag.Title = "Weather Log"; } <h3>@ViewBag.Title</h3> @Html.ActionLink( linkText: "View Weather Events", actionName: "Index", controllerName: "WeatherEvents", routeValues: null, htmlAttributes: null ) <br /> @using (Html.BeginForm("Log...
CREATE OR REPLACE PACKAGE ut_update_quality IS -- %suite(UT_REGRESSION_TEST) -- %suitepath(gilded_rose_tests) -- %rollback(manual) -- %beforeeach PROCEDURE cleanup_before_each; -- %test(Foo test) PROCEDURE ut_foo; END ut_update_quality; /
import * as React from 'react'; import { RouteComponentProps } from 'react-router'; import { Ratings } from '../ratings'; export class Home extends React.Component<RouteComponentProps<{}>, any> { constructor() { super(); this.state = { rating: { loading: fal...
; Day XX (load "../../include/lisp/common.lsp")
require 'progne_tapera/version' require 'progne_tapera/enum_list' require 'progne_tapera/enum_item' require 'progne_tapera/enum_config' require 'progne_tapera/enum_code' module ProgneTapera end
import csv import mock import pytest from dmtestutils.api_model_stubs import FrameworkStub from ...helpers import LoggedInApplicationTest class TestDirectAwardView(LoggedInApplicationTest): def setup_method(self, method): super().setup_method(method) self.data_api_client_patch = mock.patch('app...
import React from "react"; import { number } from "prop-types"; import styled from "styled-components"; import { FormattedMessage } from "gatsby-plugin-intl"; // components import Friend from "../Friend"; import LatestPost from "../LatestPost"; import Text from "components/elements/Text"; const Wrapper = styled.div` ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\PeopleBelieve; use Illuminate\Http\Request; use Intervention\Image\Facades\Image; class PeopleBelieveController extends Controller { public function PeopleBelieve() { $result = PeopleBelieve::all(); ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Picker from './picker.js'; /* eslint-disable react/no-unused-prop-types */ class Pickers extends Component { static propTypes = { value: PropTypes.array, options: PropTypes.array, }; static defaultProps = { value: [...
<?php use Illuminate\Database\Seeder; class ProductImagesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('product_images')->insert([ ['image' => '123', 'product_id' => 1, 'thumb' => '123t'], ...
// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris // Copyright 2017-2021 Jeff Foley. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. package limits import ( "syscall" ) // GetFileLimit attempts to raise the ulimit...
<?php /** * PHPIDS * * Requirements: PHP5, SimpleXML * * Copyright (c) 2008 PHPIDS group (http://php-ids.org) * * PHPIDS is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, version 3 of the Licen...
Advanced usage ============== Including snippets in pages --------------------------------- ### Usage To include snippets (markdown files) within a markdown file, you may use the `include` directive from jinja2, directly in your markdown code e.g.: ``` {.jinja2} ## Paragraph {% include 'snippet.md' %} ``` Includin...
# 这是一个webpack构建的VUE的小demo ## 监听在3001端口 ```端口可以在package.json中的scripts下的dev中更改``` ## 安装依赖 ```npm i``` ## 打开项目 ```npm run dev``` ## vue-shop-server是后台接口服务
#!/bin/bash ignores=macos,emacs,vim,go curl -L -s https://www.gitignore.io/api/$ignores > .gitignore echo vendor >> .gitignore
import React, { Component } from 'react'; import Button from 'react-toolbox/lib/button/Button'; const electron = window.require('electron'); const ipcRenderer = electron.ipcRenderer; class EmployeeContent extends Component { constructor(props) { super(props); this.handleAddEmployee = this.handleAddEmployee.bi...
INCLUDE "data/moves/effects_pointers.asm" MoveEffects: ; used only for BANK(MoveEffects) NormalHit: checkobedience usedmovetext doturn critical damagestats damagecalc stab damagevariation checkhit moveanim failuretext applydamage criticaltext supereffectivetext checkfaint buildopponentrage heldflinch...
#### #### Important notes: #### If you make modifications (additions, subtractions), please #### make the appropriate change in the db_update files. If you don't #### know the syntax for a different database, e-mail the list for #### help. #### #### # # Table structure for table '{PREFIX}authors' # create table {PRE...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Request as Marathon; class DashboardController extends Controller { public function loadData(Request $request){ // dd("afds"); $marathons = Marathon::orderBy('id','desc')->paginate(30); try{ $mal...
const { config } = require('../../config/index'); const usersMock = [ { 'first_name': 'ROOT', 'last_name': 'USER', 'email': 'root@undefined.sh', 'password': config.defaultAdminPassword, 'isAdmin': true, }, { 'first_name': 'John', 'last_name': 'Doe', 'email': 'doe@undefined.sh', ...
import secrets from fastapi import APIRouter from fastapi import Depends, HTTPException from pydantic import BaseModel from sqlalchemy.orm import Session from starlette import status from starlette.responses import JSONResponse import crud from internals import deps from internals.config import settings router = API...
package controller import ( "bufio" "fmt" "io" "os" "strconv" "gitlab.com/tsuchinaga/kabus-legs/app/usecase" "gitlab.com/tsuchinaga/gocli" ) // Symbol - 銘柄コントローラのインターフェース type Symbol interface { List(*bufio.Scanner) gocli.AfterAction Add(*bufio.Scanner) gocli.AfterAction Delete(*bufio.Scanner) gocli.After...
const mongoose = require('mongoose'); const requireLogin = require('../middlewares/requireLogin'); const User = mongoose.model('User'); const Beer = mongoose.model('Beer'); module.exports = app => { //returns the beers of the current logged in user app.get('/api/current_user/beer', requireLogin, async (req, res)...
# all you need on one site, one-for-all : https://one-for-all.000webhostapp.com/contact.php
// package shell implements a remote API interface for a running ipfs daemon package shell import ( "bytes" "context" "encoding/json" "errors" "fmt" "io" "io/ioutil" gohttp "net/http" "os" "path" "strings" "time" files "github.com/ipfs/go-ipfs-cmdkit/files" homedir "github.com/mitchellh/go-homedir" ma ...
package MARC::Record; =head1 NAME MARC::Record - Perl extension for handling MARC records =cut use strict; use warnings; use integer; use vars qw( $ERROR ); use MARC::Field; use Carp qw(croak carp); =head1 VERSION Version 2.0.6 =cut use vars qw( $VERSION ); $VERSION = '2.0.6'; use Exporter; use vars qw( @ISA...
package model import ( "math" "syscall" "unsafe" ) func S(text string) uintptr { ptrTxt, _ := syscall.UTF16PtrFromString(text) return uintptr(unsafe.Pointer(ptrTxt)) } func S_P(text *string) uintptr { ptrTxt, _ := syscall.UTF16PtrFromString(*text) return uintptr(unsafe.Pointer(ptrTxt)) } func I_P(number *int...
<h>This is Group 20</h> <p> <u> Members: <li> 1. Austin Ibah </li> <li> 2. Patrick Kunza </li> <li> 3. Jay Whang </li> </u> <u> Group Interests <li> 1. ??? </li> <li> 2. ??? </li> <li> 3. ??? </li> </u> </p>
fn add(a: &String, b: &String) -> String { let mut ret = a.clone(); ret.push_str(b); return ret; } fn print(a: &str) { println!("{}", a); } #[cfg(test)] mod tests { use super::*; #[test] fn test_add() { assert!(add(&"1".to_string(), &"2".to_string()) == "12"); } } fn main() { ...
package com.smobile.premierleague.ui.team import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Transformations import androidx.lifecycle.ViewModel import com.smobile.premierleague.Const.SEASON import com.smobile.premierleague.model.Player import com.smobile.premierleag...
################################################################################ # add_port ################################################################################ function add_port(component::Component, name, class; metadata = emptymeta()) return add_port(component, Port(name, class; metadata = metadata)...
#!/bin/bash #PNet #cd /data/ai/FasterRCNN/MTCNN-Tensorflow-master/prepare_data python gen_12net_data.py python gen_landmark_aug_12.py python gen_imglist_pnet.py python gen_PNet_tfrecords.py cd /data/ai/FasterRCNN/MTCNN-Tensorflow-master/train_models python train_PNet.py #RNet cd /data/ai/FasterRCNN/MTCNN-Tensorflow-m...
DROP TABLE IF EXISTS t_functions_to_subcolumns_alias; CREATE TABLE t_functions_to_subcolumns_alias (id UInt64, t Tuple(UInt64, String), m Map(String, UInt64)) ENGINE = Memory; INSERT INTO t_functions_to_subcolumns_alias VALUES (1, (100, 'abc'), map('foo', 1, 'bar', 2)) (2, NULL, map()); SELECT count(id) AS cnt FROM t...
import sys sys.stdin = open('1092.txt') N = int(input()) limit = list(map(int, input().split())) M = int(input()) weight = list(map(int, input().split())) limit.sort(reverse=True) weight.sort(reverse=True) loading = [False for _ in range(M)] if limit[0] < weight[0]: print(-1) else: cnt = 0 ans = 0 ...
<?php namespace FB\Accountkit\Exception; use RuntimeException; class ResponseFieldException extends RuntimeException { /** * @param string $fileNotFound * @param \Exception $e */ public function __construct(string $fieldNotFound, \Exception $e = null) { parent::__construct( ...
use crate::debug::vram_fetcher::VRAMFetcher; use crate::debug::vram_fetcher::VramDebugger; use crate::{ gpu::screen::ScreenFetcher, mem::cartridge::Cartridge, processor::{cpu::Cpu, interrupt_controller::InterruptController}, }; use image::{ImageBuffer, Rgba}; use std::{cell::RefCell, rc::Rc}; pub trait Emu...
#!/bin/sh TORADOCU=build/libs/toradocu-1.0-all.jar CONVERTER=org.toradocu.util.GoalFileConverter if [ "$#" -ne 3 ]; then echo "You must invoke this script with exactly 3 arguments:" echo "1. Folder containing json files to be translated." echo "2. Binaries of the target system (json files describe comment...
namespace Appleseed.Services.Knowledge.Model.Illumination.Services.OpenCalaisIlluminator.Enums { using Appleseed.Services.Knowledge.Model.Illumination.Services.OpenCalaisIlluminator.Helpers; //==================================================================== // API Version Check //==================...
#!/usr/bin/env bash ###################################################################### # This script installs MXNet for Python along with all required dependencies on a Fedora Machine. # Tested on Fedora 21.0 + distro. ###################################################################### set -e MXNET_HOME="$HOME/...
<?php namespace App\Repositories; use Exception; use App\Models\Cinema; class CinemaRepository implements CinemaInterface{ protected $cinema; public function __construct(Cinema $cinema){ $this->cinema = $cinema; } public function all(){ return Cinema::orderBy('id', 'asc')->paginate(8...
import React, {useState, useEffect} from 'react' import { View, Text, Image, TextInput, TouchableOpacity, KeyboardAvoidingView, Platform, ScrollView } from 'react-native' import Header from '../../components/header' import { LinearGradient } from 'exp...
package gocoder import ( "context" "go/ast" "go/token" ) type GoMap struct { rootExpr *GoExpr astExpr *ast.MapType key *GoExpr value *GoExpr } func newGoMap(rootExpr *GoExpr, astMap *ast.MapType) *GoMap { g := &GoMap{ rootExpr: rootExpr, astExpr: astMap, key: newGoExpr(rootExpr, astMap.Key), ...
module Main (main) where import NPNTool.PTConstr import NPNTool.NPNConstr (NPNConstrM,arcExpr) import qualified NPNTool.NPNConstr as NPC import NPNTool.NPNet import NPNTool.PetriNet import NPNTool.Liveness import Control.Monad (replicateM,forM) import Criterion.Main import Criterion.Config import Debug.Trace cfg ::...
# task list Primeiro projeto com laravel um CRUD de tarefas. ## O que esta sendo usado projeto? * Framework Laravel. * Ajax para requisições. * Framework Materialize. --- ## Para testar o projeto ? DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=mude_aqui_database DB_USERNAME=mud...
package cmd // import ( // "fmt" // "github.com/disintegration/imaging" // "github.com/golang/freetype" // "github.com/op/go-logging" // ) // func init() { // } // func HandleUserImage(string, error) { // if m, err := imaging.Open("target.png"); err != nil { // fmt.Printf("open target image failed") // } /...
package `is`.xyz.mpv import android.app.PendingIntent import android.content.BroadcastReceiver import android.content.ComponentName import android.content.Context import android.content.Intent import android.util.Log class NotificationButtonReceiver : BroadcastReceiver() { override fun onReceive(context: Context?...
// Type definitions for text-encoding // Project: https://github.com/inexorabletash/text-encoding // Forked from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/types-2.0/text-encoding/text-encoding.d.ts declare class TextEncoder { constructor(label?: string, options?: TextEncoding.TextDecoderOptions); ...
# Slot: types data types used in the model URI: [meta:types](https://w3id.org/biolink/biolinkml/meta/types) ## Domain and Range [SchemaDefinition](SchemaDefinition.md) -> <sub>0..*</sub> [TypeDefinition](TypeDefinition.md) ## Parents ## Children ## Used by * [SchemaDefinition](SchemaDefinition.md)
class Book { get author() { return this.get('_author'); } set author(value) { this.set('_author', value); } get pageCount() { return this.get('_pageCount'); } set pageCount(value) { this.set('_pageCount', value); } get title() { return this...
extern crate x; fn main() { let mut patina = x::Patina::new(); if let Err(e) = patina.setup() { panic!("Failed to set up X Screen! {:?}", e); } patina.run(); }
package tz.co.asoft actual fun Number.toString(places: Byte) = "${js("String")(this)}"
use super::{Batch, PacketError}; use failure::Error; use packets::Packet; /// Lazily-evaluate foreach operator /// /// Works on reference of packet for side-effects. /// /// On error, the packet is marked as aborted and will short-circuit the /// remainder of the pipeline. pub struct ForEachBatch<B: Batch, F> where ...
use std::fs; pub struct Config { pub day: i64, } impl Config { pub fn new(args: &Vec<String>) -> Result<Config, String> { let day = Config::parse_day(args)?; Ok(Config{day}) } fn parse_day(args: &Vec<String>) -> Result<i64, String> { args.get(1) .ok_or("No day numb...
#ifndef ALIMUONRESPONSETRIGGER_H #define ALIMUONRESPONSETRIGGER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ // Revision of includes 07/05/2004 /// \ingroup sim /// \class AliMUONResponseTrigger //...
module Myo.Command.Data.CommandError where import Ribosome.Data.ErrorReport (ErrorReport(ErrorReport)) import Ribosome.Error.Report.Class (ReportError(..)) import System.Log (Priority(ERROR, NOTICE)) data CommandError = Misc Text | NoSuchCommand Text Text | NoCommands | NoSuchHistoryIndex Int | NoSu...
object QuotesForm: TQuotesForm Left = 442 Top = 163 Width = 497 Height = 480 Anchors = [akTop, akRight, akBottom] Caption = 'QuotesForm' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder = Fal...
import requests from azul.logging import configure_test_logging from service import WebServiceTestCase def setUpModule(): configure_test_logging() class RepositoryProjectsEndpointTest(WebServiceTestCase): # Set a seed so that we can test the detail response with a stable project ID seed = 123 @cla...