content
stringlengths
10
4.9M
{-# LANGUAGE RebindableSyntax #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# OPTIONS_GHC -fplugin Control.Supermonad.Plugin #-} {- ****************************************************************************** * H M T C * * ...
def has_valid_operator(nodal_set, pool_set, activation_set): supported_nodal = get_default_nodal_set() supported_pool = get_default_pool_set() supported_activation = get_default_activation_set() for nodal in nodal_set: if isinstance(nodal, str): if nodal not in supported_nodal: ...
// ValidateBasic runs stateless checks on the message func (msg MsgFund) ValidateBasic() error { if !msg.Amount.IsValid() { return sdkerrors.Wrap(sdkerrors.ErrInvalidCoins, msg.Amount.String()) } if msg.Sender.Empty() { return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "sender %s", msg.Sender.String()) } if ...
<reponame>odys-z/jclient<gh_stars>0 package io.oz.album.client; import static io.oz.album.client.PrefsContentActivity.singleton; import android.app.Activity; import android.os.Bundle; import android.text.InputType; import android.util.Log; import android.widget.TextView; import androidx.annotation.NonNull; import an...
We have now reviewed the video of the Panel on the Future of Classics, which will be disseminated online today, February 14, 2019. The video makes it clear that what was said to Prof. Padilla Peralta was: “You may have got your job because you’re black, but I would prefer to think you got your job because of merit.” ...
<reponame>code-epic/gdoc export const environment = { production: true, ID : 'ID-001', Url: 'https://10.120.0.58', API: '/v1/api/', Hash: ':c521f27fb1b3311d686d511b668e5bd4' };
<reponame>sunshine98/repair package org.tysf.gt.pojo; public class TemplateData { private TemplateContent first; private TemplateContent keyword1; private TemplateContent keyword2; private TemplateContent keyword3; private TemplateContent remark; public TemplateData(TemplateContent first, TemplateContent keywor...
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010-2014, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information *...
#!/usr/bin/env python """ author: <NAME> date: Jul.26,2016, 15:04 function: a GUI for Lung Single cell tools """ #----------------------------------------------------------------------- import pdb,sys,os if sys.version_info[0]<3: import Tkinter as tk import tkFileDialog from Tkinter import * import ttk from Sc...
<gh_stars>0 #include "CmdFindNext.h" CmdFindNext::CmdFindNext(std::vector<WindowBase*>* pAllWindowsVector, TextFinder& textFinder) : CommandBase(pAllWindowsVector), m_TextFinder(textFinder) { } CmdFindNext::~CmdFindNext() { } void CmdFindNext::Execute(struct Window* pActiveWindow) { ...
/** * Represents a type-cast expression. * <pre>{@code CAST(expr AS type-name)}</pre> */ public class CastExpr implements Expr { public final Expr expr; public final Type typeName; public CastExpr(Expr expr, Type typeName) { this.expr = requireNonNull(expr); this.typeName = requireNonNull(typeName); } @Ov...
I am an assistant professor at Northeastern University focusing on data visualization. Please see my homepage or Visualization @ CCIS for more information. My research focuses on information visualization, visual analytics, and cognitive computing. In the past I've worked on improving the readability of network visual...
/** * check used columns. * * @param builder * the builder * @param method * the method * @param columnNames * the column names * @return name of column name set */ public static String generateColumnCheckSet(TypeSpec.Builder builder, SQLiteModelMethod method, Set<St...
// Check validates the request. func (r *GetWebSessionRequest) Check() error { if r.User == "" { return trace.BadParameter("user name missing") } if r.SessionID == "" { return trace.BadParameter("session ID missing") } return nil }
/** * Sorts the population based on the chromosome's comparator. * */ public void sort() { if (sorted) return; for (int n = 1; n < N; n *= 2) { for (int i = 0; i < N - n; i += n + n) { int hi = Math.min(i + n + n - 1, N - 1); for (in...
\\Algoritmo babilônico para calcular a raiz quadrada: racional raiz_quadrada (racional n) { racional suposição, resultante; suposição = n / 2; para (inteiro i = 0; i < 10; i++) { resultante = n / suposição; suposição = (suposição + resultante) / 2; } retornar suposição; }
def first_index_lt(data_list, value): try: index = next(data[0] for data in enumerate(data_list) if data[1] < value) return index except StopIteration: return - 1
<reponame>chen0040/cpp-steering-behaviors<gh_stars>1-10 #ifndef _H_GL_STATE_WANDER_H #define _H_GL_STATE_WANDER_H #include "GLState.h" class GLState_Wander : public GLState { public: virtual ~GLState_Wander(); static GLState_Wander* Instance(); private: GLState_Wander(); GLState_Wander(const GLState_Wander& rhs)...
<reponame>embeddery/stackrox<gh_stars>10-100 package blevesearch import "fmt" // ToMapKeyPath takes a path and generates a map key path func ToMapKeyPath(path string) string { return fmt.Sprintf("%s.keypair.key", path) } // ToMapValuePath takes a path and generated a map value path func ToMapValuePath(path string) ...
def y_on_ledger(self, pos_y): return (self.y_outside_staff(pos_y) and self.unit(pos_y).value % 1 == 0)
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class ColorfulField { public static void main(String[] args) throws IOException { BufferedReader scan = new BufferedReader(new InputStreamReader(System.in)); String ...
/** * Test the valifity if a property value * * @param test posdsibly null value to test * @return */ public static boolean validProperty(Object test) { if (test == null) return (false); if (test instanceof String) { return (!Util.isEmptyString((Strin...
<gh_stars>0 /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.1. You may not use t...
/** * Adds a group to the {@link ASIOController}, for the level of the group to be * calculated by the controller * * @param group The group to add to the list of groups */ public void addGroup(final Group group) { if (!groupList.contains(group)) { LOG.info("Group " + group.getName() + " added"); gro...
<reponame>TanXN/2019SE_work<gh_stars>0 package com.example.springdemo2; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; impo...
(UPDATED) A grandson of the author of the 'Conjugal Dictatorship' calls on the youth to fight historical revisionism Published 9:00 AM, February 14, 2017 MANILA, Philippines (UPDATED) – Months have passed since former president Ferdinand Marcos was buried at the Heroes' Cemetery, but the opposition against it remains...
import io import os from collections import Counter, defaultdict, deque def makeRepeat(arr): repeat = [[arr[0], 0]] for x in arr: if x == repeat[-1][0]: repeat[-1][1] += 1 else: repeat.append([x, 1]) return repeat def solve(N, K, S): if all(x == "L" for x in ...
<filename>backend/config/config.go package config // Config defines the configuration structure. type Config struct { General struct { LogLevel int `mapstructure:"log_level"` LogToSyslog bool `mapstructure:"log_to_syslog"` PoolSize int `mapstructure:"sensor_data_pool_size"`...
A survey of physician practices on the inpatient medical stabilization of patients with avoidant/restrictive food intake disorder Background Avoidant/restrictive food intake disorder (ARFID) was added to the Diagnostic and Statistical Manual of Mental Disorders Fifth Edition in 2013. ARFID can result in impaired growt...
<reponame>zyndor/dali-toolkit<gh_stars>0 /* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * 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/LICENS...
<reponame>chantelle-lingerie/sales import { documents as __, minusPrice, addPrices, Total, Shipping, ItemTotal, ItemQty, Items, Price } from '../index' import { deepFreeze } from './deepFreeze' describe('Documents', () => { const _ = { total: <T extends Total>(documents: T[]) => __.total(deepFreeze(documen...
/** * @brief Returns the next data available from an iterator * * Returns the next data available from an iterator * * @param[in] iter a pointer to the iterator * * @return a pointer to the next label * */ zdb_rr_label* zdb_zone_label_iterator_ex_next(zdb_zone_label_iterator_ex* iter) { zdb_rr_label *ret; ...
import * as pagerduty from '@pulumi/pagerduty' import * as pulumi from '@pulumi/pulumi' const config = new pulumi.Config('wanews:pagerduty') const scheduleName = config.get('schedule') ?? 'Weekly DevOps' const teamName = config.get('team') ?? 'Production Engineering' const escalationPolicyName = config.get('escalation...
President Obama is a big fan of the way the Miami Heat run a break, but when the postseason dictates more half-court sets, Obama believes the Chicago Bulls will have a chance. "(Luol) Deng seems more confident," Obama said in an exclusive interview with Grantland.com's Bill Simmons. "(Carlos) Boozer is in better shape...
// GetLoggingResources returns the logging config and log-based metric configurations func (c *Client) GetLoggingResources() error { defer utils.Elapsed("GetLoggingResources")() worker := func(projectIDs <-chan string, results chan<- loggingClientResult) { id := <-projectIDs parent := fmt.Sprintf("projects/%s", i...
package com.proxy.server.handler; import com.proxy.common.entity.server.ClientNode; import com.proxy.common.entity.server.ProxyChannel; import com.proxy.common.entity.server.ProxyRealServer; import com.proxy.common.protocol.CommonConstant; import com.proxy.common.protocol.Message; import com.proxy.server.service.Serv...
<filename>src/extension.ts import * as vscode from 'vscode'; import { readdirSync } from 'fs'; import { join } from 'path'; export const activate = (context: vscode.ExtensionContext) => { deactivate(context); readdirSync( join(__dirname, './commands') ) .filter((commandFile) => !commandFile.includes('.map')) ...
/* * Copyright (C) 2017-2019 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ import { Feature, FeatureCollection, FeatureGeometry } from "@here/harp-datasource-protocol"; import { GeoJsonDataProvider } from "@here/harp-geojson-datasource"; import {...
//Import the sounds for in game events such as collisions, flapping the bird's wings, and also dying public void importsounds() throws LineUnavailableException, IOException, UnsupportedAudioFileException{ audioInputStream = AudioSystem.getAudioInputStream(new File("Resources/Audio/Wav-format-high-quality/hit...
<filename>src/options/NodeListOptions.d.ts import { ListOptions } from './ListOptions'; import { NodeEmbedField } from './NodeEmbedField'; export type NodeSortField = 'created' | 'modified' | 'names' | '-created' | '-modified' | '-names'; export interface NodeListOptions extends ListOptions { readonly embed?: Reado...
<reponame>nattimmis/Archideus package com.jpaulmorrison.graphics; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.GeneralPath; public class FileBlock extends Block { FileBlock(Diagram ctlr) { super(ctlr); type = Block.Types.FILE_BLOCK; width = 64; height = 72; //calcEdges(); } ...
<filename>src/infrastructure/persistence/mod.rs use std::env; use diesel::mysql::MysqlConnection; use diesel::{Connection}; pub mod task; pub fn connect() -> MysqlConnection { let database_url = env::var("DATABASE_URL"). expect("DATABASE_URL must be set"); MysqlConnection::establish(&database_url)....
#ifndef SRC_PIPELINE_STAGE_H_ #define SRC_PIPELINE_STAGE_H_ #include <queue> #include "utils.h" #include "instruction.h" class PipelineStage { std::string name; std::vector<Instruction*> queue; uint32_t width; public: PipelineStage(std::string name, uint32_t width); virtual ~PipelineStage(); bool push(Instruc...
/** * Created by Willa aka Baba Imu on 2/1/18. */ @Handler(supports = { AdministeredVaccine.class }, order = 10) public class AdministeredVaccineValidator extends BaseCustomizableValidator implements Validator { @Override public boolean supports(Class<?> aClass) { return AdministeredVaccine.class.isAssignableFr...
<filename>util/unmarshal.go<gh_stars>0 package util import ( "encoding/json" "errors" "fmt" "io/ioutil" "path/filepath" "gopkg.in/yaml.v2" ) func MarshalIndentToFile(p string, v interface{}, prefix, indent string) error { wrapErr := func(err error) error { return fmt.Errorf("marshal error: %w", err) } if...
import { Meta, Story } from '@storybook/react' import { format } from 'date-fns' import React, { ComponentProps } from 'react' import LineChart from '..' import { lineChartData, lineChartHoursData, lineChartMultipleData, } from './mockData' export default { component: LineChart, title: 'Components/Data Displ...
/** * Class for holding a space indentation as used at the beginning * of the line when writing in pretty print mode to disk file. * * @author <a href="mailto:info@petroware.no">Petroware AS</a> */ private final static class Indentation { /** Number of characters for the indentation. [0,&gt;. */ ...
class Settings: """Settings class that can be accessed using either dict notation (settings.get('abc')) or dot notation (settings.snowflake.password). Reads from toml file and requires a table/section called 'default', along with a table/section for each environment, e.g. [local], [dev], [prod]. Support...
<reponame>raydan4/grr # Lint as: python3 # -*- encoding: utf-8 -*- """Tests for JSON instant output plugin.""" import os import zipfile from absl import app import json from grr_response_core.lib.rdfvalues import client as rdf_client from grr_response_core.lib.rdfvalues import client_fs as rdf_client_fs from grr_res...
<reponame>huangxinping/AccessoriesComponents // // AppKeFuLib.h // AppKeFuLib // // Created by jack on 14-5-18. // Copyright (c) 2014年 <EMAIL>. All rights reserved. // #import <Foundation/Foundation.h> //登录成功通知 #define APPKEFU_LOGIN_SUCCEED_NOTIFICATION @"appkefu_login_succeed_notification" //客服工作组在线状态 ...
ORLANDO, Fla. - A man accused of stabbing a passenger as he got off of a Lynx bus in south Orlando on Wednesday made a memorable first court appearance at the Orange County Jail on Thursday. [RELATED: Suspect held at gunpoint by good Samaritans] Thomas Thorpe, 51, appeared before a judge and refused to have a lawyer ...
Sandwiches de miga are popular food items in Argentina, Chile and Uruguay, where they are consumed mainly at parties.[1] The sandwiches de miga are similar to the English cucumber sandwich, which is a typical tea-time food, and resembles the Italian tramezzino. The Academia Argentina de Gastronomia suggests that the s...
<gh_stars>1-10 package Done; public class Container { private int x1; private int y1; private int x2; private int y2; public Container(int x, int y,int width, int height) { this.x1 = x; this.y1= y; x2=x1+width-1; y2=y1+height-1; } public int getX(){ ...
<reponame>RadicalZephyr/relm<gh_stars>1000+ use crate::gui::person_list_box::{PersonListBox, PersonListBoxMsg}; use crate::model::Person; use gtk::prelude::*; use gtk::Orientation; use relm::{Relm, StreamHandle, Widget}; use relm_derive::{widget, Msg}; #[derive(Msg)] pub enum WinMsg { /// Create a new person. Thi...
The applicability of furfuryl-gelatin as a novel bioink for tissue engineering applications. Three-dimensional bioprinting is an innovative technique in tissue engineering, to create layer-by-layer structures, required for mimicking body tissues. However, synthetic bioinks do not generally possess high printability an...
<filename>src/matrix/m4.rs<gh_stars>0 use crate::float::Float; use crate::matrix::{FloatMatrix, FromVectors, IntoVectors, Matrix, M4}; use crate::numeric::Numeric; use crate::vector::{Vector, V4}; use std::ops::{Add, Deref, DerefMut, Div, Mul, Sub}; impl<T> Deref for M4<T> where T: Numeric, { type Target = [[T...
def _ConfigureLogging(): logging_format = '%(message)s' logging.basicConfig( stream=logging.sys.stdout, level=logging.INFO, format=logging_format)
from NIM.algorithms.algorithm import Algorithm, Ackley from numpy import asarray, zeros, full, inf, apply_along_axis, where, round, concatenate, fabs, exp, cos, pi, argsort, append, argmin import logging logging.basicConfig() logger = logging.getLogger('MFO') logger.setLevel('INFO') class MothFlameOptimization(Algor...
// Begin begins a transaction, and returns the associated transaction id and // the statements (if any) executed to initiate the transaction. In autocommit // mode the statement will be "". // // Subsequent statements can access the connection through the transaction id. func (axp *TxPool) Begin(ctx context.Context, op...
LONDON (Reuters) - The Baghdad bureau chief for Reuters has left Iraq after he was threatened on Facebook and denounced by a Shi’ite paramilitary group’s satellite news channel in reaction to a Reuters report last week that detailed lynching and looting in the city of Tikrit. The threats against journalist Ned Parker ...
async def cmd_remove(self, ctx: commands.Context, *, cmd_or_cog: CommandOrCogConverter): cmd = cmd_or_cog.qualified_name is_cog = isinstance(cmd_or_cog, commands.Cog) key = "cog" if is_cog else "command" async with getattr(self.config, f"{key}s")() as cmds: if cmd not in cmds...
export * from './caching' export * from './interfaces' export * from './testing' export * from './themes' export * from './util' export * from './uuid'
//===- DisassemblerEmitter.cpp - Generate a disassembler ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
// WithReasonHandler configure a reason handler func WithReasonHandler(reasonHandler ReasonHandler) DispatcherOption { return func(dispatcher *Dispatcher) { dispatcher.reasonHandler = reasonHandler } }
<reponame>wylwq/store-server package com.ly.storeserver.admin.models.request; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.Max; import javax.validation.constraints.Min; /** * @Description: * @Author ly * @Date 2020/4/23 23:29 * @Version V1.0.0 **/ @Data...
def sleep_and_restart_diamond(ctx): ctx.logger.info('Foo')
module RandomSupply where import Supply import System.Random (split, randoms, getStdRandom, Random) randomsIO :: Random a => IO [a] randomsIO = getStdRandom $ \g -> let (a, b) = split g in (randoms a, b) -- (fst . runSupply Supply.next) `fmap` randomsIO
// MustValidate validates the environment and panics on any validation error func (e *AssertedEnvironment) MustValidate() { if err := validate(e.config, e.opts.Getenv); err != nil { panic(err) } }
// WithMinimumLevel set minimum level to be logged. Logger will always log level >= minimum level. // // Options: LevelTrace < LevelDebug < LevelInfo < LevelError < LevelImportantInfo // // Default: LevelDebug func WithMinimumLevel(lvl Level) Option { return func(opt *options) { opt.minimumLogLevel = lvl } }
def main(): n, m = (int(x) for x in input().split()) a = [int(x) for x in input().split()] th = sum(a) / (4 * m) a_ = [0 if x < th else 1 for x in a] print(["Yes", "No"][not m <= sum(a_)]) if __name__ == "__main__": main()
def exec_stmt(self, db, sql, args): self.log.debug("exec_stmt: %s" % skytools.quote_statement(sql, args)) curs = db.cursor() curs.execute(sql, args) db.commit()
// MustNewTipSet makes a new tipset or panics trying. func MustNewTipSet(blks ...*types.Block) types.TipSet { ts, err := types.NewTipSet(blks...) if err != nil { panic(err) } return ts }
<filename>Excercises/tesla_input_excercise.py #!/usr/local/bin/python3 def checkDriverAge(age=0): # if not age: # age = int(input('What is your age?: ')) if int(age) < 18: print('Sorry, you are too young to drive this car ' 'Powering off!') elif int(age) > 18: print('...
The casual racism of our most popular dating apps Sites like Tinder and Grindr are littered with racial preferences and worse. Why are we so ready to let them slide? If you don’t have enough jerks in your life, sign up for an online dating app. It will only be a matter of time before you encounter some spectacularly o...
<reponame>anuraganand789/ce<gh_stars>0 /* * Copyright (c) 2020 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE I...
<filename>src/main/java/io/github/aquerr/pandobot/commands/HelpCommand.java package io.github.aquerr.pandobot.commands; import io.github.aquerr.pandobot.PandoBot; import io.github.aquerr.pandobot.annotations.BotCommand; import io.github.aquerr.pandobot.entities.VTEAMRoles; import net.dv8tion.jda.core.EmbedBuilder; imp...
/** * A Tag Action allows a user to tag a build. Repo doesn't support a solid tag method, so right now we just display the static * manifest information needed to recreate the exact state of the repository when the build was ran. */ @ExportedBean(defaultVisibility = 999) public class SCMTagAction extends AbstractScm...
/** * Recovers all previously delivered but not acknowledged messages. * * @throws Exception if an error occurs while performing the recover. */ public void recover() throws Exception { LOG.debug("Session Recover for consumer: {}", getResourceInfo().getId()); ArrayList<JmsInboundMess...
<filename>ron/test/meta.cc #include <iostream> #include <cassert> #include "../ron.hpp" #define DEBUG 1 using namespace ron; using namespace std; typedef TextFrame Frame; typedef Frame::Cursor Cursor; typedef Frame::Builder Builder; void test_simple_meta () { string chain = "@1gN97b+gritzko :lww! 'key' 'value'";...
/** * To be used when dealing with a 'JOIN' secondary index type */ public class AccumuloSecondaryIndexJoinEntryIteratorWrapper<T> extends SecondaryIndexEntryIteratorWrapper<T, Pair<ByteArrayId, ByteArrayId>> { private final static Logger LOGGER = LoggerFactory.getLogger(AccumuloSecondaryIndexJoinEntryIteratorWrap...
package generate const appTemplate = `package {{packageName}} import ( "github.com/gin-gonic/gin" "net/http" "time" ) func DemoAppCreate(c *gin.Context) { data := gin.H{ "title": "create", "nowDate": time.Now().Format("2006-03-01 00:00:00"), "content": "POST请求演示", } c.HTML(http.StatusOK, "default/demo/c...
/** * Class ItemTypePredicate identifies and returns the class that should be used * to decrypt the json rule as this has been given from the json file * * @author nikolaos.papageorgiou * */ public class ItemTypePredicate extends RuntimeTypeAdapterPredicate { public ItemTypePredicate() { } @Override public...
Thoraco-abdominal bypass as a method of evaluating vascular grafts in the dog. Seven Vasculour d grafts, five Gore-Tex grafts and seven Solco-graft, 8 mm by 30 cm, implanted as thoraco-abdominal bypasses in dogs. Sixteen were retrieve at two months. Graft size was assessed angiographically in representative dogs of ea...
#pragma once #include <cstdlib> #include <iostream> #include <boost/asio.hpp> #include "Logger.hpp" class UdpEndpoint : public boost::asio::ip::udp::endpoint { }; class UdpServer { public: UdpServer(boost::asio::io_service& io_context, short port) : socket_(io_context, boost::asio::ip::udp::endpoint(bo...
Schumer: Senate would not override a Keystone veto A top Senate Democrat predicted on Sunday that Republicans will not attract enough Democratic votes to override any veto by President Barack Obama of legislation to approve the Keystone XL pipeline. The pipeline is expected to be one of the early tests for the new Re...
def forward_pass_on_convolutions(self, x): conv_output = None if self.type == 0: x = self.model.module.main.features(x) x = F.relu(x) elif self.type == 1: x = self.model.main.features(x) elif self.type == 3: x = self.model.module.main.featu...
/* Copyright 2016 kanreisa 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 ...
<gh_stars>0 import { LoginComponent } from './components/user-login/login.component'; import { PasswordResetComponent } from './components/password-reset/password-reset.component'; import { ForgetPasswordComponent } from './components/forget-password/forget-password.component'; import { InputTextModule, TooltipModule, ...
def client(api_client): return api_client(disable_retry_status_list={503, 404})
/// Converters: build symbols and expressions from Builtins impl BuiltinFn { pub fn as_symbol(&self) -> Symbol { Symbol::builtin_function(&self.to_string(), self.param_types(), self.return_type()) } pub fn as_expr(&self) -> Expr { self.as_symbol().to_expr() } pub fn call(&self, arg...
package com.xiaoxin.notes.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xiaoxin.notes.entity.AdpicEntity; import org.apache.ibatis.annotations.Mapper; /** * * * @date 2021-01-13 14:01:44 */ @Mapper public interface AdpicDao extends BaseMapper<AdpicEntity> { }
class SMPPParameters: """PDU generating class""" # A list of mandatory parameters and their initial values: system_id="" password="" system_type="ESME" service_type="" interface_version=0x34 address=SMPPAddress("") source=SMPPAddress("") destination=SMPPAddress("") esm_class=0 protocol_id=0 priority_flag=0...
<gh_stars>0 from .getmyip import getMyIP, find_ip_url
#![deny(missing_docs)] //! # Per-core variable support //! //! This module defines macros for declaring per-core variables. A new variable //! can be declared with `declare_per_core!` and can be accessed with `get_per_core!` //! and `get_per_core_mut!`. These access methods must not be used prior to the //! invocation...
<filename>Applications/AppStore/_TtC8AppStoreP33_2321883E200C83810FD0FF7714F2A68F12FilterButton.h // // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import <UIKit/UIButton.h> @interface _TtC8AppStoreP33...
// NewCmdSubmitUpgradeProposal implements a command handler for submitting a software upgrade proposal transaction. func NewCmdSubmitUpgradeProposal() *gcli.Command { cmd := &gcli.Command{ Name: "software-upgrade", Desc: "Submit a software upgrade proposal", Help: "Submit a software upgrade along with an initial...
Ethics of sham surgery: Perspective of patients Sham surgery is used as a control condition in neurosurgical clinical trials in Parkinson's disease (PD) but remains controversial. This study aimed to assess the perspective of patients with PD and the general public on the use of sham surgery controls. We surveyed cons...
def response(self): try: return self._response except AttributeError: pass self._response = requests.get(self.url) return self._response
Last week, the Red Sox announced that they would be retiring Wade Boggs’ number 26. This will be the 9th retired number in the Red Sox organization (10 if you include the league-wide retirement of Jackie Robinson’s #42), and the 5th retirement since 2000. With that, two questions are begged: 1) Are MLB teams retiring n...
def is_valid_id(self, gene_id: str) -> bool: return gene_id in self.gene_dict