text
stringlengths
27
775k
# Banner # HTML element on webpages to advertise discounts or other content relevant to shoppers. # No URL as of yet module Bigcommerce class Banner < Resource include Bigcommerce::ResourceActions.new uri: 'banners/%d' property :id property :name property :content property :page property :ca...
# CloseButton The `CloseButton` component is an extension of the `IconButton` component with default props for use as a button for closing modal dialogs and other UI components. ```.jsx <Flex p={2} color='primary'> <Box mx='auto' /> <CloseButton /> </Flex> ``` ### Related - [IconButton](/IconButton)
CREATE TABLE [dbo].[System_Setup] ( [input_increment] INT NOT NULL, [db_version] decimal(5,2) NOT NULL )
package com.ponkotuy.data import com.ponkotuy.tool.RankingDiff import org.json4s._ /** * * @author ponkotuy * Date: 15/04/06. */ case class Ranking(no: Int, memberId: Long, rate: Int) extends RankingDiff object Ranking { implicit val format = DefaultFormats def fromJson(obj: JValue): List[Ranking] = { va...
DECLARE @x varchar(max); SET @x = '<?xml version="1.0" encoding="ISO-8859-1"?> <order id="123456" date="2015-01-01"> <salesperson id="123"> <name>Naomi Sharp</name> </salesperson> <customer id="921"> <name>Dan Drayton</name> </customer> <items> <item id="268" quantity="2"/> <item id="561" qua...
const { join } = require('path'); module.exports = options => { return { loadDir: [ options.baseDir, join(options.appDir, 'proxy') ], }; };
# frozen_string_literal: true module Karafka module Params # Due to the fact, that we create params related objects in couple contexts / places # plus backends can build up them their own way we have this namespace. # It allows to isolate actual params objects from their building process that can be ...
var AV = require('leanengine'); /** * 一个简单的云代码方法 */ AV.Cloud.define('hello', function(request, response) { response.success('Hello world!'); }); module.exports = AV.Cloud;
import { Editor } from 'slate'; export const isMarkActive = (editor: Editor, markType: string) => { const marks = Editor.marks(editor); return marks ? marks[markType] === true : false; };
namespace EntityFramework.Functions { using System; using System.Collections.Generic; using System.Data.Entity.Core.Metadata.Edm; using System.Linq; using System.Reflection; internal static class StringExtensions { internal static bool EqualsOrdinal (this string a, s...
# -*- coding: utf-8 -*- # # Cookbook Name:: redis cookbook # # :copyright: (c) 2013 by Alexandr Lispython (alex@obout.ru). # :license: BSD, see LICENSE for more details. # :github: http://github.com/Lispython/redis-cookbook # # Global params #default["redis"]['packages']['location'] = "http://redis.googlecode.com/fil...
/* Copyright 2017 Samsung SDSA CNCT 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 writing, softwa...
use crate::{ syntax_node::GreenNode, ParserError, SyntaxKind, SyntaxTreeBuilder, TextRange, TextSize, TreeSink, }; use rslint_lexer::Token; use std::mem; /// Structure to convert events to a lossy syntax tree which does not preserve whitespace. #[derive(Debug)] pub struct LossyTreeSink<'a> { text: &'a str, tokens:...
require 'hello' class Hello::ViewsGenerator < Rails::Generators::Base source_root Hello.root def copy_the_views directory 'app/views/hello' end end
#!/bin/bash set -e -x cd $(dirname $0)/../server go build -ldflags "-linkmode external -extldflags -static -s"
package com.jjh.threading import java.util.concurrent.Executors object ExecutorExample4 extends App { class RunnableTask(val message: String) extends Runnable { override def run() { while (true) { print(message) } } } val executor = Executors.newFixedThreadPool(3) executor.execut...
import { registerRootComponent } from 'expo'; import React, { useEffect } from 'react'; import RootStack from './components/Navigation'; import * as Sentry from 'sentry-expo'; import relativeTime from 'dayjs/plugin/relativeTime'; import advancedFormat from 'dayjs/plugin/advancedFormat'; import dayjs from 'dayjs'; impor...
import { CollectionType } from './base/CollectionType'; import { DataType, EDataType } from './base/DataType'; /** * Pseudo data type to represent anything. * */ export class Any extends CollectionType { get(c: string): DataType | undefined { return undefined; } list(): [string, DataType][] { ...
require "rails_helper" module PriceCalculator RSpec.describe QuantityBased do describe "#price" do it "uses Product#price_at_quantity" do price_for_4 = 10 product = Product.new allow(product).to receive(:price_at_quantity).with(4).and_return(price_for_4) quantity_based = Qua...
#ifndef _COOLSBLIB_INCLUDED #define _COOLSBLIB_INCLUDED #ifdef __cplusplus extern "C"{ #endif #include <windows.h> // To complement the exisiting SB_HORZ, SB_VERT, SB_BOTH // scrollbar identifiers #define COOLSB_NONE (-1) #define SB_INSBUT (-2) // // Arrow size defines // #define SYSTEM_METRIC (-1) // // general ...
import Button from '@material-ui/core/Button' import React from 'react' import { FC, memo } from 'react' type Mode = 'text' | 'location' interface Props { mode: 'text' | 'location' onClick?: (mode: Mode) => void } const toggle = (mode: Mode): Mode => { switch (mode) { case 'text': return 'location' ...
import 'package:flutter/material.dart'; import '../layer/layer.dart'; import '../map/map.dart'; /// Map Locator Layer class Locator extends MapLayer { /// Widget to be used as locator icon. final Widget? icon; /// Alignment of this locator layer. final Alignment alignment; /// Margin of this locator layer...
package com.github.thebridsk.bridge.data /** * @tparam CurrentVersion the current version type * @tparam ThisVersion the type of this instance */ trait VersionedInstance[CurrentVersion, ThisVersion, VID] { def created: SystemTime.Timestamp def id: VID def setId( newId: VID, forCreate: Boolea...
{"timestamp": 1557079807.0, "score_count": 47169, "score": 6.97} {"timestamp": 1545087155.0, "score_count": 46336, "score": 6.97} {"timestamp": 1555037325.0, "score_count": 47048, "score": 6.97} {"timestamp": 1489435833.0, "score_count": 41665, "score": 7.01} {"timestamp": 1471025392.0, "score_count": 39870, "score": 7...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; namespace Charlotte.Satellite.Tools { public static class SystemTools { public static string GetTmp() { return GetEnv("TMP", @"C:\temp"); } public static ...
package fr.o80.soulgame.scenes.level import fr.o80.gamelib.dsl.alpha import fr.o80.gamelib.dsl.draw import fr.o80.gamelib.loop.Window class PauseOverlayRenderer( private val window: Window ) { fun render() { draw { alpha { color(0f, 0f, 0f, 0.4f) quad(0f, 0...
--- layout: post title: "This is a test" date: 2016-07-01 11:40:00 +0200 categories: test --- This is simply a test
package com.gunmer.dojoapp.kataPotter class CashRegister { fun calculatePriceOf(shoppingBasket: Array<Book>) : Double { throw RuntimeException("Un implemented function") } }
import os # tkinter関連モジュール from tkinter import * from tkinter import filedialog from tkinter.ttk import * # 抽象クラス使用 from abc import ABCMeta, abstractmethod # 自作モジュール from hashcalc import mainCalc title = "ColkHashChecker" algorithmNames = ["md5", "sha256", "sha512"] class Root: def __init__(self): # w...
package io.kommons.utils import io.kommons.assertNotBlank import io.kommons.logging.KotlinLogging import io.kommons.logging.debug import io.kommons.logging.trace import java.util.Locale private val log = KotlinLogging.logger {} /** 현 Locale 이 기본 Locale 인가 */ fun Locale?.isDefault(): Boolean = Locale.getDefault() == ...
<?php /* --------------------------- DatArt Creation Date : 19/03/2017 classes/exhibit_textual_content.php author : ApplePie Cie ---------------------------- */ class ArtworkText{ protected $id; protected $artwork_id; protected $language; protected $subject; protected $content; protected function __construc...
package mm.inventory.infra.store.jdbi.itemclasses import mm.inventory.app.productplanner.itemclass.AttributeHeader import org.jdbi.v3.sqlobject.statement.SqlQuery interface AttributeTypeDao { @SqlQuery(""" SELECT Attribute_types.name AS name, scalar, Units.code AS unit_code, Units.name AS unit_name ...
#include "renderlab/RenderLab.h" #include "renderlab/PinCallback.h" #include "renderlab/Node.h" #include "renderlab/RegistNodes.h" #include "renderlab/node/SubGraph.h" #include <blueprint/CompNode.h> #include <blueprint/NodeBuilder.h> #include <blueprint/node/Commentary.h> #include <blueprint/node/Function.h> #include...
program test_ph use constants_lib use dStar_atm_def use dStar_atm_lib use bc09 real(dp) :: Tb,g,Plight,Teff,flux integer :: ierr,i call constants_init('',ierr) call dStar_atm_startup('../../data',ierr) call check_okay('dStar_atm_startup',ierr) g = 2.43e14_dp Plight = 1.0e6_dp call do_get_bc...
#region Licence // The MIT License (MIT) // // Copyright (c) 2013 Eric Ruan // // 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 righ...
-- phpMyAdmin SQL Dump -- version 4.9.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Feb 19, 2020 at 01:53 PM -- Server version: 10.4.10-MariaDB -- PHP Version: 7.3.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
// // ASSDWebImageDownloader.h // ASNetworkImageNode-Extension // // Created by 吴哲 on 2021/7/23. // Copyright © 2021 arcangelw. All rights reserved. // #import <Foundation/Foundation.h> #if __has_include(<AsyncDisplayKit/ASImageProtocols.h>) && __has_include(<AsyncDisplayKit/ASNetworkImageNode.h>) #import <AsyncD...
<?php /** * Coffee & Brackets software studio * @author Mohamed KRISTOU <krisstwo@gmail.com>. */ namespace Coffeeandbrackets\UniqueCodeAdminBundle\Admin; use \Sonata\AdminBundle\Admin\AbstractAdmin; use Sonata\AdminBundle\Admin\AdminInterface; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Location; use Auth; class LocationsController extends Controller { public function index(){ $locations = Location::all(); return view('locations.list', compact('locations')); } public function view(Location $location){ ...
package com.sergiocasero.commit.common.model import kotlinx.serialization.Serializable @Serializable data class Contents( val id: Long?, val type: String, val title: String? = "", val description: String? = null, val creationDate: Long?, val speakers: List<Speaker> )
package io.github.drumber.kitsune.data.model.media import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class MediaSearchResult( val id: Long, val kind: MediaSearchKind, val subtype: String, val slug: String, val titles: Titles? = null, val canon...
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import ru.stqa.pft.addressbook.mo...
module Data.URM.StateView ( StateView(..) -- * Constructing , mk , mk' ) where import qualified Data.URM.Instruction as URM.Instruction import qualified Data.URM.Reg as URM.Reg -- | The state view data type data StateView = StateView { regs :: [(Int, URM.Reg.Reg)] ...
// // Decompiled by Procyon v0.5.36 // package org.xmlpull.v1.builder; public interface XmlCharacters extends XmlContainer { String getText(); Boolean isWhitespaceContent(); XmlElement getParent(); }
import 'package:flutter/material.dart'; import 'dialog.dart'; const Color _kDefaultBackgroundColor = Colors.white; const double _kDefaultElevation = 0; const double _kDefaultPaddingWidthPercent = 0.1; const ShapeBorder _kDefaultShape = RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(5.0)), );...
package com.lidegui.littledrawer.util; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import com.lidegui.littledrawer.bean.Video; import org.springframework.util.ResourceUtils; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.w...
RSpec.describe RedirectorsController, type: :controller do describe 'GET en/tools/redirect_to/:tool_name' do context 'when tool exists' do it 'sets an initial cookie and redirects' do get :redirect, { locale: 'en', tool_name: 'debt_advice_locator' } expect(response.location).to eq( ...
export class TopiChatConfigService { private provider: any = { sniffing: { globalEnable: true } }; get():any { return this.provider; } }
import { DefinePlugin } from 'webpack' interface WebpackPluginOptions { filename?: string } export interface WebpackPlugin { // NOTE NOT SURE ABOUT THIS // TODO DOUBLE CHECK HERE new (options?: WebpackPluginOptions): DefinePlugin }
ractive-js-example-presentation =============================== A simple presentation showing an example use of Ractive.js
using System; using System.Collections.Generic; using System.Text; namespace StaticClasses { public class User { public string FirstName { get; set; } public string LastName { get; set; } public void PrintFullName() { Console.WriteLine($"{FirstName} {LastName}");...
# SimpleBlogSystem: - Telerik Academy Web Forms Team Work - Season 2015 - 2016 # Team Members: - Ivan Nikolov - Gergana Belcheva - Yordan Gergov
package sonar.logistics.base.utils.slots; import mcmultipart.api.slot.EnumEdgeSlot; import mcmultipart.api.slot.EnumSlotAccess; import mcmultipart.api.slot.IPartSlot; import net.minecraft.util.EnumFacing; import net.minecraft.util.ResourceLocation; import sonar.logistics.PL2Constants; public enum EnumDisplayFaceSlot ...
package ping import ( "fmt" "os/exec" "regexp" "runtime" "strconv" "time" ) const Int64Max int64 = 9223372036854775807 func Ping(dhost string) (int64, error) { var cmd *exec.Cmd switch runtime.GOOS { case "darwin", "linux": cmd = exec.Command("ping", "-c", "1", dhost) case "windows": cmd = exec.Comman...
; Copyright (C) 2015 Jeroen Domburg <jeroen at spritesmods.com> ; Copyright (C) 2019 Björn Weinehall ; ; This library 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, either version 3 of the License, or ...
#! /bin/bash if [[ $OSTYPE != darwin* ]]; then SUDO=sudo fi rm -rf build mkdir build cp -r /data/taiga build $SUDO docker build -t ipedrazas/taiga-front . rm -rf build
package ref.hash import java.security.MessageDigest object SHA2 { def digest(sha: String)(inputString: String): Array[Byte] = { val md = MessageDigest.getInstance(sha) md.update(inputString.getBytes()) val digest = md.digest() return digest } } object PlayWithSHA2 extends App { def bigIn...
#' rsq_1.1 - generate r-squared for observations relative to 1:1 line #' #' @param observed observed values of dependent variable. #' @param predicted predicted values of dependent variable. #' #' @return returns r-squared value for observed vs. predicted. Can be negative. #' @export #' #' @examples rsq_1.1 <- funct...
using ColorPicker.Common; using ColorPicker.ViewModelContracts; using System.ComponentModel.Composition; using System.Windows.Media.Imaging; namespace ColorPicker.ViewModels { [Export(typeof(IZoomViewModel))] public class ZoomViewModel : ViewModelBase, IZoomViewModel { private BitmapSource _zoomAr...
package dm01 import ( "duel-masters/game/civ" "duel-masters/game/family" "duel-masters/game/fx" "duel-masters/game/match" ) // BurningMane ... func BurningMane(c *match.Card) { c.Name = "Burning Mane" c.Power = 2000 c.Civ = civ.Nature c.Family = family.BeastFolk c.ManaCost = 2 c.ManaRequirement = []string{...
void main() { final regex1 = RegExp('[^01]'); final input1 = '11001000102100110'; print(regex1.stringMatch(input1)); }
#!/bin/sh rm -rf /Library/Extensions/Soundflower.kext rm -rf /System/Library/Extensions/Soundflower.kext # NOTE: Code below is the AppleScript from the official Soundflower uninstaller # on run # do shell script "sudo rm -rf /System/Library/Extensions/Soundflower.kext" with administrator privileges # do shell scri...
import React, { useEffect, useState } from "react" import { RouteComponentProps } from "react-router-dom" import { useAppSelector, useAppDispatch } from "../../app/hooks" import { fetchConfigAsync, selectStatus, selectPrizes, selectAnswersByStep, selectQuestionByStep } from "./reducers/gameSlice" ...
#pragma once #include "generic.h" #include "lib/musl/include/elf.h" class File; class Process; class PersistentMemoryManager; const Elf64_Shdr* FindSectionHeader(File& file, const char* name); Process& LoadELFAndCreateEphemeralProcess(File& file); Process& LoadELFAndCreatePersistentProcess(File& file, ...
require "language/node" class Bit < Formula desc "Distributed Code Component Manager" homepage "https://www.bitsrc.io" url "http://assets.bitsrc.io/release/0.1.0/bit_0.1.0_brew.tar.gz" sha256 "c33c00a8334da4659b263472d013eaafbc5f0c16249e755f7624ac396d673270" bottle do cellar :any_skip_relocation sha2...
'use strict'; var Server = require('mongodb-core').Server; if (typeof Server === 'function') { console.log('ok'); }
package com.raphtory.dev.wordSemantic.graphbuilders import com.raphtory.core.actors.Router.GraphBuilder import com.raphtory.core.model.communication._ import scala.collection.mutable class CoMatGBFiltered extends GraphBuilder[String] { val THR: Double = System.getenv().getOrDefault("COOC_FREQ_THRESHOLD ", "0.1")....
<# get pyinstaller if you haven't already! #> <# pip install pyinstaller #> pyinstaller TekkenBotPrime.spec Remove-Item -Path 'dist\data' -Recurse -Force Copy-Item -Path 'data' -Destination 'dist\data' -Recurse -Force -Exclude 'settings.ini' Compress-Archive -Force -Path dist\data,dist\TekkenBotPrime.exe -DestinationPa...
package registor import ( "fmt" "github.com/CodisLabs/codis/pkg/utils/log" "github.com/coreos/go-etcd/etcd" "github.com/fagongzi/fastim/pkg/model" "github.com/fagongzi/fastim/pkg/util" "strconv" "strings" "time" ) type EtcdRegistor struct { prefix string etcdAddrs []string cli *etc...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
package main import "fmt" type Item struct { name string sellIn, quality int } // var items = []Item{ // Item{"+5 Dexterity Vest", 10, 20}, // Item{"Aged Brie", 2, 0}, // Item{"Elixir of the Mongoose", 5, 7}, // Item{"Sulfuras, Hand of Ragnaros", 0, 80}, // Item{"Backstage passes to a TAFKAL80ETC c...
<?php namespace alfalibros\Modules\Generador\Http\Requests; use alfalibros\Http\Requests\Request; class GeneradorRequest extends Request { protected $reglasArr = [ 'modulo' => ['required', 'min:3'], 'tabla' => ['regex:/^[a-zA-Z0-9_]+$/', 'min:3'], 'nombre' => ['required_if:tabla,', 'regex:/^[a-zA-Z0-9_]+$/',...
#!/usr/bin/env bash # Copyright 2018-present Open Networking Foundation # SPDX-License-Identifier: Apache-2.0 # From: https://github.com/opennetworkinglab/stratum-onos-demo/blob/master/mininet/topo/entrypoint.sh # Start mininet in a screen session so we can attach to its CLI later. screen -dmS cli -L -Logfile screen....
part of bot_texture; class TextureInput { final String name; final Box frame; final bool rotated; final bool trimmed; final Box sourceColorRect; final Size sourceSize; final ImageElement image; TextureInput(this.name, this.frame, this.rotated, this.trimmed, this.sourceColorRect, this.sourceSize,...
var Letter = require("./letter.js"); var displayArr = []; function Word(word) { this.displayedWord=""; this.new = word.split(""); this.displayWord = function() { if(displayArr.length < 1) { for (var i = 0; i < this.new.length; i++) { var placeholder= new Letter(this.new[i]); displayArr.push(placeholde...
require_relative "rails_helper" RSpec.describe "context", type: :request do let!(:post) { create(:post) } it "is assigned to the controller automatically" do jsonapi_get "/api/v1/posts/#{post.id}" json = JSON.parse(response.body) expect(json["data"]["attributes"]["controller"]).to eq("PostsController...
.include "init.asm" .include "ringbuffer.asm" alloc_ringbuffer(rb0) .text 0x00410000 #------------------------------- # empty 20(sp) # ra 16(sp) # s1 12(sp) # s0 8(sp) # a1 4(sp) # a0 0(sp) #------------------------------- main: addi $sp, $sp, -24 sw $s0, 8($sp) sw $s1, 12($...
#!/bin/sh # # STIG URL: http://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2014-06-11/finding/V-38610 # Finding ID: V-38610 # Version: RHEL-06-000231 # Finding Level: Low # # The SSH daemon must set a timeout count on idle sessions. This # ensures a user login will be terminated as soon as the # "C...
/*! * Copyright 2019 - Author - Gaurav */ interface Warrior { fight(): string; sneak(): string; } interface Weapon { hit(): string; } interface ThrowableWeapon { throw(): string; }
import scrapy class FarmfreshItem(scrapy.Item): name = scrapy.Field() name1 = scrapy.Field() gis = scrapy.Field() pass
<?php namespace App\Models\System; use Illuminate\Database\Eloquent\Model; use Prettus\Repository\Contracts\Transformable; use Spatie\Permission\Models\Permission; use Tymon\JWTAuth\Contracts\JWTSubject; use Illuminate\Foundation\Auth\User as Authenticatable; class Menu extends Model implements Transformable { ...
import 'package:json_annotation/json_annotation.dart'; part 'deck.g.dart'; @JsonSerializable() class Deck extends Object { @JsonKey(name: 'cards') List<Cards> cards; @JsonKey(name: 'decklink') String decklink; @JsonKey(name: 'popularity') int popularity; Deck( this.cards, this.decklink, t...
{-| Main Module for the project Enigma -} module Main( main, encimg, decimg, key, enctxt, dectxt ) where import EncodeSteg import DecodeSteg import Conversions import RsaGenKeys import RsaEncrypt import RsaDecrypt import System.Environment import Codec.Picture import Testing {-| Hiding information(text/imag...
using BusinessRulesEngine.Proxies; namespace BusinessRulesEngine.Interfaces { internal interface IOrderProcessingRulesEngine { void ApplyRules(OrderProxy order); } }
package com.codecool.quest; import com.codecool.quest.inventoryui.*; import com.codecool.quest.logic.*; import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.control.Button; imp...
# PokeEnduranceCalc ポケモン耐久値 計算 https://zuhima.github.io/PokeEnduranceCalc/
import { Injectable } from '@angular/core'; import { GridWidgetArea } from 'core-app/shared/components/grids/areas/grid-widget-area'; import { GridArea } from 'core-app/shared/components/grids/areas/grid-area'; import { GridAreaService } from 'core-app/shared/components/grids/grid/area.service'; import { GridMoveServic...
using System; using System.Collections.Generic; namespace MOI.Patrol { public partial class Patrolcheckinout { public long Patrolcheckinoutid { get; set; } public long Checkinoutstateid { get; set; } public long Patrolid { get; set; } public long Personid { get; set; } ...
/** * The appearance settings for the target line of the Bullet series. */ export interface BulletTargetLine { /** * The width of the Bullet target line in pixels. */ width?: number; }
module MicrosoftKiotaAbstractions module AuthenticationProvider def get_authorization_token(request_url) raise NotImplementedError.new end end end
ALTER TABLE fichas drop CONSTRAINT FK_fichas_eventos; alter TABLE fichas alter column evento nvarchar (30); alter TABLE eventos alter column nombre nvarchar (30); alter TABLE eventos alter column nombre_en nvarchar (30); ALTER TABLE fichas ADD CONSTRAINT FK_fichas_eventos FOREIGN KEY (evento) REFERENCES eventos (nombr...
from .client import BaseClient class GPIOClient(BaseClient): def __init__(self, rabbit_url): super(GPIOClient, self).__init__(rabbit_url, 'control') def read(self, pin_num): return self.send_pin_task('control.celery.pin_read', pin_num) def on(self, pin_num): return self.send_pin...
#![feature(int_error_matching, or_patterns)] #[macro_use] extern crate lazy_static; mod exec; mod parse; mod resolve; mod token; use std::convert::TryFrom; //use std::fs; use num_bigint::BigUint; pub type Natural = BigUint; pub use exec::{Configuration, Environment, PloopBlock, PloopStatement, VarIdent}; pub use ...
using System; namespace ZY.Common.Types { /// <summary> /// RNAV导航类型 /// </summary> [Flags] public enum SensorsType { DME_DME = 0x1, GBAS = 0x2, GNSS = 0x4, SBAS = 0x8 } }
package beep; import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.Timer; public class Beep { public static void main(String[] args) { Clock clock = new Clock(); clock.start(10000, true); JOptionPane.showMessageDialog(null, "Exit?");...
package com.nomdoa5.nomdo.ui.workspace import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences....
module Snake.Core where import Control.Monad (guard) import Data.Maybe (fromJust, fromMaybe) import Data.Tuple (swap) import Prelude hiding (Either(..)) import System.Random -------------------------------------------------- -- -- Datastructures -- data SnakeState = SnakeState { stateGrid :: Grid ...
from sklearn.ensemble import RandomForestClassifier import pandas as pd import pickle import os import warnings from .utils import (diabetes_format, cardio_format, stroke_format) from backend.settings import BASE_DIR warnings.filterwarnings('ignore') def cardio_risk_group(response, cardio_columns): cardio_respon...
/* Booleanos */ // Los booleanos son valores que pueden ser solo una de dos cosas: verdadero o falso. // Cualquier cosa "activada" o "desactivada", "sí" o "no", o temporal, // generalmente es una buena opción para un booleano. // Es útil almacenar booleanos en variables para realizar un seguimiento de sus valores y ...
from itertools import product from typing import Tuple from hypothesis import given from ground.base import (Context, Orientation) from tests.hints import (PointsPair, PointsTriplet) from tests.utils import (is_even_permutation, permute) from ...