content
stringlengths
10
4.9M
/** Configuration for Lint in Eclipse projects */ class ProjectLintConfiguration extends DefaultConfiguration { private boolean mFatalOnly; private final static QualifiedName CONFIGURATION_NAME = new QualifiedName(AdtPlugin.PLUGIN_ID, "lintconfig"); //$NON-NLS-1$ @VisibleForTesting Project...
import { InventarioService, FarmaciaService } from './inventario.service'; import { InventarioDto, FarmaciaDto } from './dto/inventario-dto'; export declare class InventarioController { private readonly inventarioService; constructor(inventarioService: InventarioService); createInve(createInveDto: Inventari...
import { Module } from '@nestjs/common'; import { CounterService } from './counter.service'; import { CounterController } from './counter.controller'; @Module({ controllers: [CounterController], providers: [CounterService] }) export class CounterModule {}
T cells in pregnancy. Maternal tolerance of the fetal allograft could be the result of the integration of numerous mechanisms promoted by different cells present in the decidua. Decidual macrophages and dendritic cells, which are found in close association with T lymphocytes are the most potent activators of T lymphoc...
/********************************************************************************* ** ** Copyright (c) 2017 The Regents of the University of California ** ** Redistribution and use in source and binary forms, with or without modification, ** are permitted provided that the following conditions are met: ** ** 1. Redist...
// +build go1.9 package apmsql import "database/sql/driver" type stmtGo19 struct { namedValueChecker driver.NamedValueChecker } func (s *stmtGo19) init(in driver.Stmt) { s.namedValueChecker, _ = in.(driver.NamedValueChecker) } func (s *stmt) CheckNamedValue(nv *driver.NamedValue) error { if s.namedValueChecker ...
Federico Fellini Profile * Titles in Bold Type Will Air on TCM "There is no end. There is no beginning. There is only the infinite passion of life." -Federico Fellini No director captured "the infinite passion of life" as flamboyantly as Federico Fellini, the Italian director whose career spanned the birth of neore...
A Nation Engaged: Is This Still A Land Of Economic Opportunity? Enlarge this image toggle caption Maddie McGarvey for NPR Maddie McGarvey for NPR Americans who endured the brutal 2007-2009 recession and slow recovery now are seeing an economic sunrise: Wages are up, jobs are growing and more families are lifting them...
/** Create a componentOf between whole and part types */ public static componentOf createComponentOf (Classifier whole, int wholeLower, int wholeUpper, String name, Classifier part, int partLower, int partUpper, RefOntoUML.Package container) { componentOf compOf = factory.createcomponentOf(); List<Property> ends =...
/** * Top-level Item that can have child SubItems. */ private static class TopItem extends Item { private final TopComponent tc; private final Item[] subItems; private final Item activeSubItem; public TopItem( TopComponent tc ) { super( extractDisplayName( tc ), t...
A causal and continuous interpretation of the quantum theory: About an original manuscript by David Bohm sent to Louis de Broglie in 1951 The aim of this article is reproduce and analyze an original article of David Bohm sent to Louis de Broglie in 1951. This article is the older document of David Bohm about his well ...
#ifndef UNIT_PREFIX_H #define UNIT_PREFIX_H #include <stdio.h> #include <sys/types.h> #include <stdint.h> struct unit_prefix { const unsigned dont_scale; /* Don't change number, maybe add grouping */ const unsigned dont_group; /* Don't group number */ const unsigned decimal; /* Use powers of 1000 instead ...
<gh_stars>1-10 import sys import os from subprocess import Popen as run from subprocess import PIPE from django.core.management.base import NoArgsCommand, CommandError from django.conf import settings from kronos import uninstall class Command(NoArgsCommand): help = 'Remove tasks from cron' def handle_noar...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
DECL|gfsk_bt_0p3_h_0p5_mode_config|variable|gfsk_bt_0p3_h_0p5_mode_config DECL|xcvr_GFSK_BT_0p3_h_0p5_1mbps_config|variable|xcvr_GFSK_BT_0p3_h_0p5_1mbps_config DECL|xcvr_GFSK_BT_0p3_h_0p5_250kbps_config|variable|xcvr_GFSK_BT_0p3_h_0p5_250kbps_config DECL|xcvr_GFSK_BT_0p3_h_0p5_500kbps_config|variable|xcvr_GFSK_BT_0p3_h...
template<unsigned B> class ullmanset_iter; template<unsigned B> class ullmanset_const_iter; template<unsigned B> class ullmanset_const_stl_iter; template<unsigned B> class ullmanset { private: friend class ullmanset_iter<B>; friend class ullmanset_const_iter<B>; friend class ullmanset_const_stl_iter<B>; ...
def resume_job(print_job_id: str, my_logger: Logger) -> bool: cmd = "lp -i " + print_job_id + " -H resume" out = subprocess.getstatusoutput(cmd) if out[0] != 0: my_logger.critical("Job with id " + print_job_id + " was not sent to printer!!") return False my_logger.warning("Job with id " ...
package io.github.mrspock182; import io.github.mrspock182.exception.CryptographyException; import java.math.BigDecimal; import java.math.BigInteger; import java.time.LocalDate; import java.time.LocalDateTime; public interface Decryption { Long toLong(String value) throws CryptographyException; String toStri...
/// Construct an `mpsse::Context` for the requested interface. pub fn mpsse(&self, interface: ftdi::Interface) -> Result<Rc<RefCell<mpsse::Context>>> { match interface { // Note: we may want to be able to create an MPSSE for interface A in the future. // There are enough IOs for a second...
<reponame>thc202/zap-extensions /* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
/* Copyright 2021 <NAME>. 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, software distrib...
import os from conan.tools.files.files import save_toolchain_args from conan.tools.gnu import Autotools from conans.test.utils.mocks import ConanFileMock from conans.test.utils.test_files import temp_folder def test_source_folder_works(): folder = temp_folder() os.chdir(folder) save_toolchain_args({ ...
// CreateVM wraps the the POST function in the VM API that creates a new VM. // // param requestBody: The struct representing the VM to be created // // param m: map containing provider config info func CreateVM(requestBody *structs.VMInfo, m map[string]string) error { log.Printf("! In create API wrapper") auth, err ...
The idea of a Nietzschean 'politics' has long been under a cloud of suspicion, especially since prominent National Socialists in Germany appropriated Nietzsche as the forerunner of their political agenda. In an effort to distance Nietzsche from this tainted association, subsequent Nietzsche scholarship in the post-war ...
General and split forms of some well-known s-domain algorithms A common frame for some well-known algorithms for the stability analysis of continuous-time linear systems is derived. Specifically, a general polynomial recursion is given which includes as particular cases both Routh- and Levinson-type algorithms and is ...
<filename>src/components/emojiButton.tsx import {BaseEmoji, NimbleEmoji, NimblePicker} from 'emoji-mart'; import React, {FC, Fragment, useState} from 'react'; import data from '../assets/emoji-mart-data.json'; import {isHTMLElement} from '../helpers/domHelpers'; import {getEmojiSheetUrl} from '../helpers/emojiHelpers'...
Sovereign Policy Flexibility for Social Protection: Managing Regulatory Risk in IIAs This Report focuses on the design of regulatory risk in international investment agreements (IIAs), and its counterpart treatment in investment arbitral practices. It demonstrates that the uneven conception and treatment of regulatory...
import math import sys s = input().split() a = int(s[0]) b = int(s[1]) c = int(s[2]) print(math.ceil(a/c)*math.ceil(b/c))
<gh_stars>1-10 import pickle import numpy as np import load_policy import tf_util import tensorflow as tf import pandas as pd def generate_expert_data(envname, max_timesteps, expert_policy_file, num_rollouts, save=True): with tf.Session(): tf_util.initialize() import gym env = gym.make(envn...
/** * @author Marek Mikula * @version 17/5/21 */ public class GetEscapeModuleReadyOption implements TerminalOption { private final Terminal terminal; private final Game game; public GetEscapeModuleReadyOption(Terminal terminal, Game game) { this.terminal = terminal; this.game = game; ...
def gen_NACA4_airfoil(p, m, xx, n_points): def yt(xx, xsi): a0 = 1.4845 a1 = 0.6300 a2 = 1.7580 a3 = 1.4215 a4 = 0.5075 return xx*(a0*np.sqrt(xsi) - a1*xsi - a2*xsi**2 + a3*xsi**3 - a4*xsi**4) def yc(p, m, xsi): def yc_xsi_lt_p(xsi): return (m/...
<reponame>tommyblue/golab-2020-go-game-development package main import ( "image/color" "log" "github.com/golang/freetype/truetype" "github.com/hajimehoshi/ebiten" "github.com/hajimehoshi/ebiten/text" "golang.org/x/image/font" ) const ( sampleText = `Hello, Gophers!` dpi = 72 fontSize = 36 ) type g...
package graphql.analysis; import graphql.Internal; import graphql.execution.ConditionalNodes; import graphql.execution.ValuesResolver; import graphql.introspection.Introspection; import graphql.language.Argument; import graphql.language.Directive; import graphql.language.Field; import graphql.language.FragmentDefiniti...
/** * When multi user settings are updated, this function triggers pertinent updates for central repository. * NOTE: If multi user settings were previously enabled and multi user settings are currently selected, this function assumes * there is a change in the postgres connectivity. * * ...
/** * This is the main application class of the webapp. * @author Lukas F&uuml;lling (lerk@lerk.io) */ @SpringBootApplication public class App implements CommandLineRunner { // The logger we use in this class Logger logger = LoggerFactory.getLogger(App.class); // The Database repository for users @Autowire...
<filename>spec/patterns-test.ts import assert from 'assert'; import * as patterns from '../src/patterns'; describe("Channel pattern stuff", function() { describe("#compile", function() { it("supports wildcard matching", function() { let re = patterns.compile('cardstack:*'); assert.ok(re.test('cardsta...
package jp.co.future.uroborosql.sample; import static org.junit.Assert.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.ut...
/** * test if add given two nums overflow * * @param operand1 first * @param operand2 second * @param result result after the adding * @return 1 means overflow, 0 means not */ private String addOverFlow(String operand1, String operand2, String result) { int X = operand1.char...
<reponame>CodeSeoul/JavaAbstractStaticFinal package org.codeseoul.java.intro; public interface IWritable { public void write(); }
// This is a very dumb implementation for getData handling // by default GDCM simply drop the BulkData so we need to store // the actual BulkData somewhere for proper implementation of getData class SimpleFileXMLPrinter : public XMLPrinter { public: void HandleBulkData(const char *uuid, const TransferSyntax & ts, ...
// AttemptLogin takes the token and server configuration it is given, and tries to call the /jobs endpoint on the server // If it gets a 200 OK, it assumes login is fine, if not, it returns an error func AttemptLogin(server string, token string) error { if server == "" { return errors.New("server is missing") } re...
<filename>samples/vault api/Insert.ts import {Skyflow, generateBearerToken, isExpired, setLogLevel, LogLevel} from "skyflow-node"; var filePath = "<YOUR_CREDENTIAL_FILE>"; setLogLevel(LogLevel.INFO) var bearerToken = "" const skyflow = Skyflow.init({ vaultID: "<VAULT_ID>", vaultURL: "<VAULT_URL>", getBearerToken...
/** * Creates and releases all periods (including ad periods) defined in the last timeline to be * returned from {@link #prepareSource()}, {@link #assertTimelineChange()} or * {@link #assertTimelineChangeBlocking()}. */ public void assertPrepareAndReleaseAllPeriods() { Timeline.Period period = new Timel...
// Code generated by "stringer --type=TocType"; DO NOT EDIT package mmvdump import "fmt" const _TocType_name = "TocIndomsTocInstancesTocMetricsTocValuesTocStrings" var _TocType_index = [...]uint8{0, 9, 21, 31, 40, 50} func (i TocType) String() string { i -= 1 if i < 0 || i >= TocType(len(_TocType_index)-1) { r...
def _locateCommands(self, tag, contents, start): output = [] ind = start startTag = "<" + tag + ">" endTag = "</" + tag + ">" while ind < len(contents): if startTag in contents[ind]: currentLine = "" command = [] while True: if ind == len(contents): print "ERROR: End of file reached...
Twenty Years of Riparian Zone Research (1997-2017): Where to Next? Riparian zones have been used for water quality management with respect to NO in subsurface flow and total P (TP), sediments, and pesticides in overland flow for decades. Only recently has the fate and transport of soluble reactive P (SRP), Hg, emergin...
a=list(map(int,open(0)));print(["Yay!",":("][max(a[:5])-min(a[:5])>a[5]])
<reponame>soygul/recursion-tree-visualizer // a partir de uma adjList, determina a melhores coordenadas (x,y) de cada nó import { Point, TreeNode, AdjList } from '../../../types' // dado uma árvore, retorna as coordenadas de cada vértice no svg de uma forma esteticamente agradável export default function getCoords(adj...
<reponame>zeroam/TIL """cal_prod.py 10만번 곱한 시간 측정 """ import time def cal_prod(): product = 1 for i in range(1, 100000): product = product * i return product if __name__ == "__main__": start_time = time.time() prod = cal_prod() end_time = time.time() print(f"The result is {len(s...
UNITED NATIONS (Reuters) - The U.N. peacekeeping chief strongly denied on Wednesday allegations from the Philippines’ army chief that Filipino peacekeepers in the Golan Heights were ordered to surrender their weapons to Islamist militants who had trapped them. Philippine Armed Forces chief General Gregorio Pio Catapan...
#include <stdlib.h> #include <SDL/sge.h> #include "font.h" #include "misc.h" const char * const FONT_DIR = DATA_DIR "/font"; sge_TTFont *font_load(const char *file, int ptsize) { char buf[1024]; sge_TTFont *font; snprintf(buf, 1024, "%s/%s", FONT_DIR, file); font = sge_TTF_OpenFont(buf, ptsize); if (...
A chip-interleaving DS SS system and its performance under on-off wide-band jamming A modified direct sequence spread spectrum system employing the concept of chip-interleaving is proposed. Its performance under periodic on-off wide-band jamming is analyzed and closed-form bit error rate (BER) performances of the prop...
def linear_skeleton(): rows = np.arange(1,11) coords = np.zeros((10,3), dtype=int) coords[:,0] = rows**2 radii = rows.astype(np.float32) links = [-1, *range(1,10)] df = pd.DataFrame({'rowId': rows, 'x': coords[:,0], 'y': coords[:,1], ...
package app.services.api; import java.util.List; import app.domain.dtos.venues.VenueXmlDto; import app.domain.dtos.venues.VenueinSofiaXmlDto; import app.domain.entities.Venue; public interface VenueService { void save(Venue entity); void save(List<Venue> entity); List<Venue> findAll(); Venue findOneById(L...
/** * Servlet filter responsible merely for setting up {@link InvocationContext}. All servlets relaying on * {@link InvocationContext} should be wrapped by this filter. This filter must be installed after the authentication * filter, if the latter is used. * @author K. Benedyczak */ public class InvocationContext...
/** * Deserialize a given {@link DataInput} as a {@link BlobMessage} object * @param pInput * @return returns the {@link BlobMessage} for the given {@link DataInput} * @throws IOException */ public static BlobMessage deserializeOnlyMeta(InputStream pInput) throws IOException...
#pragma once #ifdef CH2_PLATFORM_WINDOWS #ifdef CH2_BUILD_DLL #define CHAOS2D_API __declspec(dllexport) #else #define CHAOS2D_API __declspec(dllimport) #endif #else #error Chaos2D only supports Windows #endif #define BIT(X) (1 << X)
from sys import stdin,stdout n=int(input()) cycles=list(map(int,stdin.readline().split())) total=0 for i in range(n): cycle=cycles[i] aretes=cycle-1 total=(total+aretes)%2 if total%2==0: stdout.write("2"+"\n") else: stdout.write("1"+"\n")
def is_VDLRecord_file(path): return "vdlrecords" in path
<reponame>dcu/capn-hook<filename>core/default_manifests.go package core // DefaultManifest returns a default manifest func DefaultManifest() *Manifest { return &Manifest{ PreCommit: []*Hook{ &Hook{ Pattern: "*", Run: []string{ "echo {files}", "echo {file}", }, Required: false, }, }...
<reponame>mhuisi/lean4 // Lean compiler output // Module: Init.Default // Imports: Init.Core Init.Control Init.Data.Basic Init.WF Init.Data Init.System Init.Util Init.Fix Init.LeanInit Init.ShareCommon #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang d...
/** * Returns the result of calling {@link CacheLoader#loadAll}, or null if {@code loader} doesn't * implement {@code loadAll}. */ @Nullable Map<K, V> loadAll(Set<? extends K> keys, CacheLoader<? super K, V> loader) throws ExecutionException { checkNotNull(loader); checkNotNull(keys); Stopw...
/** * MQTT Service to connect to a MQTT message broker and subscribe to all messages. * @author Thomas Pilz */ public class MqttService implements MqttCallback { private static final Logger logger = LoggerFactory.getLogger(MqttService.class); private Consumer<KpiMsg> onValidMessageListener; private fina...
print("".strip()) print(" \t\n\r\v\f".strip()) print(" T E S T".strip()) print("abcabc".strip("ce")) print("aaa".strip("b")) print("abc efg ".strip("g a")) print(' spacious '.lstrip()) print('www.example.com'.lstrip('cmowz.')) print(' spacious '.rstrip()) print('mississippi'.rstrip('ipz')) print(b'mississip...
def football(players): if any(len(x) >= 7 for x in players.split("0") + players.split("1")): print("YES") else: print("NO") football(input())
#include <bits/stdc++.h> using namespace std; using ll = int64_t; using P = pair<ll, ll>; using mat = vector<vector<ll>>; inline void IOS() { ios::sync_with_stdio(false), cin.tie(0); } template <typename A, size_t N, typename T> void Fill(A (&array)[N], const T &val){ fill((T *)array, (T *)(array + N), val); } cons...
from .utils import RequestHandler, HTTPException, role_admitted, scanAllLinks, export from .controllers import Roles, add_event_to_user, verify_token, remove_event_from_user from .controllers import get_event, get_all_events, update_event, get_user_events, get_user_tags import json class Events(RequestHandler): ...
<reponame>sfc-gh-xwang/keen import styled from 'styled-components'; import { colors } from '@keen.io/colors'; export const StyledColorPalette = styled.div` display: flex; flex-wrap: wrap; gap: 3px; `; export const SortableContainer = styled.div` display: flex; flex-wrap: wrap; gap: 3px; `; export const A...
def digit(x): if x <= 0: return 0 return x % 10 + digit(x // 10) n = int(input().strip()) ans = min(digit(a) + digit(n-a) for a in range(1, n)) print (ans)
/** * Stub class for performance testing. Replacement for {@link deltix.qsrv.hf.tickdb.impl.TickCursorImpl}. */ public class TickCursorStub1 /*implements TickCursor*/ { public final MessageSourceMultiplexer <InstrumentMessage> mx; private InstrumentToObjectMap<Byte> subscribedEntities = ...
package com.swapab.cctv.creditcard.usecase; public class UserDoesNotExistsException extends RuntimeException { public UserDoesNotExistsException() { super("User not found"); } }
#include <bits/stdc++.h> using namespace std; using ll = long long; #define IOS \ ios::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0) #define CAS \ int cas; \ cin >> cas; \ while (cas--) template <typename T, typename... Args> void te...
/****************************************************************** * * This code is for the Complaints service project. * * * © 2018, Complaints Management All rights reserved. * * ******************************************************************/ package com.zed.config.security; import org.springframework....
def parse(self, line, offset): splits = [x for x in line.expandtabs(1).split(" ") if len(x) > 0] assert len(splits) + offset >= 5, "Help: %s" % (line,) self.gmtoff = splits[2 - offset] self.rule = splits[3 - offset] self.format = splits[4 - offset] if len(splits) >= 6 - o...
<reponame>justidle2012/XJOI_Solution<filename>Lv1/9291/9291.cpp<gh_stars>1-10 #include <cstdio> int main() { printf("I LOVE OI.\n"); return 0; }
<filename>packages/crusher-electron-app/src/extension/ui/app.tsx import React, { useEffect, useMemo, useRef, useState } from "react"; import { render } from "react-dom"; import { SidebarActionsBox } from "./containers/app/sidebarActionsBox"; import { BrowserWindow } from "./containers/app/browserWindow"; import configu...
// Get the record for key, apply wildcard if bare record doesn't work func (s *RedisDNSServer) Get(key string) *Record { keys := append([]string{key}, wildcardKeys(key)...) r := &Record{} for i := 0; i < len(keys); i++ { bAry := Lookup(s.redisClient, keys[i]) if bAry != nil { err := r.Parse(bAry) if err !=...
""" denoise, mainly concerning the motion artefacts some of the CPSC2020 records have segments of severe motion artefacts, such segments should be eliminated from feature computation Process ------- 1. detect segments of nearly constant values, and slice these segments out 2. detect motion artefact (large variation o...
/** * Add the given user to a group. * * @param ac * @param groupUuid * Group uuid * @param userUuid * Uuid of the user which should be added to the group */ public void handleAddUserToGroup(InternalActionContext ac, String groupUuid, String userUuid) { validateParameter(groupUu...
Peri-implant strain around mesially inclined two-implant-retained mandibular overdentures with Locator attachments. This study aimed to evaluate the peri-implant strain around mesially inclined implants used to retain mandibular overdentures with Locator resilient attachments. Four mandibular edentulous acrylic resin ...
<filename>projects/ngx-grid-core/src/lib/ui/cell/cell-types/value-parsing/parsers/base-parser.abstract.ts import { GridControllerService } from '../../../../../controller/grid-controller.service' import { IGridCellCoordinates, IGridValueParsingResult } from '../../../../../typings/interfaces' import { TAtLeast } from '...
def configure_mailing_list(name: str) -> Result: command(["/usr/sbin/config_list", "--inputfile", "/root/mailman-newlist-defaults", name]) return Result(State.success)
/** * MyEventQueue class serves as a custom event queue that can be modified * upon the necessity of a particular Test */ class MyEventQueue extends EventQueue { private boolean dispatchEventCalled = false; public boolean isDispatchEventCalled() { return dispatchEventCalled; ...
#include <bits/stdc++.h> using namespace std; int main(){ int c,d; cin>>c>>d; if (c==d) cout<<0; else if (c > d){ int pdif= (d+360 - c); int ndif = (c - d); if (ndif == pdif) cout<<180; else if (ndif < pdif) cout<<(-1*ndif); else cout<<pdif; } else{ ...
#include<bits/stdc++.h> #define ll long long #define ff first #define ss second #define pb push_back using namespace std; const int N = 1e6 + 69; ll n,x,ans,ans1; ll A[N],rao[N][27]; string s; int main(){ cin>>s; n = s.size(); s = '#' + s; for(int i=1;i<=n;i++){ for(...
<gh_stars>0 """ Classe responsavel por fazer o mapeamento dos arquivos .csv para teste e para treino da rede tratando as respostas esperadas para o problema e gerando dicionarios para melhor manipulá-los Functions: init(self): Inicia a leitura do arquivo. handle_input: Funcao que le o arqui...
// RegisterV1LiveCheckService Register the blademaster route with middleware map // midMap is the middleware map, the key is defined in proto func RegisterV1LiveCheckService(e *bm.Engine, svc LiveCheck, midMap map[string]bm.HandlerFunc) { v1LiveCheckSvc = svc e.GET("/xlive/resource/v1/liveCheck/LiveCheck", liveCheckL...
/** * Non-public helper class used by {@link MxParser} to parse the business header * in its two variants, using MxNode. * * @author sebastian@prowidesoftware.com * @since 7.8.4 */ class MxBusinessHeaderParser { private static final transient Logger log = Logger.getLogger(MxBusinessHeaderParser.class.getName()...
<gh_stars>1-10 package notes import // rhythms are limited to 256 values // Base rhythm is 1/36 // Negra: 36 // Corchea: 18 // Tresillo de corcheas: 12 // Semicorchea: 9 // Tresillo de semicorcheas: 6 // Blanca 72 // Redonda 144 // Max: 255 -> // 255 - 144 (redonda) // 111 - 72 (blanca) // 39 - 36 (negra) // 3 (tresi...
<filename>packages/jsii-rosetta/test/jsii-imports.test.ts // Test translation of imports with actual jsii assemblies // // - For Python, there is a lot of variation in what imports get translated to (mirroring // the style in TypeScript, occasionally adding extra imports as required). // - For other languages, we'll ...
<gh_stars>0 import { CreatedAccountEvent } from './created-account.event'; export class CreatedAccountsEvent { constructor( public readonly accounts: CreatedAccountEvent[], ) {} }
<gh_stars>0 package net.n2oapp.framework.autotest.impl.component.region; import net.n2oapp.framework.autotest.N2oSelenide; import net.n2oapp.framework.autotest.api.collection.Widgets; import net.n2oapp.framework.autotest.api.component.region.SimpleRegion; /** * Простой регион для автотестирования */ public class N2...
On Monday, members of the Electoral College will cast their historic votes for the next president of the United States. In the meantime, they are under siege. The nation’s 538 presidential electors have been thrust into the political foreground like never before in American history. In the aftermath of a uniquely pola...
Kaytranada turned 25-years-old a couple months back and it’s hard to fathom all he’s done from such a young age. The Canadian bred producer began officially releasing music in 2010 and he’s amassed a gigantic back catalog of beats, remixes, mixes and original songs, most of which are still buried on his Soundcloud page...
from wh_parser.funcat.context import ExecutionContext class CtxSpace: """ 拥有一个独立上下文的空间 """ def __init__(self, ctx:ExecutionContext=None): if ctx is None: ctx = ExecutionContext.get_active() self.ctx = ctx def ctx_wrapper(self, f): """ 上下问装饰器 ...
/** * This class is generated by jOOQ */ package org.jooq.test.mysql.generatedclasses.tables.pojos; /** * This class is generated by jOOQ. */ @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class T_725LobTest implements java.io.Serializable { private static final long serialVersionUID = -2...
import { Asset } from "../Asset"; import { GObject } from "../GObject"; import { Vector2 } from "../Utils"; export class Line extends Asset { draw(ctx: CanvasRenderingContext2D, parent: GObject) { ctx.beginPath(); ctx.strokeStyle = this.color; ctx.lineWidth = this.thickness; ctx.moveTo(...this.p1.get...
/** * Created by shivam on 29/5/17. */ @Singleton public class DataManager { private PlayerService mPlayerService; @Inject public DataManager(PlayerService playerService) { this.mPlayerService = playerService; } public Single<List<HeroesPlayed>> getHeroesPlayedList(long steamId) { ...
import { Component, Host, Element, Prop, Watch, h } from '@stencil/core'; import Prism from 'prismjs'; import cssCoy from 'prismjs/themes/prism-coy.css'; import cssTomorrow from 'prismjs/themes/prism-tomorrow.css'; @Component({ tag: 'doc-html', styleUrl: 'html.css', shadow: true }) export class DocHtml { @Ele...
package k8s import ( "fmt" "github.com/bwplotka/mimic" "github.com/bwplotka/mimic/abstractions/kubernetes/volumes" "github.com/bwplotka/mimic/encoding" "github.com/go-openapi/swag" "github.com/thanos-io/thanosbench/configs/abstractions/dockerimage" "github.com/thanos-io/thanosbench/configs/abstractions/secret"...