content
stringlengths
10
4.9M
// DeleteWorkload removes workload from db func (b *BoltDB) DeleteWorkload(w *workload.RDTWorkLoad) error { return b.session.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte(WorkloadTableName)) return b.Delete([]byte(w.ID)) }) }
// Unmarshal takes an interface{} representing the configuration and parses it // to populate a Config struct // // The interface{} is expected to be a map[string]interface{}, such as those // created when calling Unmarshal([]byte, interface) by passing a pointer to // the interface as the second argument. This makes i...
A preliminary study of the ocular hypotensive effects of bromocriptine in diabetic patients with autonomic neuropathy. The effect of bromocriptine on intraocular pressure has been investigated in a group of 8 diabetic patients with autonomic neuropathy, to test the hypothesis that bromocriptine exerts its ocular hypot...
import { Message, MessageEmbed, ColorResolvable } from "discord.js"; import config from "../../config.json"; const properties = { name: "coinflip", description: "Test your luck & flip a coin!", args: [] }; const run = (message: Message): Promise<void> => { const chance = Math.random(); const embed: MessageEmbed...
// +build integration package braintree import ( "context" "testing" ) func TestDiscounts(t *testing.T) { t.Parallel() ctx := context.Background() discounts, err := testGateway.Discount().All(ctx) if err != nil { t.Error(err) } else if len(discounts) != 1 { t.Fatalf("expected to retrieve 1 discount, re...
Organization Name : Imagination Foundation Website : imagination.is Indicator Please select the one indicator that is most relevant to your project or organization: Education What is your idea and how will it impact your indicator? : 10,000 children in Los Angeles will start their 2013 school year by particip...
<filename>testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/handling/TestApexSamplePolicyCreateModelFiles.java<gh_stars>1-10 /*- * ============LICENSE_START======================================================= * Copyright (C) 2016-2018 Ericsson. All...
<reponame>LiuLeif/onnc //===- X86ComputeVisitor.cpp ----------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include "X86ComputeVisitor.h" using namespac...
Recently I saw Stuart Gordon’s play Taste, which was inspired by a real life incidence of cannibalism. “It is amazing to me that there is so much about cannibalism in the papers these days,” Gordon told me after the performance, “and when we first announced that we were going to do this the response to it was bigger t...
/** * This object represents information about an order. * * @author Michi Palazzo */ public class OrderInfo implements TelegramObject { static final String NAME_FIELD = "name"; static final String PHONE_NUMBER_FIELD = "phone_number"; static final String EMAIL_FIELD = "email"; static final String SHIPPIN...
Weeks after a 1-year-old Oregon boy was allegedly assaulted by his babysitter, a twist in the case has spurred the toddler’s parents to use social media in their search for justice. Jacob Marbury’s mother and father, Alicia Quinney and Joshua Marbury, left him in the care of a family friend for about two hours in Marc...
Synthesis and characterization of highly photoresponsive fullerenyl dyads with a close chromophore antenna-C(60) contact and effective photodynamic potential. We report the synthesis of a new class of photoresponsive C(60)-DCE-diphenylaminofluorene nanostructures and their intramolecular photoinduced energy and electr...
/** * Add a new bandwidth measurement record if none exists, otherwise it just increments the number * of bytes. * * @param type PRESENTATION, CHANNEL or USER * @param date date of the measurement * @param id id of the object * @param bytes number of bytes measured */ @GuardedBy("MongoDB a...
/** * An internal interface to {@link WipBackend} implementation. */ public abstract class WipBackendBase implements WipBackend { private final String id; private final String description; public WipBackendBase(String id, String description) { this.id = id; this.description = description; } @Overr...
<filename>core/arch/arm/plat-rcar/hw_rng.c // SPDX-License-Identifier: BSD-2-Clause /* Copyright (c) 2021, EPAM Systems. All rights reserved. */ #include <assert.h> #include <kernel/panic.h> #include <kernel/spinlock.h> #include <platform_config.h> #include <rng_support.h> #include <trace.h> #include "romapi.h" #def...
from ast import Assert from random import random import unittest from datetime import datetime, date, time from src.typetwo import * class TestIsoJson(unittest.TestCase): def test_loads(self): data = '{"datetime": "0001-01-01T00:00:00", "date": "0001-01-01", "time": "00:00:00"}' actual = IsoJs...
/** * Tear down the JADE container * * @throws Exception */ @After public void tearDown() throws Exception { this.launchUtil.stopSystem(); } } Runtime runtime = Runtime.instance(); runtime.shutDown(); } } this.launchUtil.shutDownJadeGateway(); }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.postgresqlflexibleserver.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.resourcemanager.postgresqlflex...
#include<stdio.h> #include<string.h> int main() {char line[102]; gets(line); int uc,lc,i,l=strlen(line); lc=0;uc=0; for(i=0;i<l;i++) {if((line[i]>=65)&&(line[i]<=90)) uc++; else if((line[i]>=97)&&(line[i]<=122)) lc++; } if(lc>=uc) for(i=0;i<l;i++) printf("%c",tolower(line[i])); else for(i=0;i<l;i++) p...
Photo: Tobias Schwarz/ AFP/ Getty Images. The more time goes by, the more plausible it becomes that the UK may never actually leave the European Union. Leaving the EU is so difficult, and the consequences are so economically damaging, that it may be easier for prime minister Theresa May’s government to endlessly dela...
// GetServiceNetworkConfig implements the LocalStage interface. func (s *localStageImpl) GetServiceNetworkConfig() map[string]*dctypes.ServiceNetworkConfig { return map[string]*dctypes.ServiceNetworkConfig{ s.cfg.App.GetConfig().Name: {}, } }
// Parse PB Query string to Phal DB Path ::util::StatusOr<PathQuery> ParseQuery(const std::string& query) { PathQuery path_query; std::vector<std::string> query_fields = absl::StrSplit(query, "/" ); CHECK(query_fields.size() != 0) << "Invalid query string"; bool use_terminal_group = false; if (query_fie...
May 5, 2016 by Alexander Panetta, The Canadian Press WASHINGTON—The very first words out of Donald Trump’s mouth in the unofficial commencement of hostilities in the 2016 U.S. general election included a salvo pointed at a trade deal involving Canada. It’s on. The presumptive Republican nominee had just dispatched ...
/* Update and reload or commit and/or backup metadata for @lv as requested by @mr */ static int _commit_reload(struct logical_volume *lv, uint32_t mr) { if (mr & MR_RELOAD) { if (!lv_update_and_reload(lv)) return_0; } else if ((mr & MR_COMMIT) && !_vg_write_commit(lv, NULL)) return 0; return 1; }
def FindClusterPair(self, clusterPairID=0, clusterPairUUID=None, remoteClusterMVIP=None, remoteClusterName=None): return SFClusterPair.Find(self.mvip, self.username, self.password, clusterPairID, clusterPairUUID, remoteClusterMVIP, remoteClusterName)
export * from './app/navigation.component'; export * from './app/app.component'; export * from './app/alert.component'; export * from './app/page-not-found.component'; export * from './home/home.component'; export * from './home/work/work.component'; export * from './projects/inventory.component';
Jun 15, 2013; Winnipeg, MB, Canada; Roy Nelson before fights Stipe Miocic (not pictured) during their Heavyweight bout at UFC 161 at MTS Centre. Mandatory Credit: Tom Szczerbowski-USA TODAY Sports UFC Heavyweight, Roy Nelson, does not have the greatest relationship with UFC president Dana White. On multiple separate o...
Challenges and Opportunities for Non-Tenure-Track Faculty during the Time of COVID-19 Author(s): Jayaram, Kiran; Pajunen, Matthew; Garcia, Chad; Nunez, Neudy Carolina; Smith, Jae-Anne | Abstract: In Spring 2020, the COVID-19 pandemic forced university instructors across the United States to confront the daunting task ...
Resolving discordant samples in clinical laboratory practice. T he growing importance of the clinical laboratory in patient healthcare is evident from the fact that about 70% of medical decisions are now based on laboratory test results.1 The role of the clinical laboratory, aided by advances in analytical science and...
NEWARK — FBI agents are awaiting a Newark-bound United Airlines flight from Hong Kong, after an apparently distraught passenger claimed everyone on board had been poisoned. The flight was not diverted, but reports indicated the individual had been restrained. An FBI spokesman in Newark said initial reports were that ...
def f(num): if num % 2 == 0: return num // 2 elif num % 3 == 0: return (2 * num) // 3 elif num % 5 == 0: return (4 * num) // 5 else: return num for i in range(int(input())): n = int(input()) isum = 0 q = f(n) while n != q: n = q q = f(n) ...
/** * Save the UUID to a NBT tag * * @param tag The tag to save to */ public void save(NBTTagCompound tag) { tag.setLong(MSB, uuid.getMostSignificantBits()); tag.setLong(LSB, uuid.getLeastSignificantBits()); if (id != null) { tag.setInteger(ID, id); } else { tag.removeTag(ID); } }
<filename>src/modules/uavcan/libuavcan/libuavcan/include/uavcan/protocol/dynamic_node_id_server/storage_marshaller.hpp /* * Copyright (C) 2015 <NAME> <<EMAIL>> */ #ifndef UAVCAN_PROTOCOL_DYNAMIC_NODE_ID_SERVER_STORAGE_MARSHALLER_HPP_INCLUDED #define UAVCAN_PROTOCOL_DYNAMIC_NODE_ID_SERVER_STORAGE_MARSHALLER_HPP_INCLU...
/// helper function run on each core to save edges stored as ASCII tab-delimited pairs void local_save_tsv( const char * filename, Grappa::TupleGraph::Edge * local_ptr, Grappa::TupleGraph::Edge * local_end ) { Int32Edge * local_save_ptr = reinterpret_cast<Int32Edge*>(local_pt...
<gh_stars>10-100 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 // protoc v3.12.0 // source: core/contract/exchange_contract.proto package contract import ( proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" proto...
/** * _base_sas_log_info - verbose translation of firmware log info * @ioc: per adapter object * @log_info: log info */ static void _base_sas_log_info(struct MPT3SAS_ADAPTER *ioc , u32 log_info) { union loginfo_type { u32 loginfo; struct { u32 subcode:16; u32 code:8; u32 originator:4; u32 bus_type:...
<filename>packages/api-service/src/constants.ts export const MaxFilesPerDocument = 10 export const MaxDocumentsPerUser = 100 export const MaxDelegatesPerAccount = 10 export const AccountDelegateInvitationValidDays = 14 export const MaxFileSize = 10000000 export const MaxIndividualEmailAddressesPerCollection = 10 ...
For the past 30 years, Jimmy Carter has waged war on the Guinea worm, a parasite that infects people who drink water contaminated with its larvae. Carter’s first encounter with the worm was in the late 1980s during a trip to a small village in Ghana, where more than two-thirds of inhabitants were infected. “I saw a yo...
package main import ( "bytes" "crypto/rand" "flag" "fmt" "io" "io/ioutil" "os" "sort" "strings" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" ) const ( opRead = "Read" opWrite = "Write...
<filename>hearth-core/src/main/java/cn/eiden/hsm/game/ManaCrystal.java package cn.eiden.hsm.game; import cn.eiden.hsm.game.card.Card; import lombok.Getter; /** * @author <NAME> * @date 2020/3/17 19:09 */ @Getter public class ManaCrystal extends AbstractGeneralItem implements Cloneable{ /** * 上限 */ ...
A new study has found college students who play action video games like Call of Duty could also be more capable of following through on suicidal thoughts. Unfortunately, the study leaves many important questions unanswered. The research was based on a psychological concept known as acquired capability for suicide (ACS...
<gh_stars>10-100 package org.stjs.javascript; import static org.junit.Assert.assertEquals; import org.junit.Test; //============================================ //Tests section 15.4.4.13 of the ECMA-262 Spec //============================================ public class ArrayUnshiftTest { @Test public void testUnsh...
<reponame>AkmalArtikov/deaf /** * Copyright 2015 YA LLC * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless requi...
package guiutil import ( "strconv" "time" "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/widget" "github.com/pilinsin/util" ) type TimeSelect struct { Y *widget.Select M *widget.Select D *widget.Select h *widget.Select m *widget.Select } func lastDay(year, month string) int { t, _ := ti...
def testGetTabRect(self): for i, _ in enumerate(self.rects): self.assertEquals(self.ctrl.GetTabRect(i), self.rects[i]) self.assertRaises(IndexError, self.ctrl.GetTabRect, 99)
package com.google.android.gms.internal.ads; public final class zzctn implements zzdti<zzctl> { /* renamed from: a */ private final zzdtu<zzbbl> f27364a; /* renamed from: b */ private final zzdtu<zzcxk> f27365b; private zzctn(zzdtu<zzbbl> zzdtu, zzdtu<zzcxk> zzdtu2) { this.f27364a = zzdt...
A woman being taken to hospital on Monday. (Source: Express photo) As the death toll rose to 12 on Tuesday, three days after the sterilisation camp organised by the state government in Takhatpur block of Bilaspur district on Saturday, enquiries revealed that besides medical negligence, guidelines and procedures outlin...
Get the biggest daily news stories by email Subscribe Thank you for subscribing We have more newsletters Show me See our privacy notice Could not subscribe, try again later Invalid Email A judge stunned a courtroom by using the C-word as she jailed a racist thug. Vile John Hennigan, 50, was being sentenced by Judge P...
<filename>lib/am335x_sdk/ti/board/src/evmDRA75x/pinmux/evmDRA7xx_pinmux.c /** * @file evmDRA7xx_pinmux.c * * @brief * This is the pin configuration for evmDRA7xx. * * \par * ============================================================================ * @n (C) Copyright 2018, Texas Instruments, In...
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
// Use the graphicContext polygon support to draw a huge arrow on the screen at the given position. private void drawTriangle() { graphicsContext.setFill(Color.BLACK); Point2D[] triangle = buildTriangle(trianglePosition.getX(), trianglePosition.getY(), 720 / 2); if(trianglePosition.getX() > 0) {...
import { Injectable, OnInit } from "@angular/core"; import { CarTypeEnum } from "./car-type.enum"; import { ToyotaAvanza, ToyotaCamry, ToyotaCorollaAltis, ToyotaCorollaCross, ToyotaFortuner, ToyotaHilux, ToyotaInnova, ToyotaLandCruiser, ToyotaLandCruiserPrado, ToyotaRush, ToyotaVios, ToyotaWigo,...
<reponame>zachbateman/evogression import unittest import sys sys.path.insert(1, '..') import evogression from test_data import linear_data import matplotlib import matplotlib.pyplot as plt class TestGroupComposite(unittest.TestCase): def test_evolution_group(self): group = evogression.evolution_group('y',...
<reponame>TivonJJ/umi-plugin-better-theme import type * as React from 'react'; export interface FieldNames { value?: string; label?: string; children?: string; } export declare type CascaderValueType = React.Key[]; export interface DataNode { label: React.ReactNode; /** Customize hover title */ ...
/** * Deletes the job corresponding to the given Id. * * @param jobId ID of the importer to delete * @return 200 if importer deleted */ @DELETE @Path("/{jobId}") @Produces({"application/json"}) public Response deleteJobWithDeleteVerb(@PathParam("jobId") @ApiParam("ID of the importer to delete") Long jobId)...
Turkey in the UN Security Council during the Cold War: elections, voting motivations and alliance commitments Abstract Turkey served for five years in the UN Security Council during the early Cold War period. Throughout its service, first in 1951–1952, then in 1954–1955, finally in 1961, Turkey joined 201 voting sessi...
<reponame>KunalKavthekar/Biker-s-Portal from django.db import models from django.contrib.auth.models import User # Create your models here. class ToDoList(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE, related_name="todolist", null=True) name = models.CharField(max_length=200) src = models...
<reponame>krapnikkk/FairyGUI-createjs-example import * as fgui from 'fairygui-createjs'; export declare class WindowA extends fgui.Window { constructor(); protected onInit(): void; protected onShown(): void; }
/** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * Integer to byte and vice versa conversion routines * * @author The JCodec project * */ public class DataConvert { public static int[] from16BE(byte[] b) { int[] result = new int[b.lengt...
When the second-generation Jaguar XF arrived in 2016 it made a splash no bigger than a raindrop falling into the Atlantic. Despite moving onto a new architecture and gaining two new four-cylinder engines, the wholly redesigned XF looks as if it received only a mild facelift. When the 2018 XF Sportbrake appears on roads...
class hyper_plsr: """PLSR regression with two different featuer selection - The first feature selection method (vip-model) is based on variable importance projection (VIP). The VIP function calculates the influence of each PLSR regression coefficient. VIP values greater than 1 are usally considered as ...
/* Read char code and attribute from Virtual Text RAM (for AX)*/ void ReadVTRAMChar(uint16_t col, uint16_t row, uint16_t * result) { Bitu addr = real_readw(BIOSMEM_AX_SEG, BIOSMEM_AX_VTRAM_SEGADDR); addr <<= 4; addr += 2 * (80 * row + col); *result = mem_readw(addr); }
<gh_stars>1-10 /* * Copyright Debezium Authors. * * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package io.debezium.examples.kstreams.liveupdate.aggregator.health; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; ...
/* * Connect to a server for getting/setting attributes, possibly on an existing * connection. This works similarly to SMBC_server(). */ SMBCSRV * SMBC_attr_server(TALLOC_CTX *ctx, SMBCCTX *context, const char *server, const char *share, char **pp_...
<filename>src/main/java/de/vandermeer/skb/mvn/pm/model/PM_Context.java<gh_stars>1-10 /* Copyright 2016 <NAME> <<EMAIL>> * * 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 * * ht...
def testGetFilteredByUnknownObjectIDs(self): tag = createTag(self.user, self.user.namespace, u'tag') createTagPermission(tag) createTagValue(self.user.id, tag.id, uuid4(), 42) self.assertEqual({}, self.tagValues.get(objectIDs=[uuid4()], pat...
/** * Bean definition for the Person Information */ public class PersonBean implements Serializable { /** * Default Serial ID */ private static final long serialVersionUID = 1L; /** * Person Information */ private List<PersonInfoBean> person; /** ...
export * from "./mahal_doc";
// UnmarshalText implements the encoding.TextUnmarshaler interface. // The formats it supports are "2006-01-02", "2006/01/02" and "02 Jan 2006". func (d *Date) UnmarshalText(b []byte) error { var err error for _, layout := range []string{"2006-01-02", "2006/01/02", "02 Jan 2006"} { if *d, err = Parse(layout, string...
test_cases=int(input()) for case in range(test_cases) : n,k=map(int,input().split(" ")) indices=list() s = input() s_list=list() for char in s: s_list.append(char) for char in range(len(s_list)): if s[char]=="*" : indices.append(char) count =0 min_num=0 la...
/** * Updates user, on success goes to the Previous Activity * @param {@code User} user * @param {@code FirebaseUser} authUser */ private void updateUser(final User user, final FirebaseUser authUser) { final String username = user.getUsername(); if (!TextUtils.isEmpty(newEmail.getTex...
<gh_stars>10-100 /* Guarding still doesn't work right need to wort out weapontypeclass::compute_crc Crashes at Eip:00460200 */ #include "macros/patch.h" #include "TiberianSun.h" #include "patch.h" #define ArmorNameMAX 10 char *ArmorTypes[64]; char ArmorNames[64 * ArmorNameMAX] = {0}; SETDWORD(0x0044AF67, _Armo...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto /* Package v1beta1 is a generated protocol buffer package. It is generated from these files: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto I...
Penicillin treatment for early syphilis in the presence of HIV-1 infection: the long or the short of it? 1 Rooney G, Smith Y, Montgomery J. Do all patients attending genitourinary medicine services want to be seen within 48 hours? Int J STD & AIDS 2008;19:77–8 2 Carlin EM, Kellock DJ. Uptake of 48-hour access appointm...
/** * push into the leafset the specified node, by according the properties specified by the * mspastry protocol * * @param newNode long */ public void push(BigInteger newNode) { if (eq(newNode,nodeId)) return; if (cmp(newNode,nodeId)>0) pushToRight(newNode); el...
import os red='\033[31m' green='\033[32m' orange='\033[33m' print(f"{orange}============================") print(f"{orange} made by bad_boy ") print(f"{orange}============================") print(f"{red}[1]start the hack") print("[2]exit") joker=int(input("==>")) if joker == 1: king=int(input("Enter Tar...
/** * @author Paulo Cassola */ public class Ave extends Animal { //Classe Filha de Animal private String corPena; //Sobreposição dos métodos de animal @Override public void locomover() { System.out.println("Voando"); } @Override public void alimentar() { System.out.pr...
. 119 so-called "long-term" hospitalised patients (more than 4 months stay in the hospital) have been described by the records of illness and the AMDP documentation system. They were also examined 1 year after discharge. 92.5% of the "long-term" patients have been classified as "improved" or "well improved" when leavi...
/** * Created by marcos.salomao on 25/12/16. */ public class GradientDescentTest { @Test public void minimize() { DataSet dataSet = new SimpleDataSet(); dataSet.add(1.0, 1.0); dataSet.add(2.0, 2.0); dataSet.add(3.0, 3.0); Hypothesis h = (thetas, features) -> thetas.g...
Outcomes of Renal Stone Surgery Performed Either as Predonation or Ex Vivo Bench Procedure in Renal Grafts from Living Donors: A Systematic Review Aims We aimed to summarize available evidence about intraoperative and postoperative donors' and recipients' outcomes following stone surgery in renal grafts from living do...
Is off-pump technique a safer procedure for coronary revascularization? A propensity score analysis of 20 years of experience. OBJECTIVES We aim to describe our experience in coronary artery bypass grafting (CABG) with or without cardiopulmonary bypass by comparing intraoperative and postoperative outcomes. METHODS ...
import { Component, Input, OnInit, ElementRef } from '@angular/core'; import { SidebarsService } from '../../../kathra-sidebars'; import { K8sWsService, K8sEnvironment } from '../../../kathra-data'; import { KathraEnvComponent } from '../../../kathra-data'; import { ModalComponent, ModalsService } from '../../../kathra...
import java.util.*; import java.io.*; public class WriteCodeHere { public static void main(String[] args) throws IOException { st = new StringTokenizer(rd.readLine()); int n = Integer.parseInt(st.nextToken()); isHotel = new boolean[n+1]; st = new StringTokenizer(rd.readLine()); for(int i=1; i<=n; i...
// Format a string to fit within a specified column width void a::format_fit(unsigned column_width, const string &input, vector<string> &output) { vector<string> forced; a::get_tokens('\n',input,forced); for (unsigned i=0; i<forced.size(); i++) { string current_line; vector<string> tokens; a::...
def import_policy(self, fobj: BytesIO) -> Dict: filename = self._api.files.upload(fobj) return self._post('import', json={'file': filename})
/** * Created by HaPBoy on 5/18/16. */ public class BookNoteFragment extends Fragment { private static final String ARG_BOOK_ID = "book_id"; private int booId = 1; private TextView tvContent; private TextView tvDate; private ImageView ivIconDate; public static BookNoteFragment newInstance(i...
// ===================================================================================================================== // Adds GPU memory references to the per-queue global list which gets added to the patch/alloc list at submit time. Result Queue::AddGpuMemoryReferences( uint32 gpuMemRefCount, c...
A new carboxylesterase from Brevibacterium linens IFO 12171 responsible for the conversion of 1,4-butanediol diacrylate to 4-hydroxybutyl acrylate: purification, characterization, gene cloning, and gene expression in Escherichia coli. A carboxylesterase that is responsible for conversion of 1,4-butanediol diacrylate (...
Household Load forecasting using Deep Learning neural networks Advancements in different types of electrical meters and computing technologies aiding the data collection and sensing of various parameters of the electrical power system has been made possible with the availability of vast amount of electrical data. With...
Fertility 2022 Rising to global challenges 5–8th January 2022 SRF.1 Metabolomics to identify pregnancies at risk of preeclampsia Daniel McKeating, Tu’uhevaha Kaitu’u-Lino, Stephen Tong, Susan Walker, Teresa MacDonald, Anthony Perkins Cambridge University Department of Physiology, Development, and Neuroscience, UK; Mer...
/** * A table model to show MSD values across wells. * * @author Paola */ public class MsdWellTableModel extends AbstractTableModel { private Object[][] data; private final String[] columnNames = {"well", "time-lag", "MSD"}; /** * Constructor * * @param singleCellConditionDataHolder: th...
/** * The main purpose of this class is to bind the * {@link #bindCommandReader(CommandReader, WritableByteChannel) command reader} reading the commands from * {@link CommandReader}, serializing them and writing the stream to the * {@link WritableByteChannel sub-process}. It binds the * {@link #bindEventHandler(Ev...
export * from './src/ProgressBar'; export { default as ProgressBar } from './src/ProgressBar';
<filename>quicktest.py<gh_stars>10-100 """ Source: http://datadesk.latimes.com/posts/2012/06/test-your-django-app-with-travisci/ Slightly modified by <NAME>. """ import os import argparse from django import setup from django.conf import settings from django.test.runner import DiscoverRunner class QuickDjangoTest(ob...
On this week's Orlando City Coach's Show with Adrian Heath, the Lions' boss discusses Sunday's victory over Sporting Kansas City, updates on the recovery of injured players, and previews this coming weekend's game against the Chicago Fire. Winning at Home "It was a bit of payback for us because I think they (the fans...
Designed zinc finger protein interacting with the HIV‐1 integrase recognition sequence at 2‐LTR‐circle junctions Integration of HIV‐1 cDNA into the host genome is a crucial step for viral propagation. Two nucleotides, cytosine and adenine (CA), conserved at the 3′ end of the viral cDNA genome, are cleaved by the viral...
/** * Similar to {@link #startBackupThreadAndGetLooper()} but with a custom exception handler and * returning the thread instead of the looper associated with it. * * @param exceptionHandler Uncaught exception handler for backup thread. * @return The backup thread. * @see #startBackupThrea...
<gh_stars>0 /** * @file Implementation of MessengerManager class. */ #include "messenger_manager.h" #include <loguru.hpp> #include <utility> namespace coordinator { MessengerManager::MessengerManager( std::shared_ptr<ParticipantManager> participants) : participants_(std::move(participants)) {} void Messenge...
def immutable(cls): return class_decorator_factory("immutable", "brief")(cls)
<reponame>Cezerin3/Admin-NX import express from "express" import helmet from "helmet" import responseTime from "response-time" import path from "path" import cookieParser from "cookie-parser" import winston from "winston" import settings from "../../../config/server" import robotsRendering from "./robotsRendering" impo...