content
stringlengths
10
4.9M
/** * Internal Device I/O Control entry point. * * @param pDevObj Device object. * @param pIrp Request packet. */ static NTSTATUS vbgdNtInternalIOCtl(PDEVICE_OBJECT pDevObj, PIRP pIrp) { NTSTATUS Status = STATUS_SUCCESS; PVBOXGUESTDEVEXTWIN pDevExt = (PVBOXGUESTDEVEXTWIN)...
Genetic and molecular aspects of androgenetic alopecia Androgenetic alopecia is the most common form of progressive hair loss in humans. A genetic predisposition and hormonal status are considered as major risk factors for this condition. Several recent advances in molecular biology and genetics have increased our und...
Aaron Finch - "Smith was moving around the crease and played a couple through his legs, I don't know how he does that. He was super and that's really shown the class of the player" © Getty Images Steven Smith started this series as a somewhat miffed 12th man in Perth. Three games on, and in Canberra, Smith showed pre...
<gh_stars>0 #ifndef SIMPLE_REPL_EVAL_TCC_ #define SIMPLE_REPL_EVAL_TCC_ /** * @file eval.tcc * * Read values from stdin, execute a function and write the result to stdout. */ #include "tuple.tcc" /** * Execute a function. * * All parameters have been collected since function pointer @a *f_ has no * paramete...
/** * File: NodeEditorInput.java Copyright (c) 2010 phyokyaw 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 * version 2 of the License, or (at your option) any later version. This prog...
def fit(self, table_data): raise NotImplementedError
/** Tests anything that's necessary for the null pointer analysis. */ public void testNullPointerRelatedStatements() throws IOException { assertNullDefinition("data ax type ref to string", "ax"); assertNullDefinition("field-symbols <ax>", "<ax>"); assertNullAssignment("unassign <a>.", "<a>"); assertNullAssignme...
This letter to Ross Ulbricht was written by Roger Ver. Hello Ross, I don’t think I’m very good at writing letters, so I’ll just tell you what I think. Mostly I just want you to know that the world has not forgotten you, or the ideas you helped to spread. In fact, I suspect you will go down in history in a similar s...
Source: Hutchins Center Welcome to Austerity U.S.A., where the deficit is back below 3 percent of GDP and growth is still disappointing—which aren't unrelated facts. It started when the stimulus ran out. Then state and local governments had to balance their budgets amidst a still-weak economy. And finally, there was ...
/** * Remove um fornecedor do controller. * * @param nome nome do fornecedor */ public void removeFornecedor (String nome) { try { Consistencia.consisteNaoNuloNaoVazio(nome, "nome do fornecedor"); this.validaFornecedorExiste(nome, true); this.fornecedores....
from sys import stdin input=stdin.readline """def gcd(a,b): if(b==0):return a return gcd(b,a%b)""" def answer(): if(a > b): v1=10**(a-1) v2='1'*(b-c+1)+'0'*(c-1) else: v2=10**(b-1) v1='1'*(a-c+1)+'0'*(c-1) return [v1,v2] for T in r...
On the Scalability Problem of Highway Ad Hoc Network Vehicular Ad hoc Network in a highway is composed of high speed vehicles or nodes which induce fast topology changes in their configuration. In order to solve the connectivity and scalability problems of VANETs, we introduce the architecture of a Vehicular hybrid ad...
package me.etki.grac.infrastructure.dto.github; /** * @author Etki {@literal <<EMAIL>>} * @version %I%, %G% * @since 0.1.0 */ public class RateLimit { private ResourceSection resources; private ResourceLimit rate; public ResourceSection getResources() { return resources; } public Rat...
def mute_print(): global _ORIGINAL_STDOUT, _ORIGINAL_STDERR, _MUTED if _MUTED: return _MUTED = True _ORIGINAL_STDOUT = sys.stdout _ORIGINAL_STDERR = sys.stderr sys.stdout = WritableNull() sys.stderr = WritableNull()
/** * Validate rpm package to remove. Valid if: * a) package exists, * b) checksums (checksum of the existing package = checksum from request header) are equal. * @param file File key * @param checksum Accepted checksum to compare * @return True is package is valid */ private Completi...
use std::collections::{HashMap, HashSet}; use std::hash::Hash; use std::rc::Rc; use derive_more::Display; use crate::types::DataType; #[derive(Clone, Debug, Display, Hash, PartialEq, Eq)] pub enum StructMemberAttr { #[display(fmt = "align({_0})")] Align(u8), } #[derive(Clone, Debug, Hash, PartialEq, Eq)] pu...
__all__ = [ 'core', 'utils', 'pool' ]
Hitman TV Series in the Works at Hulu from John Wick Creator Hitman TV Series in the Works at Hulu from John Wick Creator Share. Hulu wants Hitman to become a flagship TV series. Hulu wants Hitman to become a flagship TV series. Hulu is developing a Hitman TV series with John Wick creator Derek Kolstad. Deadline re...
For thirty years, sailboat racing teams from around the world have descended on Key West for a week of highly competitive races. Last year, fourteen countries participated in Key West Race Week. Considered one sailing’s ideal locations, especially at that time of year when frozen sailors from the North crave the warmth...
def prepare_send_keyreg_online_transactions(self, vote_pk, selection_pk, state_proof_pk, vote_first, vote_last, vote_key_dilution, address=None): if not address: address = self.user_address return prepare_send_keyreg_online_transactions(address, ...
Budweiser maker Anheuser-Busch InBev (BUD) continued its craft-brewing spree in its own Belgian backyard as it nears the finish line on its £79 billion ($105.49 billion) acquisition of U.K. peer SABMiller (SBMRY) In Belgium, AB InBev agreed to buy Bosteels from the eponymous family that founded the brewery in the East...
<filename>tasks/task1044/longest-duplicate-substring_test.go<gh_stars>1-10 package task1044 import ( "testing" "github.com/stretchr/testify/assert" ) func Test_longestDupSubstring(t *testing.T) { assert.Equal(t, "ana", longestDupSubstring("banana")) } func Test_longestDupSubstring2(t *testing.T) { assert.Equal(...
/** * Computes the entity embeddings based on trained word embeddings * * @author Kris * */ public class LauncherEmbeddingComputer { public static void main(String[] args) { try { final EnumModelType KG = EnumModelType.CRUNCHBASE; System.out.println("Transforming python entity embeddings into a Java map"...
package cn.web; public class runController { int a; double b; boolean c; char d; float f; byte e; long h; short j; public static void main(String args[]){ runController a=new runController(); System.out.println("整型的默认值是:"+a.a); System.out.println("双精度浮点型的默认值...
#include<bits/stdc++.h> using namespace std; unsigned long long ull; int fac(int n){ int temp=1; while(n>0){ temp*=n--; } return temp; } int main(){ int n; cin>>n; map<pair<queue<int>, queue<int>>, int>mp; //int max=fac(n+1); int k1; cin>>k1; std::queue<int>a;...
/** * Attempt to kill the host by removing them from their location. */ private boolean fatal() { boolean isFatal = Probability.chance(fatalityRate.get()); if (isFatal) { host.setLocation(null); } return isFatal; }
/** * Entity to store build information of pipeline * * @author Infosys * */ public class BuildInfo { @SerializedName("buildtool") @Expose private String buildtool; @SerializedName("artifactToStage") @Expose private ArtifactToStage artifactToStage; // @SerializedName("castAnalysis") // @Expose // ...
Improving the manufacturing process quality and capability using experimental design: A case study Experimental design is essentially a strategy of planning, designing, conducting and analysing experiments so that valid and reliable conclusions can be drawn in the most effective manner. Experimental design has proved ...
package domain type TypedConfig interface { Path(Type) string } type ConfigPath map[Type]string func (c ConfigPath) Path(p Type) string { return c[p] }
/// Returns an iterator over the bytes that make up this domain name pub fn bytes(&self) -> NameBytes<'a> { // Top 2 bits of a length octet indicate that it and the next byte are a pointer to a label if self.labels.len() >= 2 && self.labels[0] >> 6 == 0b11 { let pointer = (u16::from_be_bytes...
def load_search_index(app): if os.environ.get('FLASK_APP') and not os.environ.get('WERKZEUG_RUN_MAIN'): app.logger.warn('Skip loading index on Flask debug reloader thread on PID {}'.format(os.getpid())) return app.logger.info('Loading search index') app.search_index = BallTreeEmbeddingIndex(...
<gh_stars>1-10 import pandas as pd import numpy as np import json df = pd.read_csv('binned.csv') j = len(df.index) df0 = df[df.bin == 1] df1 = df[df.bin == 2] df2 = df[df.bin == 3] df3 = df[df.bin == 4] df_sam0 = df0.sample(n=1480) df_sam1 = df1.sample(n=1480) df_sam2 = df2.sample(n=1480) df_sam3 = df3.sample(n=1480...
Analyzing Program Behavior of SPECint2000 Benchmark Suite using Principal Components Analysis Abstract—Reducing simulation time during the phase of design of a microprocessor has been one of the key issues discussed in the community lately. This report tries to throw light on program behavior of the whole SPECint 2000...
<gh_stars>1-10 # Generated by Django 2.2.13 on 2020-07-16 16:25 import django.contrib.postgres.fields.jsonb import django.db.models.deletion import django_extensions.db.fields from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ...
LAUDERHILL (CBSMiami) — Two Broward families are grieving over the lives lost in what investigators are calling a murder-suicide. Luckson Tilus shot and killed his estranged wife Wilner before turning the gun on himself, investigators said. According to Wilner’s mother, Luckson Tilus showed up to her Lauderhill home ...
// InverseTransform transforms discretized data back to original feature space. func (m *KBinsDiscretizer) InverseTransform(X mat.Matrix, Y mat.Mutable) (Xout, Yout *mat.Dense) { NSamples, _ := X.Dims() NFeatures := len(m.BinEdges) Xout = mat.NewDense(NSamples, NFeatures, nil) base.Parallelize(-1, NFeatures, func(t...
<reponame>AaronNGray/-babel-plugin-flow-to-typescript<filename>test/visitors/ClassDeclaration.test.ts<gh_stars>0 import { testTransform } from '../transform'; test('empty class', () => { const result = testTransform(`class C {}`); expect(result.babel).toMatchInlineSnapshot(`"class C {}"`); expect(result.recast)....
/** * Handles drawing the brighter "scan line" around the main projection cube. These lines show visibly * where the projection arcs meet the main projection cube. */ private void drawScanLine(FieldProjectorTile tile, MatrixStack mx, IRenderTypeBuffer buffers, AxisAlignedBB fieldBounds, double gameTime) ...
Israel should provide military training to Kurdish fighters engaged in war with Islamic State in Iraq and Syria, says an Israeli-Canadian woman who has just returned from fighting alongside the Kurdish and Christian insurgent groups in those countries. Gill Rosenberg, believed to be the first female foreigner to join ...
def create_match( self, players: tuple, tournament_id: int, round_id: int, winner: int, id_num: int = 0, no_db_save: bool = False ): if id_num == 0: id_num = self.find_next_id(self.matches_table) match = Match( players=players, tournament_id=tournament_id,...
/* Creates a thread for the @tal_file */ static int __do_file_validation(char const *tal_file, void *arg) { struct tal_param *t_param = arg; struct validation_thread *thread; int error; error = db_rrdp_add_tal(tal_file); if (error) return error; thread = malloc(sizeof(struct validation_thread)); if (thread == ...
/*************************************************************************************** Decompress - Sample 3 Copyright (C) 2000-2001 by <NAME> All Rights Reserved. Feel free to use this code in any way that you like. This example illustrates dynamic linkage to MACDll.dll to decompress a whole file and displa...
// CreateJob creates a new build job. func (inst BuildJobHandler) CreateJob(jobUUID string, name string, userID string, streamInstance StorageStream) (BuildJob, error) { var jobInstance ref ret := C.CCall_libmcdata_buildjobhandler_createjob(inst.wrapperRef.LibraryHandle, inst.Ref, (*C.char)(unsafe.Pointer(&[]byte(job...
/** * Created by liubing on 2018/3/31 */ @RestController public class HKDeviceManagement { private HKDeviceService hkDeviceService; private final KlassRepository klassRepository; @Autowired public HKDeviceManagement(HKDeviceService phkDeviceService, KlassRepository klassRepository) { this.hkD...
/** * A code formatter designed to work with {@link File Files}. * * @author Phillip Webb * @see Formatter */ public class FileFormatter { private final Formatter formatter; public FileFormatter() { this(new Formatter()); } public FileFormatter(FormatterOption... options) { this(new Formatter(options));...
Donald Trump’s nominee for secretary of state will surrender all unpaid stock for a cash payment before his Senate confirmation hearing starts next week Exxon boss Rex Tillerson will receive more than $180m from the company as he severs financial ties with the oil industry to become Donald Trump’s secretary of state. ...
Modified composite nonlinear feedback control for output tracking of nonstep signals in singular systems with actuator saturation This paper considers output tracking of nonstep reference signals for multi‐input multi‐output singular systems subject to actuator saturation and external disturbances. Singularity of the ...
#include<bits/stdc++.h> #define ll long long using namespace std; const ll mxn = 1000000000; ll d(ll x){ ll sum = 0; while(x){ sum += x%10; x/=10; } return sum; } int main(){ ios::sync_with_stdio(0); cin.tie(0); ll a, b, c, x; cin>>a>>b>>c; int count = 0; vecto...
package com.nvidia.developer.opengl.models.obj; import org.lwjgl.util.vector.Writable; import java.nio.ByteBuffer; import java.util.Arrays; final class NvModelExtFileHeader implements Writable{ static final int SIZE = 4 + 4 * 4 + 4 * 3 * 3; final byte[] _magic= new byte[4]; int _headerSize; // includes magic ...
<gh_stars>1-10 import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class AudioService { private audio: any; private bgAudio: any; private isAudioOn: boolean; // audio src private bgAudioSrc: string; private startAudioSrc: string; private receiveMsgAudioSrc: string; ...
/** * Rearranges the array in ascending order, using the natural order. * @param a the array to be sorted */ private static void sort(Comparable[] a) { Comparable[] aux = new Comparable[a.length]; int low; int high; Stack<Bounds> left = new Stack<Bounds>(); Stack<B...
def create_op_move_if_non_existant(self): self.ensure_one() if not self.account_opening_move_id: default_journal = self.env['account.journal'].search([('type', '=', 'general'), ('company_id', '=', self.id)], limit=1) if not default_journal: raise UserError(_("Plea...
TAMPA – Kenny Franklin became a heroic version of Florida Man on Thursday, June 29th, 2017, on his way to work via Uber. Suddenly, his Uber driver suffered a seizure while driving on I-4 near Interstate 275. Franklin explains, “His foot is accelerating on the gas, and instantly, I’m in the back seat wondering, ‘Okay, ...
/** * A trapezoidal pulse shape, which combines a rise segment, a constant-power * segment, and a fall segment. The rise and fall ratios can be changed. * */ public class TrapezoidalPulse extends PulseTemporalShape { private double rise; private double fall; private double h; /** * Constructs...
def compute_total_system_power( system: models.PVSystem, dataset: NSRDBDataset ) -> pd.DataFrame: out: pd.DataFrame = pd.DataFrame( [], columns=["ac_power", "clearsky_ac_power"], index=pd.DatetimeIndex([], name="time"), dtype="float64", ) for data in dataset.generate_da...
937 Parental education and childhood injuries: scoping review protocol Background All around the world, injuries in childhood have an important impact on individual and population health. Childhood unintentional injuries are a leading cause of death globally among children and young people aged 0–17 years. The latest ...
On the derivation of control-to-output voltage of PWM current-mode controlled modular DC-DC converters: A PSIM-supported proof In this paper we extend our previous work on deriving the control-to-output voltage transfer functions of pulse-width modulated current-mode controlled parallel-input/series-output dc-dc conve...
<reponame>briandconnelly/PlateTools # -*- coding: utf-8 -*- """ Interface for Plate Reads A Read is a collection of data associated with one read of a Plate (see Plate.py). Data consists of an array of values associated with each well. More specific subclasses of Read may include more information (e.g. time or temper...
/*********************************************************************** * XG SERVER * core/filecache.h * Хэш таблица * * Copyright (с) 2014-2015 <NAME>, <EMAIL> **********************************************************************/ #include "core.h" #include "kv.h" #include "globals.h" #include "filecache....
def download_from_url( url_template: str, freq: str, initial_year: int, final_year: int, initial_month: int = 1, final_month: int = 12, initial_day: int = 1, final_day: Optional[int] = None, merra2_names_map: Optional[dict] = None, output_dir: Union[str, Path] = None, delete_...
<reponame>Johniel/contests<filename>topcoder/srm/src/SRM624/DrivingPlans.cpp #include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; const int V = 2000 + 5; vector<p...
/* * Copyright © 2019 Ebrahim Byagowi * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above c...
/** * Set the text to {@link #descriptionText} and {@link #additionalText}, showing/hiding the * {@link #moreButton} as necessary. */ private void configureDescription() { descriptionText.setMaxLines(NUM_LINES_IN_CONDENSED_DESCRIPTION); descriptionText.getViewTreeObserver().addOnPreDrawListener(new ViewTreeO...
Literary and Cultural Studies Port Rupture ( s ) and Cross-Racial Kinships in Dionne Brand and Lee Maracle This paper examines Lee Maracle’s Talking to the Diaspora and Dionne Brand’s A Map to the Door of No Return for their respective responses to the Komagata Maru in 1914 and to the Chinese migrants denied entry int...
/** * This class will help hold the views */ class MovieViewHolder extends RecyclerView.ViewHolder { //Variables that will help to set the information needed in the RecyclerView that will display // the movies list in the activity_main.xml layout. TextView ratingValue, errorMessage; ...
<reponame>ChrisLMerrill/muse<filename>selenium/src/main/java/org/museautomation/selenium/mocks/MuseMockProvider.java<gh_stars>10-100 package org.museautomation.selenium.mocks; import org.museautomation.core.*; import org.museautomation.selenium.*; import org.openqa.selenium.*; /** * @author <NAME> (see LICENSE.txt f...
import * as io from 'socket.io-client'; import { Injectable, Component } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/distinct'; import { AppSettings } from './app-settings'; import { AuthService } from './auth-service'; @Injectable() export class SocketService { ...
/** * Determines a new construction stage info for a site. * * @param site the construction site. * @param skill the architect's construction skill. * @return construction stage info. * @throws Exception if error determining construction stage info. */ public ConstructionStageInfo determineNewStageInfo(...
n = int(raw_input()) a = map(int, raw_input().split()) a.sort() if a[-2] * 2 > a[-1]: print 0 quit() mod = 998244353 f = [1] * (n + 1) for i in xrange(1, n + 1): f[i] = f[i-1] * i % mod invf = [1] * (n + 1) invf[n] = pow(f[n], mod - 2, mod) for i in xrange(n - 1, 0, -1): invf[i] = invf[i+1] * (i + 1) % ...
/* * org.nrg.nifti.NiftiHeader * XNAT http://www.xnat.org * Copyright (c) 2014, Washington University School of Medicine * All Rights Reserved * * Released under the Simplified BSD. * * Last modified 10/4/13 10:50 AM */ package org.nrg.nifti; public class NiftiHeader { public byte dim_info; ...
Severe Erosive Pill Esophagitis Induced by Crizotinib Therapy: A Case Report and Literature Review Previous case reports have described esophagitis thought to be secondary to crizotinib, an oral tyrosine-kinase inhibitor used in the treatment of anaplastic lymphoma kinase- (ALK-) positive non-small cell lung cancer (N...
<gh_stars>0 import ComboboxOptionList from './ComboboxOptionlist' export default ComboboxOptionList
/* * Handle SMI-S result. */ public class XIVSmisStorageDevicePostProcessor { private static final Logger _log = LoggerFactory .getLogger(XIVSmisStorageDevicePostProcessor.class); private XIVSmisCommandHelper _helper; private IBMCIMObjectPathFactory _cimPath; private CIMConnectionFactory _...
#include "fluid_transport_application_variables.h" namespace Kratos { KRATOS_CREATE_VARIABLE(double,PECLET) KRATOS_CREATE_VARIABLE(double,THETA) KRATOS_CREATE_VARIABLE(double,PHI_THETA) KRATOS_CREATE_3D_VARIABLE_WITH_COMPONENTS(PHI_GRADIENT) }
/** * Class for manipulating the LEDs on the chess board. 8x8 for a total of * 64 LEDs controlled. You can turn them on/off via index (0-63) or x,y position. * * Uses MCP23017 ports 0x20-0x23 (000-011 binary). * * +----- -----+ * GPB0 <--> |*1 - 28| <--> GPA7 * GPB1 <--> |2 27| <--> GPA6 *...
Process description and evaluation of Canadian Physical Activity Guidelines development Background This paper describes the process used to arrive at recommended physical activity guidelines for Canadian school-aged children and youth (5-17 years), adults (18-64 years) and older adults (≥65 years). Methods The Canadia...
//! Types for the `GroundStation` service. /// The [`AWS::GroundStation::Config`](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html) resource type. #[derive(Debug, Default)] pub struct Config { properties: ConfigProperties } /// Properties for the `Config` resour...
def agglomerative_information_bottleneck_clustering(initial_clusters, n_clusters): n = len(initial_clusters) if n < n_clusters: raise Exception('Please decrease B') while n > n_clusters: argmin_i = 0 argmin_j = 0 minimum_dI = sys.maxsize argmin = None for i in...
def check_recent_past(self, w: etree._Element, language: str) -> Optional[MultiWordExpression]: is_recent_past = False rp_pre_pos = self.config.get(language, 'rp_pre_pos').split('|') rp_pre_lem = self.config.get(language, 'rp_pre_lem') rp_inf_pos = self.config.get(language, 'rp_inf_pos')...
/** * Everythin is set up we start our Work */ private void startGeneration() { cleanTestDataBase(); LOG.info("Done Cleaning DB"); List<BayUser> users = generateUsers(10000); LOG.info("Done creating and persisting 1000 Users"); final List<BayUser> bayUsers = bayUserDAO....
from sqlalchemy.orm import Session from DAL import schemas, db_models def get_architecture_by_id(db: Session, arch_id: int) -> db_models.Architecture: return db.query(db_models.Architecture).filter(db_models.Architecture.id == arch_id).first() def store_new_architecture(db: Session, architecture: str) -> db_mo...
/** * Search the complex data type, its members and the base type if the match * the item that is searched. * * @param complex The complex data type that is searched for the datatype * @param item The datatype to search for * @return List containing {@link ModelObject} object that match the datatype ...
/** * <p>Implements selection of <i>n</i> candidates from a population by selecting * <i>n</i> candidates at random where the probability of each candidate getting * selected is proportional to its fitness score. This is analogous to each * candidate being assigned an area on a roulette wheel proportionate to its ...
/* * Find or create a translation for `args'. Returns TCA of "best" current * translation. May return nullptr if it is currently impossible to create a * translation. */ TransResult MCGenerator::getTranslation(const TransArgs& args) { if (auto const tca = findTranslation(args)) return tca; return createTranslat...
/// Start building an EGL context. /// /// This function initializes some things and chooses the pixel format. /// /// To finish the process, you must call `.finish(window)` on the `ContextPrototype`. pub fn new<'a>( egl: ffi::egl::Egl, pf_reqs: &PixelFormatRequirements, opengl: &'a GlAttributes...
/** * request user's input as one line of text <br> * with hidden = true: <br> * the dialog works as password input (input text hidden as bullets) <br> * take care to destroy the return value as soon as possible (internally the password is deleted on return) * * @param msg * @param preset * @par...
def print_name(name): rospy.loginfo("") rospy.loginfo("######################################") rospy.loginfo("Starting Scenario: {0} ...".format(name)) rospy.loginfo("######################################")
def validate(self): self.random_sleep(self.val_time_mean, self.val_time_std) return np.random.random()
/** * The class that serves as a synchronization point, and future callback, * for async session initialization, as well as parallel cancellation. */ private final class SessionInitContext implements FutureCallback<WmTezSession> { private final String poolName; private final ReentrantLock lock = new R...
/** * Classes used with configuration service. */ public final class ConfigObjects { private static final Class[] CLASSES = new Class[]{ ServiceType.class, Service.class, Application.class, Language.class, Mapping.class, Module.class, ...
<filename>src/main/java/sk/tomsik68/mclauncher/impl/versions/mcassets/MCAssetsVersionLauncher.java package sk.tomsik68.mclauncher.impl.versions.mcassets; import net.minidev.json.JSONObject; import net.minidev.json.JSONStyle; import sk.tomsik68.mclauncher.api.common.ILaunchSettings; import sk.tomsik68.mclauncher.api.co...
<filename>core/src/phoenixTeam/event/CancellableBase.java package phoenixTeam.event; /** * @author Strikingwolf */ public class CancellableBase implements Cancellable { protected boolean cancelled = false; @Override public boolean cancelled() { return this.cancelled; } @Override public boolean cancel() { ...
<commit_msg>Make User model compatible with Django 2.x <commit_before>from django import VERSION from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.db import models from django.utils.translation import ...
A combined TMS-EEG study of short-latency afferent inhibition in the motor and dorsolateral prefrontal cortex. Combined transcranial magnetic stimulation and electroencephalography (TMS-EEG) enables noninvasive neurophysiological investigation of the human cortex. A TMS paradigm of short-latency afferent inhibition (S...
<reponame>mvdw/pak128<gh_stars>0 #! /usr/bin/python # -*- coding: utf-8 -*- # # <NAME> 2010-2011 # Python 2.6, 3.1 # # for Simutrans # http://www.simutrans.com # # code is public domain # # extract names of all present objects from __future__ import print_function import os import simutools Data = [] simuto...
import { tokens } from '@equinor/eds-tokens'; import styled from 'styled-components'; export const Section = styled.div` display: flex; flex-direction: column; margin: 0.2em; align-items: flex-start; width: 100%; `; interface SectionTitleProps { faded?: boolean; bold?: boolean; fontSiz...
/** * This object contains factory methods for each Java content interface and Java * element interface generated in the * com.microsoft.windowsazure.services.media.implementation.atom package. * <p> * An ObjectFactory allows you to programatically construct new instances of the * Java representation for XML cont...
// import * as mongoose from 'mongoose'; import { DB } from './db'; export const dbProviders = [ { provide: 'DATABASE_CONNECTION', useFactory: (): DB => new DB('<KEY>'), }, ];
def trim(self) -> None: if self.is_leaf: return if self.left is not None: if not self.left.leaf_path(): self.left = None if self.right is not None: if not self.right.leaf_path(): self.right = None if self.num_children() ...
While biological and technological evolution follows similar processes, our biological evolution can be considered to be at a virtual standstill. As such, it only makes sense that technological evolution will eclipse its biological counterpart. Either as a means to augment, amplify, or substitute our senses and biologi...