content
stringlengths
10
4.9M
<reponame>LeandroOSBr/contagemEvasao import os directory = '../Videos/segmentado/comprimido' for filename in sorted(os.listdir(directory)): #print(filename) txtFilename = directory + "/" + (filename[0:len(filename)-4]) + ".txt" mode = 'a' if os.path.exists(txtFilename) else 'w' with op...
#[derive(Copy, Clone)] enum Movement { Up, Down, Left, Right } fn print_direction(m: Movement) { match m { Movement::Up => println!("^"), Movement::Down => println!("v"), Movement::Left => println!(">"), Movement::Right => println!("<"), } } pub fn run() { for m in [ M...
<filename>src/day09/input.ts export const day9Input = `446 players; last marble is worth 71522 points`;
#infile = open('task.in') t, s, x = map(int, input().split()) #infile.readline().split()) #infile.close() #outfile = open('task.out', 'w') if ((x-t) % s == 0 or (x-t-1) % s == 0) and x >= t and x != t+1: #outfile.write print('YES') else: #outfile.write print('NO') #outfile.close()
/** * Query ProjectDataSet based on the combination of conditions */ public ProjectDataSetMySqlModel findOne(String projectId, String dataSetId, JobMemberRole memberRole) { return projectDataSetRepo .findOne( Where .create() ...
<reponame>mamaral/MAThemeKit // // MAThemeKit.h // MAThemeKit // // Created by Mike on 8/29/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface MAThemeKit : NSObject /* Loosely based on the list of methods and properties conforming to UIAppearance in iOS 7, by Mattt. ht...
// coapRequestIdsForPath requests id's for a path and returns array response func coapRequestIdsForPath(ctx context.Context, conn *coap.ClientConn, path ...string) ([]uint, error) { var ids []uint path_ := filepath.Join(append([]string{"/"}, path...)...) if response, err := conn.GetWithContext(ctx, path_); err != ni...
// connectCmd handles connect command from client - client must send this // command immediately after establishing Websocket or SockJS connection with // Centrifugo func (c *client) connectCmd(cmd *connectClientCommand) (response, error) { if c.authenticated { logger.ERROR.Println("connect error: client already aut...
package net.avalara.avatax.rest.client.models; import net.avalara.avatax.rest.client.enums.*; import net.avalara.avatax.rest.client.serializer.JsonSerializer; import java.lang.Override; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; /* * AvaTax Software Dev...
#! /usr/bin/env python2.3 pass
Statistical Surveillance of Volatility Forecasting Models This paper elaborates sequential procedures for monitoring the validity of a volatility model. A state-space representation describes dynamics of daily integrated volatility. The observation equation relates the integrated volatility to its measures such as the...
/** {@link TimeIndependentLOSTransform LOS transform} based on a fixed rotation. * @author Luc Maisonobe * @see LOSBuilder */ public class FixedRotation implements TimeIndependentLOSTransform { /** Parameters scaling factor. * <p> * We use a power of 2 to avoid numeric noise introduction * in the...
#ifndef GAME_FACTORY_H #define GAME_FACTORY_H #include <IGameLoop.h> #include "GameLoop.h" class GameFactory : public IGameFactory { public: virtual IGameLoop *CreateGame(const IController &p_test_controller,IEntityObserverFactory &p_observer_factory) override { return new GameLoop(p_test_controller,p_observer...
/* * Testerra * * (C) 2020, <NAME>, T-Systems Multimedia Solutions GmbH, Deutsche Telekom AG * * Deutsche Telekom AG and all other contributors / * copyright owners license this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License...
Single Session Cystolitholapaxy and PCNL for Encrusted DJ Stent with Large Associated Stone Burden IntroductIon. Ureteral stent use is commonplace in urology to prevent or relieve ureteral obstruction. If ureteral stents are neglected, they can cause severe morbidity due to migration, occlusion, encrustation, breakage...
def _replace_series_name(seriesname, replacements): for pat, replacement in six.iteritems(replacements): if re.match(pat, seriesname, re.IGNORECASE | re.UNICODE): return replacement return seriesname
More on Trans-Pacific Partnership Models: Response to Petri and Plummer I see that Peter Petri and Michael Plummer (PP) have responded to my blog post on their models projections for the TPP. In essence, they minimize the concern that the TPP or even trade deficits more generally can lead to a prolonged period of high...
/** Note: anchor tag is spit out by appendTestAnchor() before this because this gets wrapped in divs by appendServiceResult() */ public String formatSummary(ServiceResult serviceResult, int tocID) { StringBuffer fb = new StringBuffer(); boolean includePartSummary = true; fb.append(detail(service...
Mass shootings in Orlando, Fla., Alexandria, Va., and San Francisco during the first two weeks of June — two of them on the same day — have once again put America's complicated relationship with guns in the spotlight. Americans have remained fairly evenly divided between a desire to strengthen gun control measures and...
/** * kernel/model.c * @author nladuo * @source url:https://github.com/nladuo/TinyExtMvc */ #include "kernel/model.h" #include "kernel/loader.h" zend_class_entry *tem_model_ce; ZEND_METHOD(Model, __construct) { //add loader as a property of model zval *load_obj; MAKE_STD_ZVAL(load_obj); object_...
package org.checkerframework.checker.experimental.regex_qual; import org.checkerframework.qualframework.base.Checker; import org.checkerframework.framework.qual.StubFiles; /** * {@link Checker} for the Regex-Qual type system. */ @StubFiles("apache-xerces.astub") public class RegexQualChecker extends Checker<Regex> ...
<filename>src/common/signalsHandler.c #include "common/common.h" int SetSigHdr( int p_sig, void p_func(int sig) ) { struct sigaction act; memset (&act, '\0', sizeof(act)); act.sa_handler = p_func; if (sigaction(p_sig, &act, NULL) < 0) { ELOG(ERROR_SIGNAL, "sigaction error"...
Frontrunner for the Republican presidential nomination, Donald Trump, is allegedly in advanced talks to add AC Milan to his international sporting empire, which already includes a number of golf courses. The 69-year-old recently made a detour from the campaign trail to fly into Italy on an overnight flight from Chicag...
#!/usr/bin/env python # -*- coding: utf-8 -*- """Take a "screen-shot" (full or partial), save to a ImageStim()-like RBGA object.`""" # Part of the PsychoPy library # Copyright (C) 2002-2018 <NAME> (C) 2019-2021 Open Science Tools Ltd. # Distributed under the terms of the GNU General Public License (GPL). from __futu...
Cobalt-based catalysts activation process FIELD: petrochemical process catalysts. SUBSTANCE: invention relates to preparation of supported Fischer-Tropsch catalysts and comprises treatment of supported Fischer-Tropsch catalyst precursor in the first step, which precursor is in pre-reduced state in the form of particle...
<gh_stars>100-1000 # coding: utf-8 import os datasets_root_train ='/home/zxq/code/coding/saliency_Dataset/DUTS/DUTS-TR' datasets_root_test ='/home/zxq/code/coding/saliency_Dataset/DUTS/DUTS-TE' train_data = os.path.join(datasets_root_train) test_data = os.path.join(datasets_root_test)
/** * This TimsProduct class implements the commodity interface * @author Meet Patel **/ public class TimsProduct implements Commodity { // name of the product private String name; // cost of the product private double cost; // actual price of the product private double price; ...
import { Injectable} from '@angular/core'; import { BehaviorSubject, Observable} from 'rxjs'; @Injectable() export class PageService { private isHomePage$: BehaviorSubject<Boolean>; private currentPath$: BehaviorSubject<string>; constructor() { this.isHomePage$ = new BehaviorSubject(true); ...
/** * Lists the contents on a remote FTP server. * * @param dirName the fully specified remote directory name. * * @return a directory listing for the specified FTP directory. */ public static List<String> list(String dirName) { validateRemoteFile(dirName); if (!dirName.end...
// WithCompareNumberAndNumericString configures differ to compare a number with a numeric string. // Differ parses the string to number before comparing their values. // e.g. 1.5 == "1.5" func WithCompareNumberAndNumericString() Option { return func(d *differ) { d.compareNumberAndNumericString = true } }
/** * Probabilistic Monte Carlo tree search */ public class MctsP { private static final double C_PUCT = 1.41; private Map<String, Node> tree = new HashMap<>(); private Node root; private Evaluator evaluator; public MctsP(@NonNull AssetManager assetManager) { evaluator = Evaluator.create(assetManager...
import { UnitsSystem } from './unit.system'; export interface UnitsSystems { cmkg: UnitsSystem inlb: UnitsSystem }
/* LanguageTool, a natural language style checker * Copyright (C) 2013 Stefan Lotties * * 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 2.1 of the License, or (at y...
<gh_stars>0 import type { Context } from 'koa'; import Joi from 'joi'; import { validateBody } from '../../libs/utils'; import { getManager, getRepository } from 'typeorm'; import Item from '../../entities/Item'; import Cart from '../../entities/Cart'; import loadCart from '../../libs/loadCart'; const addCart = async ...
// NewStoreSet returns a new set of stores from cluster peers and statically configured ones. func NewStoreSet( logger log.Logger, reg *prometheus.Registry, storeSpecs func() []StoreSpec, dialOpts []grpc.DialOption, unhealthyStoreTimeout time.Duration, ) *StoreSet { storeNodeConnections := prometheus.NewGauge(pro...
<filename>pkg/cve_params.go package spyse func (s *CVEService) Params() CVEParams { return CVEParams{ ID: CVEParamID{ Name: "id", Operator: CVEIDOperators{ Equal: OperatorEqual, }, }, CPE: CVEParamCPE{ Name: "cpe", Operator: CVECPEOperators{ Equal: OperatorEqual, StartsWith: Oper...
<filename>src/main/java/com/chris/bulleyeadmin/system/dto/MenuDto.java package com.chris.bulleyeadmin.system.dto; import com.chris.bulleyeadmin.system.pojo.Menu; import com.chris.bulleyeadmin.system.pojo.MenuAuth; import java.util.List; public class MenuDto extends Menu { private boolean open; private Strin...
How information heterogeneity influences traffic congestion during hurricane evacuation We investigate the effects of the amount and kind of information received by hurricane evacuees on the level of urban evacuation-induced traffic congestion. With the help of agent-based simulation driven by survey data for evacuees...
<filename>src/Generate.hs {-# LANGUAGE DeriveGeneric #-} module Generate ( universal , name ) where import Data.HashMap.Strict as HashMap import GHC.Generics import Data.Aeson import Data.Function import qualified Data.List as List import Program type Machine = HashMap State [Transition] type StateInt = Int ...
/* IMPORT */ import * as _ from 'lodash'; import * as React from 'react'; import Tags from '@renderer/utils/tags'; import TagSingle from './tag_single'; /* TAG GROUP */ const TagGroup: React.FC<any> = React.memo ( function TagGroup ({ tag, ...props }) { if ( !tag.notes.length ) return null; return ( <div ...
/** * Note: The attributes are lowerCamelCase. */ @Value public static class TestableReference { @JacksonXmlProperty(localName = "BuildableReference") BuildableReference buildableReference; @JacksonXmlProperty(isAttribute = true) public boolean getSkipped() { return false; } }
<reponame>al2698/sp<filename>10-riscv/05-nix5/03-fputs/os5/kernel/nix.h #ifndef __NIX_H__ #define __NIX_H__ #include <board.h> #include <std.h> #include <string.h> #define UART_THR (char*)(UART+0x00) // THR:transmitter holding register 傳送暫存器 #define UART_RHR (char*)(UART+0x00) // THR:transmitter holding registe...
<reponame>jinmang2/DeZero import numpy as np import dezero from dezero.core import Function, Variable, as_variable, as_array # =================================================================== # Basic functions: sin / cos / tanh / exp / log # =================================================================== class...
n = int(input()) arr = list(map(int, input().split())) odd_sum = [0] even_sum = [0] for i, val in enumerate(arr, start=1): if i % 2 == 1: # odd odd_sum.append(odd_sum[i-1] + val) even_sum.append(even_sum[-1]) else: # even even_sum.append(even_sum[-1] + val) odd...
Supply Chain Engineering in China’s Retailing Industry: A Case of Meiyijia Abstract This paper addresses the supply chain engineering and its application in China’s retailing industry. Based on the approaches of systems engineering, we propose the concept of supply chain engineering, which applies the idea of supply c...
Accuracy analysis and form-finding design of uncertain mesh reflectors based on interval force density method Mesh reflectors are uncertain structures because of the existing errors of dimension and material in the procedure of design and manufacture. These uncertainties have significant impacts on the mechanical and ...
// Resets whatever connection is associated with this ip port. void node_mgr::init(const string& ip, int32_t port) { string nip = getID(ip, port); map<string,FawnKVFrontendClient*>::iterator it = ip_fe_map.find(nip); if (it != ip_fe_map.end()) { delete (*it).second; ip_fe_map.erase(it); ...
def is_TumorInputRead1_present(self, key_value_tuples): try: tumor_input_read_1_tuple = next(pair for pair in key_value_tuples if pair[0] == "TumorInputRead1") if tumor_input_read_1_tuple[1] in ("", '""'): self.project_logger.log_debug("The TumorInputRead1 key was found, ...
<reponame>ericvh/veracruz //! The Veracruz global policy. //! //! The global policy captures important information about a Veracruz //! computation that principals need to audit before they enroll themselves in a //! computation. This includes: //! //! - The identities and roles of every principals in the computation,...
/* * Merge all buffered messages into a single buffer. * * If no message is present, both `bufferp`'s and `contextp`'s value * will be set to `NULL` and the return code will be * `RAWRTC_CODE_NO_VALUE`. * * In case all messages did not provide a buffer, `bufferp`'s value will * be set to `NULL` but `contextp`'s...
import java.util.Comparator; import java.util.Iterator; import java.util.Scanner; import java.util.TreeMap; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); TreeMap<String, TreeMap<Integer, Integer>> restaurants = new TreeMap<>(); int N = sc...
// TODO: 7/2/17 Ensure absolute consistency public class UserPrivileges { /** * A constant denoting whether the service should <em>not</em> present ads to the user */ public static final String DISABLED_ADS = "disableAds"; private static final String TAG = UserPrivileges.class.getSimpleName(); ...
n = int(input()) + 1 print(n // 36, n % 36 // 3)
/*****************************************************************************/ /** * * This function is designed to look like an interrupt handler in a device * driver. This is typically a 2nd level handler that is called from the * interrupt controller interrupt handler. This handler would typically * perform device...
Analysis and Optimization of Thermal Matching between Multi-core Connector and Encapsulated Aluminum Shell Aluminum alloy has been widely used as the encapsulated shell in power modules because of its low density and high thermal conductivity. However, the thermal mismatch happened in the junction of aluminum shell an...
package enhancedTipCalculator; import javafx.event.ActionEvent; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.NumberFormat; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene...
<reponame>tanzeelrana/Menu-App export const ENV = { production: false, parseAppId: 'menuApp', parseServerUrl: 'https://pacecouriers.com/menuApp' }
BAMMA is brought to you in Association with: Lonsdale & Sports Direct - The Official Equipment Partners of BAMMA Safe MMA - Independent British Medical Organisation January 20, 2014 - Europe's flagship Mixed Martial Arts promotion, BAMMA, is proud to announce a new television partnership with Asia's premier action e...
package com.vailsys.freeclimb.api.phoneNumber; import com.vailsys.freeclimb.api.Filters; /** * Represents the possible fields one can set as filters when searching for * incoming phone numbers. */ public class IncomingPhoneNumberSearchFilters extends Filters { /** * A PCRE compatible regular expression to...
def can_be_moderated_by(user): return user.is_active and user.is_staff and ( user.has_perm('blog.change_membership') or user.has_perm('blog.change_blog'))
<reponame>wez/mosquitto-rs //! This crate implements an async MQTT client using libmosquitto. //! //! ```no_run //! use mosquitto_rs::*; //! //! fn main() -> Result<(), Error> { //! smol::block_on(async { //! let mut client = Client::with_auto_id()?; //! let rc = client.connect( //! ...
import { createAction } from '@reduxjs/toolkit' import { PageNotificationsProps } from 'cx-portal-shared-components' import { name } from './types' const setNotification = createAction( `${name}/setNotification`, function update(notification: PageNotificationsProps) { return { payload: { notifica...
As the ambush of two police officers in Miami last week reminds us, the war on police, fomented to some extent by former President Obama and his cronies, is not over. But in the two months since President Trump took office, things are much more positive in the law enforcement community. Trump, who was unapologeticall...
def invert(a, b): return extended_euclidian_inverse(a, b)
It’s your second week in your new apartment and your bathroom light goes out. The following week, your neighbor decides to become a drummer. Then, some mice take up residency in your stove. Do you have to fight them back on your own? Or can you call on your landlord to save the day? Renting your first apartment can be...
'Summertime' plays ahead of Trump's climate announcement In this May 4, 2017, file photo, President Donald Trump claps as he arrives in the Rose Garden of the White House, Thursday, May 4, 2017, in Washington, followed by Vice President Mike Pence. (Photo11: Evan Vucci, AP) Summertime and the living is easy. Even if ...
import React, { useState, useRef, useEffect, forwardRef, useMemo, useImperativeHandle, } from 'react'; import CodeMirror from 'codemirror'; import 'codemirror/mode/meta'; import 'codemirror/addon/display/autorefresh'; import 'codemirror/addon/comment/comment'; import 'codemirror/addon/fold/foldcode'; impor...
class qc: """Wrapper class to maintain state + operators.""" def __init__(self, name=None, eager=True): self.name = name self.psi = 1.0 self.ir = ir.Ir() self.build_ir = True self.eager = eager self.global_reg = 0 class scope: """Scope object to allow grouping of gates in the output....
// function used by linear and logistic transitions AnyType __clustered_common_transition (AnyType& args, string regressionType, void (*func)( MutableClusteredState&, const MappedColumnVector&, ...
import React from "react"; import { Wizard, WizardStep, useWizard } from "../src"; import { cleanup, fireEvent, render } from "react-testing-library"; import * as routing from "../src/routing"; afterEach(cleanup); afterEach(() => (window.location.hash = "")); afterEach(() => jest.restoreAllMocks()); const TestCompone...
<gh_stars>0 import React from 'react'; import { Normalize } from 'styled-normalize'; import routes from '@src/routes'; import AppFooter from '@src/components/AppFooter'; import GlobalStyle from '@src/components/GlobalStyle'; const Application = () => ( <> <Normalize /> <GlobalStyle /> <main>{routes}</ma...
import os import tensorflow as tf import argparse from subclassed_madnet import MADNet from preprocessing import StereoDatasetCreator import matplotlib.pyplot as plt from datetime import datetime print("\nTensorFlow Version: {}".format(tf.__version__)) parser=argparse.ArgumentParser(description='Script for inferencin...
<filename>ADS/geode-core/src/main/java/org/apache/geode/distributed/internal/locks/ElderInitProcessor.java<gh_stars>1-10 /* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copy...
/** * Commands text */ import { Commands } from "../api"; export const commands: Commands = { QUICK_FIX_STABLE_ID_ERROR: { name: "ui5_lang.quick_fix_stable_id", title: "Generate an ID", }, QUICK_FIX_STABLE_ID_FILE_ERRORS: { name: "ui5_lang.quick_fix_file_stable_id", title: "Generate IDs for th...
Newfoundland and Labrador Premier Kathy Dunderdale deleted her Twitter account on Wednesday night, shortly after a report that showed she happened to be following an X-rated account that featured pornographic videos. Dunderdale said that she had not used her Twitter account for a lengthy period, and had no knowledge t...
/** * A utility class to help with building ClinicIO objects. * Example usage: <br> * {@code ClinicIo clinicIo = new ClinicIoBuilder().withPerson("John", "Doe").build();} */ public class ClinicIoBuilder { private ClinicIo clinicIo; public ClinicIoBuilder() { clinicIo = new ClinicIo(); } ...
<reponame>Revxrsal/Lamp /* * This file is part of lamp, licensed under the MIT License. * * Copyright (c) Revxrsal <<EMAIL>> * * 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 witho...
CVT: A Crowdsourcing Video Transcoding Scheme Based on Blockchain Smart Contracts Streaming media has been largely used by millions of users every day. The number of customers and programs, e.g., TV series, movies, and various shows, are still growing fast. However, the demand for video transcoding for various persona...
<gh_stars>1-10 #!/usr/bin/python # # testlib_httpd.py quality assurance test script # Copyright (C) 2008-2013 Canonical Ltd. # Author: <NAME> <<EMAIL>> # Author: <NAME> <<EMAIL>> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public Lic...
/** * Helper method to generate the tags from the response. Local cache data will be applied. * * @param response The response. * @return The tag groups. */ @NonNull private Map<String, Set<String>> generateTags(Map<String, Set<String>> requestedTags, TagGroupResponse response, long cacheTi...
#include <iostream> #include <iomanip> #include <algorithm> #include <vector> int main() { const int MAX_N = 600; int n, m; std::cin >> n >> m; struct Room { std::vector<int> next; double e = 0.0; double p = 0.0; }; Room *r = new Room[n]; int *s = new int[m]; ...
Center for Policy Research Working Paper No . 80 ESTIMATING HETEROGENEOUS PRODUCTION IN FISHERIES Stochastic production frontier models are used extensively in the agricultural and resource economics literature to estimate production functions and technical efficiency, as well as to guide policy. Traditionally these m...
import { createElement } from "react"; import { fuzzyFilter, caseInsensitiveFilter } from "@react-md/utils"; import { FilterFunction } from "../types"; import { getResultId, getResultLabel, getResultValue, getFilterFunction, noFilter, } from "../utils"; const div = createElement("div", { className: "class-n...
def modbb_disk_r(cls,name='modbb_disk_r', wavelengths=cfg.models['default_wave'], temperatures=10**np.arange(0,3,0.1), lam0=10**np.arange(1,3,0.1), beta=np.arange(0,3,0.1), write=False,overwrite=False): if w...
<reponame>FeodorVolguine/Gogaman<gh_stars>0 #pragma once #include "Gogaman/Core/CRTP.h" namespace Gogaman { namespace RHI { template<typename ImplementationType> class AbstractSampler : public CRTP<ImplementationType, AbstractSampler> { public: enum class Interpolation : uint8_t { Point, Bilin...
/** * Test that resources that generate heuristics are instrumented correctly * @throws Exception */ @Test public void testMBeanHeuristic () throws Exception { FailureXAResource failureXAResource = new FailureXAResource(FailureXAResource.FailLocation.commit); getHeuristicMBean(os...
/** * Catalog entity. @author MyEclipse Persistence Tools */ public class Catalog implements java.io.Serializable { // Fields private Integer catalogid; private String catalogname; private Set flowers = new HashSet(0); // Constructors /** default constructor */ public Catalog() { } /** full constructor ...
Global consultancy EY and New York blockchain startup Paxos have announced that they are co-developing new technology solutions for the gold market. Aimed at providing new tools for the clearing and settlement of gold transactions, the partnership will see the two firms leveraging Paxos’ blockchain-based network, Bank...
<reponame>Atos1337/HSHelper package ru.hsHelper.api.controllers; import ru.hsHelper.api.entities.Group; import ru.hsHelper.api.entities.UserGroupRole; import ru.hsHelper.api.repositories.CourseRepository; import ru.hsHelper.api.repositories.GroupRepository; import ru.hsHelper.api.repositories.PartitionRepository; impo...
How congenital Zika virus impacted my child’s functioning and disability: a Brazilian qualitative study guided by the ICF Introduction The Zika virus outbreak in Brazil has had devasting social, medical and financial consequences for families. Both researchers and clinicians are measuring longer-term outcomes to under...
<reponame>gerdreiss/sdkman-ui use std::borrow::Cow; use std::collections::HashMap; use eframe::egui::*; use image::GenericImageView; use api::local::*; use api::remote::*; const PADDING: f32 = 8.0; const WHITE: Color32 = Color32::from_rgb(255, 255, 255); const CYAN: Color32 = Color32::from_rgb(0, 255, 255); #[deriv...
To make and keep the upper stories of a tall building habitable requires routine high technology. The lifts have to work, the water needs to be pumped, the toilets have let the poop down one hundred stories without shattering violence. It is not all that expensive. Current office space costs in the centers of major cit...
<reponame>sassansh/Small-DSL package ast; public class Move extends AnimStatement { private final XyCord startPosition; private final XyCord endPosition; public Move(String objName, XyCord startPosition, XyCord endPosition, String timestamp, String duration) { this.objName = objName; thi...
package com.dimples.po; import java.io.Serializable; import lombok.Data; /** * @author zhongyj <<EMAIL>><br/> * @date 2020/5/16 */ @Data public class Drug implements Serializable { /** * 主键id */ private Long id; private String primaryId; private String caseId; private String drugS...
/** * Tests that the external task is not completed, when it should wait for a boundary event. */ @Test public void testWaitForBoundaryEvent() { assertThat(handler.isWaitingForBoundaryEvent(), is(false)); handler.waitForBoundaryEvent(); assertThat(handler.isWaitingForBoundaryEvent(), is(true)); ...
<filename>src/link/dto/linkDto.ts import { IsNotEmpty, IsString, IsUrl } from 'class-validator'; export class LinkDto { @IsString() @IsNotEmpty() slug: string; @IsUrl() @IsNotEmpty() url: string; }
<filename>src/lib.rs #![cfg_attr(not(test), no_std)] pub mod adc; pub mod ble_composer; pub mod ble_parser; pub mod buttons; pub mod console; pub mod ctap; pub mod debug; pub mod drivers; pub mod electronics; pub mod executor; pub mod futures; pub mod gpio; pub mod hmac; pub mod leds; pub mod result; pub mod rng; pub ...
This Oliva V Melanio is an incredible cigar. Easily one of my top 10 cigars that came out in 2012, even though I smoked it in 2013. This cigar packs a nice punch of pepper and spice on the palate, but is nice and soothing with the retrohale bringing out some very pleasureful floral notes that ease the burn of the spice...
<gh_stars>10-100 import { IContentType, FieldLink, FieldLinkProps } from "gd-sprest-def/lib/SP"; import { IsetContentTypeFields } from "../../../@types/helper/methods"; import { ContextInfo, Web } from "../../lib"; declare var SP; /** * Sets the field links associated with a content type. * @param ctInfo - The conte...
<gh_stars>0 import React from 'react' import { Router, RouteComponentProps } from '@reach/router' import Layout from 'components/templates/layout/layout' import SEO from 'components/templates/seo/seo' import { newsProps } from '../input/news.props' import { News } from '../components/news/postPage' import { SinglePost ...