content
stringlengths
10
4.9M
Greek President George Papandreou praised the EU bailout plan for his country as 'sustainable debt management.' But it prompted Moody's to downgrade the country, again. NEW YORK (CNNMoney) -- Moody's Investors Service downgraded Greece again Monday, to one class above default, following a new bailout package from its ...
President Donald Trump addresses the United Nations on Tuesday. Jewel Samad/AFP/Getty Images President Donald Trump addressed the United Nations on Tuesday at the body’s annual General Assembly. At first, he said a few nice bland things about American global leadership and the history of the U.N. The collected represe...
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { CategoriesClient, CategoryDto } from '../../../rentasgt-api'; import { FormControl, FormGroup, Validators } from '@angular/forms'; import { getErrorsFromResponse } from '../../../utils'; @Component({ selector: 'app-edit-category...
/** * From a starting block, attempt to find a portal frame to place portal blocks inside. * Attempts to find the top, bottom, left, and right limits of the frame, the last 2 being in the same axis. * If all of them are found, these 4 locations identify a rectangle. All the blocks inside this rectangle ...
<filename>tns-core-modules/ui/action-bar/action-bar.ios.ts import { IOSActionItemSettings, ActionItem as ActionItemDefinition } from "."; import { ActionItemBase, ActionBarBase, isVisible, View, colorProperty, backgroundColorProperty, backgroundInternalProperty, flatProperty, layout, Color, traceMis...
def prefix_level(self, prefix: str) -> int: level = 0 for i in range(len(prefix)): prefix_of = prefix[: i + 1] if prefix_of in self.section_prefixes_map: level += 1 return level - 1
/* Walk the Header tree to insert uid and sort capture all nodes */ static void annotate(Group* parent, CRnode* node, Sort sort, NClist* nodes) { if(nclistcontains(nodes,(ncelem)node)) return; memset((void*)node,0,sizeof(CRnode)); node->uid = nclistlength(nodes); node->sort = sort; node->group = par...
Trump speaks about tax reform during a visit to Springfield, Missouri Thomson Reuters Stephen Miller, one of President Donald Trump's most controversial advisers, helped the president draft a letter to FBI Director James Comey in May explaining his firing, but White House counsel Don McGahn thought it was problematic a...
/* * clk_scu_recalc_rate - Get clock rate for a SCU clock * @hw: clock to get rate for * @parent_rate: parent rate provided by common clock framework, not used * * Gets the current clock rate of a SCU clock. Returns the current * clock rate, or zero in failure. */ static unsigned long clk_scu_recalc_rate(struct ...
Losing Brian Boyle in free agency was a big loss to the Toronto Maple Leafs. Although he was only with the team for a short time, Boyle gave everyone confidence in the fourth line. He could win those crucial defensive-zone faceoffs and kill penalties, and he made full use of his 6-foot-7 frame every shift. But now he’s...
class Singleton(object): def __init__(self, cls): self._cls = cls; self._instances = {} def __call__(self, *args, **kwargs): if self._cls not in self._instances: self._instances[self._cls] = self._cls() return self._instances[self._cls]
<filename>src/ts/components/project/scroll-bar.test.tsx import { h } from "preact"; import { render } from "preact-render-to-string"; import { Component } from "./scroll-bar"; describe("Project", () => { describe("Scroll Bar", () => { test("render for window", () => { const component = render(<Component st...
Julian Simon, frustrated by the huge attention that Paul Ehrlich was receiving for his apocalyptic warnings about overpopulation, offered Mr. Ehrlich a bet in 1980. If a selected basket of commodities became more expensive over the coming decade — which would signal scarcity caused by a crowded planet — Mr. Ehrlich, an...
<gh_stars>1-10 #pragma once void lab1_check_mem(struct boot_info *boot_info);
/* * Copyright (c) 2002-2012 Gargoyle Software Inc. * * 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 ...
/** * TextView that squishes the text to fit within the width of the view */ public class SquishableTextView extends TextView { private final float FORCED_MAXIMUM_TEXT_SIZE = 65; private float currentTextSize = FORCED_MAXIMUM_TEXT_SIZE; private int currentWidth = 0; private DisplayMetrics metrics; ...
/** * Returns true if the current column's value is excluded by the rulesets * defined by the Requirements. * * @param db * @param row * @param column * @return the columns value * @throws SQLException */ private boolean isExcludedColumn(final ResultSet row, final Column co...
/** * Checks if a node has a child of ELEMENT type. * @param node a node * @return true if the node has a child of ELEMENT type */ public static boolean hasElementChild(Node node) { NodeList nl = node.getChildNodes(); Node child = null; int length = nl.getLength(); fo...
def generate_bit_patterns(bit_length=3): unique_input_patterns = [] for bits in itertools.product([0, 1], repeat=bit_length): single_input = [bit for bit in bits] unique_input_patterns.append(single_input) return unique_input_patterns
def insertContainers(self, uninjectedData): logging.info("Preparing to insert containers into Rucio...") newContainers = set() for location in uninjectedData: for container in uninjectedData[location]: if container not in self.containersCache and container not in newC...
Cryptographic redundancy and mixing functions Studies the application of structures based on error correcting codes to systems where the major requirement is not error control but secrecy. In many cases the same code can achieve both error control and secrecy. The first section of the paper describes an optimal constr...
<filename>packages/contracts/deploy/zzz_local_dev.ts import { HardhatRuntimeEnvironment } from 'hardhat/types' import { DeployFunction } from 'hardhat-deploy/types' import { utils } from 'ethers' const SHARED_LOCAL_DEV_ADDR = '0x946c516F181A55032BBB0d04749AF5cffCAdB981' const func: DeployFunction = async function(hre...
<reponame>nar1k/go-critic package lint //! Detects suspicious duplicated sub-expressions. // // @Before: // sort.Slice(xs, func(i, j int) bool { // return xs[i].v < xs[i].v // Duplicated index // }) // // @After: // sort.Slice(xs, func(i, j int) bool { // return xs[i].v < xs[j].v // }) import ( "go/ast" "go/token...
This article is about the Bangladeshi part. For the Indian part, see Sundarbans National Park The world's largest mangrove forest located in the delta of Ganges, Meghna and Brahmaputra rivers in the Bay of Bengal The Sundarbans is a mangrove area in the delta formed by the confluence of Ganges, Brahmaputra and Meghna...
A Lazy Susan is a turntable (rotating tray ) placed on a table or countertop to aid in distributing food . Lazy Susans may be made from a variety of materials but are usually glass , wood , or plastic . They are usually circular and placed in the center of a circular table to share dishes easily among diners. Owing to ...
<gh_stars>10-100 """ A tornado gen_test using @tornado.testing.gen_test decorator that is already an async function. Function should not be modified. """ # This is a pretty contrived example to confirm these tests won't have yields changed to awaits. import some_experimental_pytest_decorator_that_allows_yielding_in_te...
// Register Which Parameter of the device needs to read/write func (tm Devices) RegisterDeviceParams(devName string, oids []string) { for i, a := range tm { if devName == i { a.Oids = append(a.Oids, oids...) tm[i] = a } } }
// NewMockCfgProvider creates a new mock instance func NewMockCfgProvider(ctrl *gomock.Controller) *MockCfgProvider { mock := &MockCfgProvider{ctrl: ctrl} mock.recorder = &MockCfgProviderMockRecorder{mock} return mock }
import { createStitches } from "@stitches/react"; export const theme = { colors: { /* * Black and dark grays in a light theme. * Must contrast to 4.5 or greater with `secondary`. */ primary: "#1a1d1e", primaryMuted: "#26292b", primaryAlt: "#151718", /* * Key brand color(s). ...
/* Copyright 2018 The Kubernetes Authors. 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, ...
<filename>skripte/sort.py #!/usr/bin/env python # -*- coding: utf8 -*- # :Copyright: © 2012 <NAME>. # :Licence: This work may be distributed and/or modified under # the conditions of the `LaTeX Project Public License`, # either version 1.3 of this license or (at your option) # any ...
macro_rules! span { ($parser:expr, $start:expr) => {{ let last_pos = $parser.input.last_pos()?; swc_common::Span::new($start, last_pos, Default::default()) }}; } macro_rules! tok_pat { (Ident) => { swc_css_ast::Token::Ident(..) }; (AtKeyword) => { swc_css_ast::Token...
/** * The maximum amount of random jitter relative to the credential's * lifetime that is added to the login refresh thread's sleep time. * Legal values are between 0 and 0.25 (25%) inclusive; a default value * of 0.05 (5%) is used if no value is specified. Currently applies only ...
h, w, d = map(int, input().split()) A = [] for i in range(h) : A.append(list(map(int, input().split()))) cost = [] for i in range(h) : for j in range(w) : cost.append([A[i][j], j+1, i+1]) cost.sort(key=lambda c:c[0]) power = [0 for _ in range(h*w)] for i in range(d) : pos = i x1 = cost[pos][...
// Returns a boolean indicating if the given path has a shiftfs mount // on it (mark or actual mount). func Mounted(path string) (bool, error) { realPath, err := filepath.EvalSymlinks(path) if err != nil { return false, err } return mount.MountedWithFs(realPath, "shiftfs") }
package com.qinfengsa.structure.array; /** * @author: qinfengsa * @date: 2019/5/13 13:22 */ public class TestSon extends TestFather { @Override public String add(int a) throws NullPointerException { return "123"; } }
/** * Resume the sound ont the given channel, will only do something when there is a paused sound on the channel * @param channel */ void sound_manager::resume(int channel) { if (m_playing_sounds->find(channel) != m_playing_sounds->end()) { auto &sound = m_playing_...
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <libelf.h> #include <gelf.h> #include <errno.h> #include <unistd.h> #include <string.h> #include <stdbool.h> #include <stdlib.h> #include <linux/bpf.h> #include <linux/filter.h> #include <linux/perf_event.h> #include <sys/syscal...
The Tungchow mutiny (Chinese and Japanese: 通州事件; pinyin: Tōngzhōu Shìjiàn; rōmaji: Tsūshū jiken), sometimes referred to as the Tongzhou Incident, was an assault on Japanese civilians and troops by the collaborationist East Hopei Army in Tongzhou, China on 29 July 1937 shortly after the Marco Polo Bridge Incident that m...
<reponame>CuriousTech/SmartWiFiDimmer // Class for controlling non-dimmer switches and smart sockets #include "Switch.h" #include <TimeLib.h> #include "eeMem.h" extern void WsSend(String s); Switch::Switch() { } void Switch::init(uint8_t nUserRange) { digitalWrite(WIFI_LED, HIGH); pinMode(WIFI_LED, OUTPUT); #if...
<reponame>chimmy-changa/d-mdp<filename>matlab_desktop_proxy/util/__init__.py # Copyright 2020 The MathWorks, Inc. import signal import socket import sys import argparse import matlab_desktop_proxy from aiohttp import web from matlab_desktop_proxy import mwi_environment_variables as mwi_env from matlab_desktop_proxy.uti...
Not only on the field, Misbah-ul-Haq is known for making headlines off the field too. This time a noble gesture by him has brought the Pakistan captain into the limelight again. Misbah has decided to help his fan Rohaan by raising funds of Rs. 3 lakh for his treatment in Lahore. The 16-year-old fan requires to underg...
// outputCommitFromLegacyProperties synthesizes an output commit from // legacy got_revision and got_revision_cp properties. func outputCommitFromLegacyProperties(props *structpb.Struct) (*buildbucketpb.GitilesCommit, error) { gotRevision := props.Fields["got_revision"].GetStringValue() if gotRevision == "" { retur...
/** * Base class for EnsemblGenomes core healthchecks * * @author dstaines * */ public abstract class AbstractEgCoreTestCase extends AbstractTemplatedTestCase { public final static String EG_GROUP = "ensembl_genomes"; public AbstractEgCoreTestCase() { super(); this.addToGroup(EG_GROUP); addAppliesToTyp...
// ------------------------ compose (compile) answer json ------------------------ // @Override public byte[] makeContent() { request = new Json(); answer = new Json(); byte[] payload = host_session.getPayload(); if (payload == null) { put("result", "error"); ...
package timestamp import ( "context" ) // Timestamper stamps the time type Timestamper interface { Timestamp(context.Context, *Request) (*Response, error) }
<reponame>commitd/components-graph<filename>src/components/GraphToolbar/SizeBy.test.tsx import React from 'react' import { renderLight, screen, userEvent } from '../../setupTests' import { SizeBy } from './GraphToolbar.stories' it('Can select to size by', () => { renderLight(<SizeBy {...(SizeBy.args as any)} withGra...
/** * A widget for viewing OT science programs. * @author Allan Brighton */ public final class SPViewer extends SPViewerGUI implements PropertyChangeListener, PluginConsumer { private static final Logger LOG = Logger.getLogger(SPViewer.class.getName()); // List of SPViewer instances private static final...
package se.yrgo.math; public final class Utils { private Utils() {} public static int fac(int n) { if (n == 1) { return 1; } else { return n * fac(n - 1); } } }
On August 9 the Hillary Clinton campaign spun Donald Trump’s Second Amendment comments as a threat and Clinton surrogates quickly pounced, calling for a Secret Service investigation. Trump was speaking in Wilmington, North Carolina. He said, “Hillary wants to abolish, essentially abolish, the Second Amendment.” He ad...
Parrots at a clay lick, Anangu, Yasuni National Park White-banded swallows perching of a tree stump on the bank of Rio Tiputini, Yasuni National Park Yasuni National Park (Spanish: Parque Nacional Yasuní) is in Ecuador [1] with an area of 9,823 km2 between the Napo and Curaray Rivers in Napo and Pastaza Provinces in ...
// Writes a PhoneMetadataCollection in JSON format. private static void writeCountryToMetadataMap(PhoneMetadataCollection metadataCollection, BufferedWriter writer) throws IOException { writer.write("{\n"); boolean isFirstTimeInLoop = true; for (PhoneMetadata ...
def potential(self): def vne(self): vne_acc = 0.0 electrons = self.pos[0] + self.pos[1] for iel in range(electrons.shape[0]): for atom in Walker.system.atoms: rij = electrons[iel,:] - atom.pos vne_acc -= atom.Z / np.sqrt...
/** * \copyright * Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "equation_class.h" #include <algorithm> #incl...
package xyz.zenheart.guiserial.utils; import java.net.URL; /** * <p>项目名称: cgenerator </p> * <p>描述: 路径工具 </p> * <p>创建时间: 2021/9/1 </p> * <p>公司信息: 维之星研发部</p> * * @author CKM * @version v1.0 */ public class PathUtils { public static final String FXML = "/fxml"; public static final String FTL = "/ftl"; ...
<gh_stars>0 #include <stdlib.h> size_t shift_left(void* f, unsigned short pass) { return (size_t)((unsigned char)(*((unsigned int*)f) >> pass * 8)); } size_t shift_right(void* f, unsigned short pass) { printf("%d\n", *(int*)f); return (size_t)((unsigned char)(*((unsigned int*)f) << pass * 8)); }
import requests, pprint payload = { 'username': 'byhy', 'password': '<PASSWORD>' } response = requests.post('http://127.0.0.1:8000/mgr/signin.html', data=payload) pprint.pprint(response.json())
“You don’t see ‘Tata likes the gays,’ ” he said, referring to one of India’s largest business conglomerates. “You don’t see Google. You don’t see Facebook. That’s on purpose.” It was getting late as the parade fanned around the final focal point, a stage where volunteers from the crowd ascended the platform to read po...
Yiddish speakers have slammed Donald Trump for saying that Hillary Clinton got 'schlonged' by Barack Obama during the 2008 Democratic presidential campaign. Trump's use of the word 'schlong' - which is a vulgar term in Yiddish for penis - was branded 'disgusting', 'offensive and pejorative' by speakers at a festival c...
/** * Registers step definitions and hooks. * * @param androidBackend the backend where stepdefs and hooks will be registered. * @param method a candidate for being a stepdef or hook. * @param glueCodeClass the class where the method is declared. */ void scan(AndroidBackend androi...
def signal_enhancement_ratio(data, thresh=0.01): print('computing signal enhancement ratios') assert(thresh > 0.0) ndyn = data.shape[-1] image_shape = data.shape[:-1] SER = zeros(image_shape, dtype=data.dtype) data = reshape(data, (-1, ndyn)) S0 = data[:,0].flatten() mask_ser = S0 > thre...
// TODO: Consider holding onto the list of seed servers in the long term (less periodically refresh our list with them) // In this way, we may not even need a gossip protocol if we assume that we have a set of impl DiscoveryService { pub fn new(client: Arc<Client>, seeds: Vec<String>) -> Self { DiscoveryService { ...
// FIXME(pcwalton): this should update the def-use chains. pub fn replace_all_defs_and_uses_with<'tcx>( &self, local: Local, body: &mut Body<'tcx>, new_local: Local, tcx: TyCtxt<'tcx>, ) { self.mutate_defs_and_uses(local, body, new_local, tcx) }
If you plan to visit a college campus this month, don't be surprised if you see signs and placards encouraging you to "Restore the Fourth." Restore the Fourth is not about an athletic event or a holiday; it is about human freedom. The reference to "the Fourth" is to the Fourth Amendment, and it is badly in need of rest...
/* It's possible for DHCPv4 to contain an IPv6 address */ static ssize_t ipv6_printaddr(char *s, size_t sl, const uint8_t *d, const char *ifname) { char buf[INET6_ADDRSTRLEN]; const char *p; size_t l; p = inet_ntop(AF_INET6, d, buf, sizeof(buf)); if (p == NULL) return -1; l = strlen(p); if (d[0] == 0xfe && (d[...
/* eslint max-classes-per-file: 0 */ import chalk from 'chalk'; import Table from 'cli-table'; import { remoteAdd, remoteList, remoteRm } from '../../../api/consumer'; import { BASE_DOCS_DOMAIN } from '../../../constants'; import { empty, forEach } from '../../../utils'; import { Group } from '../../command-groups'; ...
/***************************************************************************** * Copyright (c) 2019, Nations Technologies Inc. * * All rights reserved. * **************************************************************************** * * Redistribution and use in source and binary forms, with or without * modificat...
Efficacy of Celecoxib in Treating Symptoms of Viral Pharyngitis: A Double-Blind, Randomized Study of Celecoxib versus Diclofenac This study compared the efficacy and safety of the cyclooxygenase-2 specific inhibitor celecoxib with the conventional non-steroidal anti-inflammatory drug diclofenac in the symptomatic trea...
/* * Send up all messages queued on tcp_rcv_list. * Have to set tcp_co_norm since we use putnext. */ static void tcp_rcv_drain(int sock_id, tcp_t *tcp) { mblk_t *mp; struct inetgram *in_gram; mblk_t *in_mp; int len; if (sockets[sock_id].so_rcvbuf <= 0) return; if (tcp->tcp_rcv_list == NULL) goto win_update...
/* * Copyright 2020 IBM All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ import {Context} from 'fabric-contract-api'; import {mock} from 'ts-mockito'; import {Collection} from '../../src/Collection'; import {Ledger} from '../../src/Ledger'; import chai = require('chai'); import chaiAsPromised = re...
/** * <!-- begin-user-doc --> * The <b>Adapter Factory</b> for the model. * It provides an adapter <code>createXXX</code> method for each class of the model. * <!-- end-user-doc --> * @see ajiMLT.AjiMLTPackage * @generated */ public class AjiMLTAdapterFactory extends AdapterFactoryImpl { /** * The cached mode...
def testGetRequester_TestAccountOnDev(self): try: orig_local_mode = settings.local_mode settings.local_mode = True metadata = {'x-test-account': 'test@example.com'} test_auth = self.svcr.GetAndAssertRequesterAuth( self.cnxn, metadata, self.services) self.assertEqual('test@exa...
<reponame>tseyler/proto-server // main.cpp : Defines the entry point for the console application. // #include <iostream> #include <sstream> #include <core/client/proto_tcp_text_client.hpp> #include "director_pipeline.hpp" #include "cmd_parser.hpp" #include <boost/program_options.hpp> namespace po = boost::p...
Produced by Eve Sobol AUGUSTUS DOES HIS BIT A TRUE-TO-LIFE FARCE By George Bernard Shaw I wish to express my gratitude for certain good offices which Augustus secured for me in January, 1917. I had been invited to visit the theatre of war in Flanders by the Commander-in-Chief: an invitation which was, und...
#include "stdafx.h" #include "CommandLineArgs.h" enum CLARGS_ { CLARGS_SHOWVERSION, CLARGS_SHOWHELP, CLARGS_SERVERPORT, CLARGS_CUDADEVICE, CLARGS_PYSCRIPT, CLARGS_PYSCRIPT_PARALLELSPLIT, CLARGS_PYSCRIPT_DELETESOURCE }; void CLArgs::process_command_line_args(int argc, char *argv[]) { std::vector<CLARGS...
// NewMemPoolAPIService creates a new instance of an MemPoolAPIService. func NewMemPoolAPIService(client ic.IoTexClient) server.MempoolAPIServicer { return &memPoolAPIService{ client: client, } }
/* * File: aDatePickWidget.h * Package: akWidgets * * Created on: April 29, 2021 * Author: <NAME> * Copyright (c) 2020 <NAME> * This file is part of the uiCore component. * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. */ // AK he...
<reponame>fa93hws/open-position-cooldown import * as React from 'react'; import { cleanup, render } from '@testing-library/react'; import { createCards } from '../cards'; describe('Cards', () => { beforeEach(cleanup); it('should not throw', () => { const [Component] = createCards({} as any); expect(() =>...
<filename>src/example/org/apache/struts/webapp/example/CheckLogonTag.java<gh_stars>1-10 /* * $Id: CheckLogonTag.java 54929 2004-10-16 16:38:42Z germuska $ * * Copyright 2000-2004 Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
Performance of a Vector-Controlled PMSM Drive without Using Current Sensors : The current sensorless vector-controlled permanent-magnet synchronous motor (PMSM) drive using a single sensor (i.e., speed sensor) is presented in this work. The current sensors are removed, and the estimated currents are used to close the ...
def _loop(self, changed=False): item = self.args[NAME] state = self.args['state'] items = self._get_known() if item in items: item_id = items[item] if state == 'present': changed = self._modify(item, self._details(item_id)) elif state =...
/** * Get data from a {@code record}. * * <p>These classes are quite a bit more limited than ordinary classes, * so we don't have to worry about traversing hierarchy.</p>. * * @param target containing record * @return an instance factory if this class is a record */ @Override ...
def visualize_img_summary(self, mask_stats_list, image_id, vis_out_path): mask_stats_list = sorted(mask_stats_list, key=lambda x: x[0]) n_attr = len(mask_stats_list) nrows = n_attr + 1 ncols = 3 fig_width = ncols * 7 fig_height = nrows * 4 fig, axarr = plt.su...
#[doc = "Register `CTRL` reader"] pub struct R(crate::R<CTRL_SPEC>); impl core::ops::Deref for R { type Target = crate::R<CTRL_SPEC>; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } impl From<crate::R<CTRL_SPEC>> for R { #[inline(always)] fn from(reader: crate::R<CTRL_SP...
/* Copyright 2019 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 applicable law or a...
numrooms= input("") numrooms = int(numrooms) x = [None]*numrooms y = [None]*numrooms for i in range (0,numrooms): x[i],y[i] = raw_input().split() arraylength = len(x) totalspace = 0 room = 0 for r in range(0,arraylength): totalspace = int(y[r]) - int(x[r]) if(totalspace > 1): room=room + 1 print(roo...
// Copyright 2020 Google LLC // // 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 ...
CD5 antibodies increase intracellular ionized calcium concentration in T cells. The binding of a variety of monoclonal antibodies to the CD5 (T, gp67) pan T cell differentiation antigen has been shown to potentiate T cell proliferation. In this paper we show that CD5 monoclonal antibodies cause increased intracellular...
def UserIsActive(self): email = self.event['request']['userAttributes']['email'] parameters = [ {'name': 'EMAIL', 'value': {'stringValue': f'{email}'}} ] sql = """ SELECT email, status FROM cognition.users u WHERE u.email=:EMAIL AND...
async def arch(ctx): async with ctx.bot.session.get(BASE_URL_ARCH_NEWS) as response: if response.status == 200: text = await response.text() soup = BeautifulSoup(text) else: await ctx.send("Couldn't fetch Arch Linux news at this time.") return link...
/** * (C) Copyright IBM Corp. 2021. * * 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 agree...
def create(self, subprocess_parent=None, **kwargs): obj = super().create(**kwargs) obj.save_dependencies(obj.input, obj.process.input_schema) if subprocess_parent: DataDependency.objects.create( parent=subprocess_parent, child=obj, kind...
def draw_persistent_info(self): if self.edit_mode: edit_mode = "pixels" else: edit_mode = "labels" if self.edit_mode or self.draw_raw: filter_info = self.create_filter_text() else: filter_info = "\n\n\n" display_filter_info = ("Curr...
def testNodeIDGeneration(self): ip = '127.0.0.1' port = 12345 enclaveStr = 'localhost' self.bsClient = SampleClient(ip, port, None) self.bsNetwork = classChordNetworkChord(self.bsClient, port, ip) enclaveStr = self.randomStringGenerator(10) firstNodeName = self.ra...
/* Native-dependent code for OpenBSD/amd64. Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ve...
Traffic analytics firm INRIX on Monday released its 2016 Global Scorecard ranking the most congested cities in the world. Los Angeles ranked No. 1, where motorists spent more than 100 hours in traffic last year. Photo by Mike Nelson/European Pressphoto Agency Feb. 20 (UPI) -- Los Angeles had the world's worst traffic ...
/** * Displays a contact card for the contact. */ public void displayContact() { Intent contactIntent = new Intent(Intent.ACTION_VIEW); contactIntent.setData(mContact.getContactLookupUri()); getContext().startActivity(contactIntent); }
async def _process_link( self, queue, page_id: int, page_link: str, parent_id: int, desc_level: int, ) -> None: try: page_html = await self.fetch_page(page_link) self.crawled_links.add(page_link) page_data = self.get_page_da...
/** * Si el personaje esta muerto se lo bajo xD * @author DrCoffee84 * @param cant */ public void serAtacado(Atacable personaje) { if( personaje.estaMuerto() ){ this.batallon.remove(personaje); cantidad--; } }
/* * testing samplePlugin - based on dcterms:creator plugin * */ @Test public void test1() { OntModel tBox = createTBoxModel(); OntProperty authorInAuthorship = tBox.createObjectProperty(authorInAuthorship_URI); OntProperty linkedAuthor = tBox.createObjectProperty(linkedAuthor_URI); OntProperty information...