content
stringlengths
10
4.9M
<filename>packages/console-base-rc-top-nav/src/model/hook/use-handle-dock-click.ts import { MouseEvent, useCallback } from 'react'; import useModelProps from './_use-model-props'; import useModelState from './_use-model-state'; import useDockActive from './use-dock-active'; import useDispatchSetDockActiveByHoverTi...
/** * Created by Darshan on 30/05/15. */ public class MyButton extends Button { public MyButton(Context context) { super(context); } public MyButton(Context context, AttributeSet attrs) { super(context, attrs); } public MyButton(Context context, AttributeSet attrs, int defStyleA...
<gh_stars>0 package com.enyata.framework.mvvm.ui.view_contact; import android.app.AlertDialog; import android.content.ContentProviderOperation; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.provide...
def rigorous_line_integral(self, upstairs_edge, differentials, bounding_data): CCzg, bounding_data_list = bounding_data i0, _ = upstairs_edge[0] i1, _ = upstairs_edge[1] z0 = self._vertices[i0] z1 = self._vertices[i1] zwt, z1_minus_z0 = self.make_zw_interpolator(upstairs_...
<reponame>SevenCold/app-java-main<gh_stars>0 package io.renren.modules.sys.controller; import io.renren.common.enums.UserStatusEnum; import io.renren.common.utils.Constant; import io.renren.common.utils.R; import io.renren.common.validator.ValidatorUtils; import io.renren.common.validator.group.RegistGroup; import io....
Neoproterozoic Tectonic Setting of Southeast China: New Constraints from SHRIMP U‐Pb Zircon Ages and Petrographic Studies on the Mamianshan Group Precambrian tectonic history of Zhejiang, Fujian, and Jiangxi provinces of south China is important for understanding the tectonic evolution of South China but its magmatic ...
// Pages returns page numbers for paginate // // around is the number of page around the current page // ex. if current page is 10 and around is 3 // the result is 0 7 8 9 10 11 12 13 0 // // edge is the number of page at the edge // ex. if current page is 10, max page is 20 and edge is 2 // the result is 1 2 0 10 0 19...
<gh_stars>1-10 ## ## Copyright (C) 2017, <NAME>, all rights reserved. ## ## This file is part of Camera Network ## (see https://bitbucket.org/amitibo/cameranetwork_git). ## ## Redistribution and use in source and binary forms, with or without modification, ## are permitted provided that the following conditions are met...
/** * Unlike other interceptors, the chain never returns null. */ @Override @Nonnull public synchronized Cache createCache(RegistryEntry registryEntry, @Nullable Object instance, CacheContext context, ...
import { CommonDescriptor } from './common-descriptor.interface'; /** * Descriptor with its unique optional `get()` and `set()` functions, of the `Value` type. * For the accessor descriptor with also the object type, please use the type `ThisAccessorDescriptor<Value, Obj>`. */ export interface AccessorDescriptor<Val...
<gh_stars>0 import numpy from pylab import * from scipy.interpolate import interp1d d1,e1,ee1,f1,ef1=numpy.loadtxt("full.txt",unpack=True) f1=-f1*31.6e-15 inds=argsort(d1) d1=d1[inds] f1=f1[inds] d2,e2,ee2,f2,ef2=numpy.loadtxt("PEC.txt",unpack=True) f2=-f2*31.6e-15 inds=argsort(d2) d2=d2[inds] f2=f2[inds] d3,e3,ee3,...
// TODO(brettw) bug 734373: check the scripts for each host component and // don't un-IDN-ize if there is more than one. Alternatively, only IDN for // scripts that the user has installed. For now, just put the entire // path through IDN. Maybe this feature can be implemented in ICU itself? // // We may want to skip th...
I fancy a good cat mystery like anyone, but Mindhunter‘s Season 1 feline brain-teaser had me clawing my eyes out. The curiosity was killing me, I tell ya! So I tracked down the woman at the center of the kitten cliffhanger — Mindhunter‘s leading lady Anna Torv — to get her purrrrrspective on the perplexing pussy plot. ...
Aerial surveys reveal biotic drivers of mangrove expansion along a Thai salt flat ecotone Rapid sea level rise (SLR) could overwhelm the adaptive capacity of many mangrove forests. The conservation of functional mangrove ecosystems will rely on their expansion into upper intertidal areas, including salt marshes and sa...
/** Add new annotation method with default value. */ public AnnotationElement declareElement(Type returnType, String name, Listable defaultValue) { AnnotationElement element = new AnnotationElement(); element.setEnclosingDeclaration(this); element.setCompilationUnit(getCompilationUnit()); element.setNam...
package net.minecraft.server; public class BlockWallSign extends BlockSign { public static final BlockStateDirection FACING = BlockFacingHorizontal.FACING; protected static final AxisAlignedBB c = new AxisAlignedBB(0.0D, 0.28125D, 0.0D, 0.125D, 0.78125D, 1.0D); protected static final AxisAlignedBB d = new...
import itertools def go(): n, k = map(int, input().split()) s = [input() for _ in range(n)] dic = {'S': 1, 'E': 2, 'T': 3} s2 = [[dic[let] for let in ss] for ss in s] ts = {s[i]: i for i in range(n)} dif = {} alp = 'SET' for aa, bb, cc in itertools.permutations(alp): ...
Ouabain- and central sodium-induced hypertension depend on the ventral anteroventral third ventricle region. To examine the role of the ventral anteroventral third ventricle (vAV3V) in the hypertension induced by chronic subcutaneous ouabain and intracerebroventricular hypertonic saline, neurons in this area were dest...
// SPDX-License-Identifier: GPL-2.0-or-later /* * * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) */ #include <linux/module.h> #include <linux/proc_fs.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/fs.h> #include <linux/types.h> #include <linux/sysctl.h> #include <linux/str...
Performance of Administrators, Professionals, and Paraprofessionals during Community-Based Brain Injury Rehabilitation Training Objective:Two related studies that evaluated the impact of a continuing education program about community- based rehabilitation on the performance of administrators, professionals, and parapr...
def validate_username_not_url(username): if username.startswith('http://') or username.startswith('https://'): raise ValidationError(_('This field requires an identifier, not a URL.')) return username
/** * The panel that represents the enclosed 3-D space for the tumbling wire-frame * cube. */ public final class CubePanel extends Panel { private static final float MAX_TRANSLATE = 5; private static final float MAX_SCALING = 3; /** width of space */ private int width; /** height of space */ private int...
#!/usr/bin/env python import sys import re import string def main(): if len(sys.argv) != 3: print('boundary_read_summary.py intron.fa read_folder') sys.exit(0) with open('boundary_read.txt', 'w') as outf: with open(sys.argv[1], 'r') as intron: for line in intron: ...
package com.nullptr.one.article.list; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.suppor...
package scratchpad; import java.lang.invoke.MethodHandles; import java.util.LinkedHashSet; import org.eclipse.collections.api.set.MutableSet; import org.eclipse.collections.impl.set.mutable.SetAdapter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SetIntersectExp { final static Logger logge...
/// internal function to return the id of a new loan and to increase it in the storage fn _get_next_loan_id_and_increase(&mut self) -> Result<Id, PSP34Error> { if self.freed_ids.len() > 0 { return Ok(self.freed_ids.pop().unwrap()) } let current = self.last_loan_id.clo...
/* l2tables.h: Layer 2 Alloc tables copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org initially written by <NAME> most other tables are calculated on program start (which is (of course) not ISO-conform) Layer...
<gh_stars>0 #!/usr/bin/env python # -*- coding: utf-8 -*- # original version : https://github.com/hempalex/xls2csv import sys import csv import xlrd from optparse import OptionParser def xls2csv(infilepath, outfile, sheetid=None, sheetname=None, delimiter=",", sheetdelimiter="--------", encoding="cp1251"): writer...
/** * Processes a <code><filters></code> element, if it exists. * @param filters * @param defaultFilters * * @return a new filter map that contains all filters from the argument map, * all newly declared filters, and that updates filters mapped by duplicate keys. * This way, the latest declaration wil...
package partial.update.mapper.converter; import partial.update.mapper.PartialUpdateMapper; import partial.update.mapper.model.ChangeLoggerSimpleModel; import partial.update.mapper.model.SimpleModel; public interface SimpleModelMapper extends PartialUpdateMapper { ChangeLoggerSimpleModel toModel(SimpleModel simpleMo...
/** * Abstract implementation of Schema2Markup converter * * @author Balaji V */ public abstract class AbstractSchema2MarkupConverter<T> { protected Logger logger = LoggerFactory.getLogger(getClass()); private final Context<T> context; public AbstractSchema2MarkupConverter(Context<T> context) { ...
/** * Executes the given callback on any bundles in the given context * * @param callback can be <code>null</code> to do nothing * @param context can be <code>null</code> to do nothing */ public static void execute(final BundleCallback callback, final BundleContext context) { if (callback == null ||...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { ConstantPool } from './constant_pool'; import * as o from './output/output_ast'; import { ParseError } from ...
/** * This is called every frame in BaseGame.start(), after update() * * @param interpolation unused in this implementation * @see AbstractGame#render(float interpolation) */ protected final void render( float interpolation ) { /** Clears the previously rendered information. */ ...
GETTY The workers effected are the lowest paid The influx of EU migrants can lead to pay reductions of nearly two per cent in some industries including catering, hotels and elderly care, the research showed. Campaigners last night seized on the document as official confirmation that EU migration is undermining the liv...
The United Nations is currently working on a far-reaching plot, developed with radical Obama administration policy architect John Podesta, to “profoundly and dramatically” alter your "worldview" in the name of shackling humanity under a UN-managed “universal sustainable development agenda.” According to the controversi...
<filename>queue/circularqueue.go package queue type CircularQueue struct { items []int head, tail, capacity uint } func NewCircularQueue(capacity uint) *CircularQueue { return &CircularQueue{ items: make([]int, 0, capacity), head: 0, tail: 0, capacity: capacity, } } func (q *Cir...
def __reads_format(x, pos=0): return locale.format("%.0f", x, True)
SAN DIEGO (CNS) - Thousands of health care workers at UC San Diego Medical Center and University of California hospitals across the state began a two-day strike Tuesday, walking picket lines as they push for a new contract. UC health officials prepared for the walkout by canceling non-essential surgical procedures at ...
<filename>tracker.py<gh_stars>0 import cv2 import numpy as np import time import argparse # function to parse bool value from config file from utils.boolcheck import boolcheck ## parse args from command line parser = argparse.ArgumentParser() parser.add_argument("--track", type=str, default="face", help="cho...
<filename>mod/github.com/hashicorp/vault@v1.1.2/builtin/credential/app-id/path_login.go package appId import ( "context" "crypto/sha1" "crypto/subtle" "encoding/hex" "fmt" "net" "strings" "github.com/hashicorp/errwrap" "github.com/hashicorp/vault/helper/policyutil" "github.com/hashicorp/vault/logical" "git...
/** * Exports RHIS as a single CSV */ public class RHISExporter { private static final Logger LOGGER = Logger.getLogger(RHISExporter.class); private String inputDirectory; private final boolean recursive; private final String outputFile; private Workbook wb = new HSSFWorkbook(); private Shee...
""" Contains the feature extraction part of a visual classifier based on the VGGish pre-trained model. Handles the extraction and saving of the features. """ import os import time import openl3 import numpy as np import pandas as pd from skimage.io import imread from utility.global_utilities import time_estimation, c...
A,B,K = map(int,input().split()) X = ['0']*(A+B) Y = ['0']*(A+B) X[0] = '1' Y[0] = '1' if B==1: if K==0: print('Yes') print(''.join(X)) print(''.join(Y)) else: print('No') exit() if A==0: if K==0: print('Yes') print('1'*B) print('1'*B) else: ...
Setting the stage for multiplayer storytelling "There�s no murder and no crime; it�s about finding out stories and relationships and having a party at the same time." Troubleshooting in public on Steam Early Access "We want to be able to tell all kinds of stories, and make them interactive. I hope we can grow this k...
<reponame>GBLodb/pyrotech-1.12 package com.codetaylor.mc.pyrotech.modules.plugin.patchouli.processors; import com.codetaylor.mc.pyrotech.modules.tech.machine.ModuleTechMachine; import com.codetaylor.mc.pyrotech.modules.tech.machine.recipe.MechanicalCompactingBinRecipe; import net.minecraft.item.ItemStack; import net.m...
def _combine_datasets(new_data_path, classes_path='classes.json', image_resize=None, *data_paths): Dataset._combine_datasets(new_data_path, classes_path, *data_paths) new_ds = ImSeg_Dataset(new_data_path, classes_path=classes_path) inds = {set_type: {"images":0, "annotations":0} ...
FIXEXP = True # Flag to fix underexposition MINFACE = 8 # Minimum face size ratio; too low and we get false positives INCREMENT = 0.06 GAMMA_THRES = 0.001 GAMMA = 0.90 FACE_RATIO = 6 # Face / padding ratio QUESTION_OVERWRITE = "Overwrite image files?" # File types supported by OpenCV CV2_FILETYPES = [ ".bmp", ...
import { NgModule } from '@angular/core' import { ColmenaUiModule } from '@colmena/admin-ui' import { SettingsRoutingModule } from './settings-routing.module' import { SettingsService } from './settings.service' import { SettingResolver } from './settings.resolvers' import { SettingDetailComponent } from './componen...
/** * Helper to transform a Live Validation issue of type IssueDiagnostic to an Xtext issue of type * Issue */ private Issue xtextIssue(final IssueDiagnostic issue) { final Issue.IssueImpl xtextIssue = new Issue.IssueImpl(); Severity _switchResult = null; DiagnosticSeverity _severity = issue.getSev...
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
<filename>ethereum/swarm/storage/common_test.go<gh_stars>1-10 // Copyright 2016 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum 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 //...
def insert_predictor_answer(self, insert): model_interface = self.session.model_interface data_store = self.session.data_store select_data_query = insert.get('select_data_query') if isinstance(select_data_query, str) is False or len(select_data_query) == 0: return ExecuteAnsw...
Recapturing the Just War for Political Theory Michael Walzer's Just and Unjust Wars: A Moral Argument with Historical Illustrations is a fine work which is right to defend the “moral reality” of war and to dismiss relativist approaches. But he does not provide a defense of his position against beliefs (for example, in...
/// Processes an `E`-typed event stream of `T`-typed resources. /// /// The `F`-typed processor is called for each event with exclusive mutable accecss to an `S`-typed /// store. /// /// The `H`-typed initialization handle is dropped after the first event is processed to signal to /// the application that the index has...
<filename>funblocks-client/src/Blocks/CodeGen.hs {-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI, OverloadedStrings, ScopedTypeVariables #-} {- Copyright 2019 The CodeWorld Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in comp...
<reponame>bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE num1 = {1, 2, 3, 4, 5 } primeNums = {1, 3, 5, 7} print(primeNums.issubset(num1))
import java.util.*; import java.io.*; public class CodeForces_644B_B_Processing_Queries { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] line = reader.readLine().split(" "); final int ...
<reponame>xoviat/actions-pytest<filename>src/input.ts /** * Parse action input into a some proper thing. */ import { input } from "@actions-rs/core"; import stringArgv from "string-argv"; // Parsed action input export interface Input { args: string[]; } export function get(): Input { const args = stringAr...
def create_oauth_for_device(sender, instance, created, **kwargs): if created: application, created = Application.objects.update_or_create( name=str(instance.uuid), defaults={ "user": instance.user, "name": str(instance.uuid), "skip_auth...
package com.simibubi.create.foundation.networking; import com.simibubi.create.foundation.tileEntity.SyncedTileEntity; import me.pepperbell.simplenetworking.S2CPacket; import me.pepperbell.simplenetworking.SimpleChannel.ResponseTarget; import net.minecraft.client.Minecraft; import net.minecraft.client.network.play.Cli...
<filename>qtools/exceptions.py class InvalidLookupUsage(Exception): pass class InvalidFieldLookupCombo(InvalidLookupUsage): """ This is not a valid field-type/lookup combination. Example: obj_matches_q(obj, Q(is_active__endswith='Bob')) # throw exception because using a stri...
/** * Create a map from an array of strings to an array of column-id integers in mCursor. * If mCursor is null, the array will be discarded. * * @param from the Strings naming the columns of interest */ protected void findColumns(String[] from) { if (mCursor != null) { int i...
Lake Hylia is a recurring location in The Legend of Zelda series. It is the largest body of water in Hyrule and is commonly guarded by the Zora people.[1] Lake Hylia is usually home to an underwater temple that is guarded by the Zoras.[2][3] Features and Overview The Legend of Zelda Lake Hylia is located in the cent...
The NASA/ESA Hubble Space Telescope has made detailed observations of the dwarf galaxy NGC 2366. While it lacks the elegant spiral arms of many larger galaxies, NGC 2366 is home to a bright, star-forming nebula and is close enough for astronomers to discern its individual stars. The starry mist streaking across this i...
<gh_stars>0 module DumpMessages where import Network.Transport import Network.Ethereum.Crypto import Data.Serialize import qualified Data.ByteString.Char8 as BS8 import qualified Data.ByteString.Base16 as B16 import Data.Char import Text.Printf import qualified Data.Map as Map import qualified Data.Set as Set import...
#!/usr/bin/python #coding: utf8 def sum_fact(nb: int) -> int: result = 0 for i in range(nb+1): result += i return result def part1(filename: str) -> int: fuel_cost = [] with open(filename) as f: positions = [int(pos) for pos in f.read().split(',')] for i in range(max(positions)...
k = list(map(int,input().split(" "))) cost = k[0] dollars = k[1] bananas = k[2] i=1 fcost = 0 for i in range(bananas+1): fcost = fcost+(cost*i) final = fcost - dollars if(dollars > fcost): print(0) else: print(final)
<gh_stars>0 package newteam import ( "fmt" "io/ioutil" "os" "strings" ) const ( templateFilePath = "_base/template.md" newTemplateFormat = "%s/template.md" ) func NewTeam(teamCode string) { if len(teamCode) > 6 { fmt.Println("Code is too long! Keep it to a max of 6 characters") return } teamCode = str...
/** * Created by zhangyicong on 18-7-25. */ @Configuration public class HttpClientBeanConfig { @Value("${alertmanager.connTimeout:1000}") private int casConnTimeout; @Value("${alertmanager.readTimeout:1000}") private int casReadTimeout; @Bean(name = "alertManagerHttpClient") public JsonHttp...
// Start starts plugin's gRPC service. func (s *Base64Plugin) Start() error { var err error s.listener, err = net.Listen(unixProtocol, s.socketPath) if err != nil { return fmt.Errorf("failed to listen on the unix socket, error: %v", err) } klog.Infof("Listening on %s", s.socketPath) go s.grpcServer.Serve(s.list...
package ru.smartapp.core.answersbuilders; import com.fasterxml.jackson.databind.JsonNode; import org.jetbrains.annotations.NotNull; import ru.smartapp.core.common.MessageName; import ru.smartapp.core.common.dto.incoming.IncomingMessage; import ru.smartapp.core.common.dto.outgoing.PolicyRunAppDto; import ru.smartapp.co...
<p> In 2005 was de Diestenaar toe aan een nieuwe uitdaging. Hij trekt naar de Nederlandse topclub PSV Eindhoven. Ook in Eindhoven groeide Simons uit tot een onmisbare schakel, in 2007 wordt hij zelfs aanvoerder van de lampenclub. In het Philipsstadion haalt Simons maar liefst 3 titels op rij. Zowel in 2006 als in 2007...
{-# LANGUAGE RankNTypes #-} -- {-# LANGUAGE RankNTypes #-} module Elephantom.Renderer.Allocator ( Allocator ) where type Allocator m a = forall r . (m a -> (a -> m ()) -> r) -> r
<filename>test_tree.py import numpy as np import tree._tree from numpy.testing import assert_array_equal from pytest import approx def test_leaf_mapper(): X = np.array([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0], [10.0, 15.0]], dtype='float32') Y = np.array([1.0, 0.0, 0.0, 1.0], dtype='float32') lmb = tree._tre...
def read_pgd(self): self.set_pgd(1) self.commit() self.pgd=self.p.getInAcknowledge() return self.pgd
// ---------------------------------------------------------------------------- // OnBeforeDestroy(): // Invoked just before destroying the windows handle and before TSonorkWin // performs any cleanups (destroy timers, tooltips, etc.) // Saves the current position on screen to the profile's configuration file. ...
/** * Configuration object. * Most users will use either {@link #setBoundedQueue(int)} or {@link #setUnboundedQueue()} method <p> * <b>By default the queue is unbounded</b><p> * * Change thread pool setting if you are calling blocking API such JDBC in pollAsync(). */ public static class Conf { /** * @...
/** * Renders image to the screen. * * Run as a separate thread so that it is updated while the algorithm is run. * * @author rcd */ public class Render extends Command { private static final int DELAY = 200; private Canvas canvas; private RayTracer tracer; private boolean isDone; private Thr...
<gh_stars>0 #!/usr/bin/env python # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests for scripts/master/master_gen.py.""" import os import tempfile import unittest # This adjusts sys.path, so it m...
// XXX_OneofWrappers is for the internal use of the proto package. func (*GCPVPCIngressEgressGwType) XXX_OneofWrappers() []interface{} { return []interface{}{ (*GCPVPCIngressEgressGwType_NoNetworkPolicy)(nil), (*GCPVPCIngressEgressGwType_ActiveNetworkPolicies)(nil), (*GCPVPCIngressEgressGwType_NoForwardProxy)(ni...
<gh_stars>10-100 ''' python run_classifier.py --config-path=examples/configs/include/ --config-name=gcn_bert hydra.run.dir=./slr_experiments/INCLUDE50/GCN-BERT/ ''' import hydra import pytorch_lightning as pl from openhands.apis.classification_model import ClassificationModel from openhands.core.exp_utils import get_t...
import React from 'react'; import { Cell, Coord } from '../../core/model/Cell'; import { CellButton } from './CellButton'; interface Props { grid: Cell[][]; mode: string; setMode: React.Dispatch<React.SetStateAction<string>>; setGrid: React.Dispatch<React.SetStateAction<Cell[][]>>; start: Coord; setStart:...
import sys h, w = [int(i) for i in sys.stdin.readline().split()] if h % 3 == 0 or w % 3 == 0: print(0) else: _min = min(h,w) _max = max(h,w) s = h * w res = 1e9 for x in [_max // 3, _max//3+1]: if (_max-x)%2==0: ls = [_min * x, _min*(_max - x)//2] elif _min % 2 == 0: ...
def bin_from_float(number: float): integer = int(number) fractional = abs(number) % 1 count = len(str(fractional)[2:]) binary = [] while (count > 0): fractional = fractional * 2 if fractional >= 1: fractional = fractional - 1 binary.append('1') else: ...
The Mediator Role of Feelings of Guilt in the Process of Burnout and Psychosomatic Disorders: A Cross-Cultural Study Burnout was recently declared by WHO as an “occupational phenomenon” in the International Classification of Diseases 11th revision (ICD-11), recognizing burnout as a serious health issue. Earlier studie...
The Electrical properties of nanomaterials derived from durian skin waste by using a various types of electrodes for bio-battery application This research aimed to show on electricity from Durian skin waste nanomaterials. The compounds that abundant in Durian skin waste are phosphate compounds (PO4). This phosphate co...
/** * Get the list of human friendly string representation for all possible values. */ public static ArrayList<String> titles() { ArrayList<String> titles = new ArrayList<String>(); for(ActionOnExistence method : ActionOnExistence.all()) titles.add(method.toTitle()); return titles; }
/** * Local template local abstraction to allow for default values and central point of access for all things * related to creating items and templates * * @author Aaron Zeckoski (aaronz@vt.edu) * @author Antranig Basman (antranig@caret.cam.ac.uk) */ public class LocalTemplateLogic { private EvalCommonLogic ...
#include <iostream> #include <algorithm> #include <queue> #include <stack> using namespace std; struct tree{ long long x; long long a; }; bool compare(tree a, tree b){ return a.x < b.x; } int main(){ stack<tree> stL; queue<tree> queR; long long max1 = 0, max2 = 0; long long n; tree a[10...
/*- * %sccs.include.proprietary.c% */ #ifndef lint static char sccsid[] = "@(#)refer0.c 4.2 (Berkeley) 04/18/91"; #endif /* not lint */ #include "refer..c" FILE *in = stdin; FILE *fo = stdout; FILE *ftemp = stdout; int endpush = 0; int sort = 0; int labels = 0; int keywant = 0; int bare = 0; int biblio = 0; int sc...
The debate over the saying of the Lord's Prayer in a public school is heating up in southern Alberta. One elementary school in Taber has temporarily cancelled the daily practice following a complaint from a parent. Alberta is the only province in the country where the saying of the prayer is guaranteed under the Scho...
def slice_by_anc(unsliced_aln_obj, deepestanc_to_child): anc_names={} sliced_dict={} i = 1 for anc in deepestanc_to_child: anc_names[anc] = os.path.commonprefix(deepestanc_to_child[anc]).replace("_","") if os.path.commonprefix(deepestanc_to_child[anc])[:-1] == '': anc_names[a...
import { HowDoYouFeelDomainModel } from "../../../../domain.types/clinical/symptom/how.do.you.feel/how.do.you.feel.domain.model"; import { HowDoYouFeelDto } from "../../../../domain.types/clinical/symptom/how.do.you.feel/how.do.you.feel.dto"; import { HowDoYouFeelSearchFilters, HowDoYouFeelSearchResults } from "../../....
This article is over 3 years old Owners of business on Mains road, Sunnybank, reportedly planted pest-repellent bombs inside store, which then caused a vapour explosion A Brisbane restaurant has been partially blown apart after dozens of cans of pest repellent caused an explosion. The owners of the business on Mains...
/** * Converts this Jackson-friendly adapted CommandAliasSet object into the model's {@code CommandShortcutSet} object. * * @throws IllegalValueException if there were any data constraints violated in the adapted commandShortcutSet. */ public CommandShortcutSet toModelType() throws IllegalValueExcep...
from datasets.dataset import Dataset, RLDataset, ClassificationDataset
declare module 'github-injection' { export default function inject(cb: () => void): void }
/** * <p>Auto generated code. * <p><strong>Do not modify!</strong> * <p>Please use the org.web3j.codegen.CrosschainSolidityFunctionWrapperGenerator in the * <a href="https://github.com/PegaSysEng/sidechains-web3j/tree/master/besucodegen">codegen module</a> to update. * * <p>Generated with web3j version 4.6.0-SNA...
#ifndef NH_TTY_RESULT_H #define NH_TTY_RESULT_H #ifndef DOXYGEN_SHOULD_SKIP_THIS /** * netzhaut - Web Browser Engine * Copyright (C) 2020 The netzhaut Authors * Published under MIT */ #endif /** @addtogroup lib_nhtty_enums * @{ */ /** * Return values for functions. */ typedef enum NH_TTY...