content
stringlengths
2
6.21k
label
stringclasses
16 values
trabajar con múltiples proveedores, como VMware, Amazon EC2, LXC, DigitalOcean, etc.2 * Aunque Vagrant se ha desarrollado en Ruby se puede usar en multitud de proyectos escritos en otros lenguajes. > NOTA: Para desarrollar esta actividad se ha utilizado principalmente la información del enlace anterior publicado por ...
Markdown
endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR ...
C++
MIXER_STEPPER_LOOP(i) color[MIXER_AUTORETRACT_TOOL][i] = COLOR_A_MASK; #endif ZERO(collector); #if DUAL_MIXING_EXTRUDER || ENABLED(GRADIENT_MIX) update_mix_from_vtool(); #endif #if ENABLED(GRADIENT_MIX) update_gradient_for_planner_z(); #endif } void Mixer::refresh_collector(const float pro...
C++
('throws if the collection name does not exist', () => { expect(() => { updateEmbedded(testInitialState, 'foooo', { id: '42' }); }).toThrowError('Collection foooo does not exist on state'); }); it('throws if the entity does not exist on collection', () => { expect(() => { upda...
Typescript
ist<CloudWatchDimensionConfiguration> dimensionConfigurations; CloudWatchDestination({ required this.dimensionConfigurations, }); factory CloudWatchDestination.fromJson(Map<String, dynamic> json) { return CloudWatchDestination( dimensionConfigurations: (json['DimensionConfigurations'] as List) ...
Dart
2V6c0-1.11.89-2 2-2h6l2 2h8a2 2 0 0 1 2 2m-3.5 5v5.21a2.5 2.5 0 1 0-1 4.79a2.5 2.5 0 0 0 2.5-2.5V15h2v-2h-3.5Z\"/>"},"folder-music-outline":{"body":"<path fill=\"currentColor\" d=\"M22 8v3h-2V8H4v10h9.78c-.4.59-.65 1.26-.74 2H4a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h6l2 2h8a2 2 0 0 1 2 2m-3.5 5v5.21a2.5 2.5 0 1 0-1 4.79a2.5 2...
JavaScript
r: #e0e0e0 1px solid; float:left; overflow:hidden; } .sctn01_4_2{ width:660px; height:1030px; background-color:#fff; border: #e0e0e0 1px solid; padding-top: 11px; padding-left: 8px; overflow:hidden; float:right; } .sctn01_4_2_1{ width: 640px; height: 34px; margin:0 ...
CSS
shlytics) } val isFirebaseEnabled = gradle.startParameter.taskRequests.any { task -> task.args.any { arg -> arg.contains("Firebase") } } if (isFirebaseEnabled) { apply(plugin = libs.plugins.firebase.googleServices.get().pluginId) apply(plugin = libs.plugins.firebase.crashlytics.get().pluginId) ...
Kotlin
l WIND_CHARGE = EntityTypeRegistry["minecraft:wind_charge"] val WITCH = EntityTypeRegistry["minecraft:witch"] val WITHER = EntityTypeRegistry["minecraft:wither"] val WITHER_SKELETON = EntityTypeRegistry["minecraft:wither_skeleton"] val WITHER_SKULL = EntityTypeRegistry["minecraft:wither_skull"] val ...
Kotlin
8, 8(r1) /* 80337A94 003336F4 28 09 00 38 */ cmplwi r9, 0x38 /* 80337A98 003336F8 81 01 00 34 */ lwz r8, 0x34(r1) /* 80337A9C 003336FC 38 84 A3 E0 */ addi r4, r4, lbl_8044A3E0@l /* 80337AA0 00333700 98 E1 00 09 */ stb r7, 9(r1) /* 80337AA4 00333704 20 A9 00 78 */ subfic r5, r9, 0x78 /* 80337AA8 00333708 55 07 C6 ...
Assembly
_Popref_pop1 = 11, StackBehaviour_Popref_popi = 12, StackBehaviour_Popref_popi_popi = 13, StackBehaviour_Popref_popi_popi8 = 14, StackBehaviour_Popref_popi_popr4 = 15, StackBehaviour_Popref_popi_popr8 = 16, StackBehaviour_Popref_popi_popref = 17, StackBehaviour_Push0 = 18, StackBehaviour...
Rust
Application.Current.Resources["NodeBackgroundBrush"] = new SolidColorBrush(nodeBackgroundColor); } } private Color nodeBorderColorOnMouseOver; [Category("Node style")] [DisplayName(@"Border MouseOver color")] public Color NodeBorderColorOnMouseOver ...
C#
1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='10...
CSS
* Properties for a canary */ export interface CanaryProps { /** * The s3 location that stores the data of the canary runs. * * @default - A new s3 bucket will be created without a prefix. */ readonly artifactsBucketLocation?: ArtifactsBucketLocation; /** * Canary execution role. * * This ...
Typescript
int32_t n = i * 2U; WRITE_BIT(payload, n, b1); n++; WRITE_BIT(payload, n, b2); } } /* Helper to fix errors in Trellis coding. */ bool Trellis::fixCode34(uint8_t* points, uint32_t failPos, uint8_t* payload) const { #if DEBUG_TRELLIS ::LogDebugEx(LOG_HOST, "Trellis::fixCode34()", "failP...
C++
/ Modified : 04.06.2003 // Author : Dmitriy Iassenev // Description : Server monsters for ALife simulator, script export, the second part //////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "xrServer_Objects_ALife_Monsters.h" #include "xrServer_script_macroses.h...
C++
q $12,%xmm10 paddd %xmm7,%xmm7 movl %ebx,%edi addl 56(%rsp),%eax psrld $31,%xmm8 xorl %edx,%ecx roll $5,%ebx addl %esi,%eax movdqa %xmm10,%xmm9 andl %ecx,%edi xorl %edx,%ecx psrld $30,%xmm10 addl %ebx,%eax rorl $7,%ebx por %xmm8,%xmm7 xorl %edx,%edi movl %eax,%esi addl 60(%rsp),%ebp pslld $2,%xmm9 px...
Assembly
using System; namespace LogicCircuit.DataPersistent { internal readonly struct SnapTableChange<TRecord> where TRecord:struct { private readonly ISnapTableChange<TRecord> changeData; private readonly int changeIndex; public SnapTableChange(ISnapTableChange<TRecord> changeData, int changeIndex) { this.chang...
C#
AGE_CPU_READ_OFTEN, syncFdExportInfo.handle, nullptr, &ptr), 0); auto* pixels = static_cast<utils::RGBA8*>(ptr); for (uint32_t r = 0; r < aHardwareBufferDesc.height; ++r) { for (uint32_t c = 0; c < aHardwareBufferDesc.width; ++c) { EXPECT_EQ(...
C++
currentKernels/concurrentKernels.cu" cudaEvent_t *kernelEvent; # 122 "/home/andrew/repositories/gpuocelot/tests/cuda3.2/tests/concurrentKernels/concurrentKernels.cu" kernelEvent = ((cudaEvent_t *)malloc(nkernels * sizeof(cudaEvent_t))); # 123 "/home/andrew/repositories/gpuocelot/tests/cuda3.2/tests/concurrentKernels/co...
C++
efractory = refractory[-1] else: max_refractory = None # Initialize GPU if use_gpu: set_gpu_device(0) simulator = Simulator(model, reset, threshold, inputs, input_var = input_var, dt = dt, ...
Python
quires that previously fetched data is released before asking for more data. <span id="ERROR_BAD_ACCESSOR_FLAGS"></span><span id="error_bad_accessor_flags"></span>**ERROR\_BAD\_ACCESSOR\_FLAGS** 773 (0x305) The data provider was not able to interpret the flags set for a column binding in an accessor. ...
Markdown
brev [3] 0x47:0xf DW_TAG_variable .set Lset7, Ldebug_loc0-Lsection_debug_loc ## DW_AT_location .long Lset7 .long 162 ## DW_AT_name .byte 1 ## DW_AT_decl_file .byte 6 ## DW_AT_decl_line .long 150 ## DW_AT_type .byte 0 ...
Assembly
SMOOTH_SCROLL_DURATION_MS; } protected int getPullToRefreshScrollDurationLonger() { return SMOOTH_SCROLL_LONG_DURATION_MS; } protected FrameLayout getRefreshableViewWrapper() { return mRefreshableViewWrapper; } /** * Allows Derivative classes to handle the XML Attrs without creating a * TypedArray the...
Java
import os import sys import json from word_tokens_tools import split_into_words, scan_next, split_into_sentences, save_text from openai import OpenAI API_KEY = os.getenv("OPENAI_API_KEY") # Get API key from environment variable if not API_KEY: raise ValueError("API_KEY is not set") client = OpenAI(api_key=API_KE...
Python
[data-override="content-type"] option:selected').text(); if (method === 'POST' && !contentType) { // POST requests can use standard form submits, unless we have // overridden the content type. return; } // At this point we need to make an AJAX form submission. e.preventDefault(); var url = form...
JavaScript
}); } export async function updatePassword(username: string, password: string): Promise<any> { const user = await getUser(username) if (!user) { throw new Error("No user found."); } const hash = await bcrypt.hash(password, 10) user.update({ password: hash }); } import { ...
Typescript
// Relocs saved to avoid a COPY reloc. Copy_relocs<elfcpp::SHT_REL, 32, big_endian> copy_relocs_; // Offset of the GOT entry for the TLS module index. unsigned int got_mod_index_offset_; // True if the _TLS_MODULE_BASE_ symbol has been defined. bool tls_base_symbol_defined_; // Vector of Stub_tables crea...
C++
.5, 0.5); } } fn main() { let filename = "outputs/basic_sphere.png".to_string(); let nx: u64 = 400; let ny: u64 = 200; let ns: u64 = 200; let cam: Camera = Camera::new(Vec3::new(0.0, 1.0, 5.0), Vec3::new(0.0, 0.0, -1.0), Vec3::new(0.0, 1.0, 0.0), 50.0, (nx as f64)/(ny as f64)...
Rust
[Vector3(0,0,0),Vector3(1,0,0),Vector3(1,0,0),Vector3(1,0,1)], 2.0) .setEase(LeanTweenType.easeOutQuad).setOrientToPath(true);<br /><br /> * <i>C#:</i><br /> * LeanTween.moveSpline(gameObject, new Vector3[]{new Vector3(0f,0f,0f),new Vector3(1f,0f,0f),new Vector3(1f,0f,0f),new Vector3(1f,0f,1f)}, 1.5f).setEase(L...
C#
Describe("test reservedIP", Label("reservedIP"), func() { var nsName, manualDeployName, autoDeployName, v4PoolName, v6PoolName, v4ReservedIpName, v6ReservedIpName string var v4PoolNameList, v6PoolNameList []string var iPv4PoolObj, iPv6PoolObj *spiderpoolv2beta1.SpiderIPPool var v4ReservedIpObj, v6ReservedIpObj *spi...
Go
background: #272822; color: #f8f8f2;} .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} .cm-s-monokai.CodeMirror ::selection { background: rgba(73, 72, 62, .99); } .cm-s-monokai.CodeMirror ::-moz-selection { background: rgba(73, 72, 62, .99); } .cm-s-monokai .CodeMirror-gutters {background: #27282...
CSS
err != nil { return Timeouts{}, fmt.Errorf("failed to parse stream idle timeout: %s", err) } } if timeoutParameters.MaxConnectionDuration != nil { timeouts.MaxConnectionDuration, err = timeout.Parse(*timeoutParameters.MaxConnectionDuration) if err != nil { return Timeouts{}, fmt.Errorf("failed to parse m...
Go
| | 机器翻译 | 在进行机器翻译时,如何保证翻译质量和速度的平衡? | | 网站优化 | 如何提高一个网站的访问量和用户体验? | | 股票分析 | 如何分析股票的基本面和技术面,并制定有效的交易策略? ...
Markdown
; 0x80000000 ffff4bd0: e59f34f4 ldr r3, [pc, #1268] ; 0xffff50cc ffff4bd4: e5830090 str r0, [r3, #144] ; 0x90 ffff4bd8: e3a00433 mov r0, #855638016 ; 0x33000000 ffff4bdc: e5830848 str r0, [r3, #2120] ; 0x848 ffff4be0: e3030333 movw r0, #13107 ; 0x3333 ffff4be4: e583084c str r0, [r3, #2124] ; 0x84c ffff4be8: e1c30...
Assembly
switch (filterId) { case 'experience': return EXPERIENCES.find(({ value }) => value === filterValue); case 'role': return { id: filterValue, label: getLabelForJobTitleType(filterValue as JobTitleType), value: filterValue, }; case 'location': return { ...
Typescript
foreach(WorldLayer layer in Find.World.renderer.layers) { if (layer is WorldLayer_Stars) layer.Render(); } Find.PlaySettings.showWorldFeatures = false;*/ WorldCameraManager.WorldSkyboxCamera.targetTexture = ResourceBank.target; float num = (float)UI.screenWidth / (float)UI.screenHeight; World...
C#
0 .5.22.5.5v4a.5.5 0 0 1-1 0v-4c0-.28.22-.5.5-.5Z\"/>") { } } public class Headset : Icon { public Headset() : base("Headset", IconVariant.Filled, IconSize.Size20, "<path d=\"M10 2a6 6 0 0 0-6 6v6a3 3 0 0 0 3 3h1.27A2 2 0 1 0 8 16H7a2 2 0 0 1-2-2v-1h2a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H5a5 5 0 0 1 10 0h-2a1 1 0 0 0-1 1...
C#
ATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif\n",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( PHYSICAL )\n\t\tfloat dotNV = saturate(...
JavaScript
l zappedEntity: NostrEntity, val otherUserId: String?, val otherLightningAddress: String?, val zappedByUserId: String?, val otherUserProfile: ProfileData?, ) : Transaction( transactionId = transactionId, walletId = walletId, walletType = walletType, ty...
Kotlin
A0_2[7] = true L8_2 = C3DD9809BE5B47111 L8_2 = L8_2.SC8223E31D3163519 L9_2 = L8_2 L8_2 = L8_2.F44E0BCA95324EE8B L10_2 = 16 L8_2(L9_2, L10_2) end end ...
Lua
eturn x.Password } return "" } var File_wso2_discovery_config_enforcer_jwt_user_proto protoreflect.FileDescriptor var file_wso2_discovery_config_enforcer_jwt_user_proto_rawDesc = []byte{ 0x0a, 0x2d, 0x77, 0x73, 0x6f, 0x32, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0...
Go
FrictionThreshold; int m_numIterations; int m_solverMode; int m_restingContactRestitutionThreshold; int m_minimumSolverBatchSize; int m_splitImpulse; char m_padding[4]; }; ///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 struct b3ContactSolverInfoFloatData { ...
C
) return scipy.ndimage.affine_transform(image, m, o, shape) def findTranslation(image1, image2): pc = phaseCorrelate(image1, image2) return findPeak(pc) if __name__ == '__main__': from pyami import mrc import sys import time window = numextension.hanning(1024, 1024, a=0.54) highpass = numextension.highpass(...
Python
{ texture = Assets.Environment.HOLLOW_PO; tileW = 31; tileH = 50; } final int TEX_WIDTH = 31*16; @Override public Tilemap create() { Tilemap v = super.create(); int[] data = mapSimpleImage(0, 0, TEX_WIDTH); v....
Java
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _NETFPGA_PORTS_ #define _NETFPGA_PORTS_ #include <inttypes.h> #include <rofl/common/utils/c_logger.h> #i...
C
list bcc golst beq golst cmp #minutk bne stkrts golst jsr linget jsr fndlin jsr chrgot beq lstend cmp #minutk bne flnrts jsr chrget jsr linget bne flnrts lstend pla pla lda linnum ora linnum+1 bne list4 lda #255 sta linnum sta linnum+1 list4 ldy #1 sty dores lda (lowtr),y beq grody jsr iscntc jsr...
Assembly
# RUN: %PYTHON %s | FileCheck %s from buddy_mlir.dialects import dap, func from buddy_mlir import ir from buddy_mlir.passmanager import PassManager def run(f): print("\nTEST:", f.__name__) f() return f def dapIir(dtype, context: ir.Context) -> ir.Module: with context, ir.Location.unknown(): ...
Python
t key, int defaultValue); /** * <code>map&lt;uint32, uint32&gt; gift_num_map = 10;</code> */ int getGiftNumMapOrThrow( int key); /** * <code>uint32 uid = 14;</code> * @return The uid. */ int getUid(); } /** * <pre> * CmdId: 7798 * Obf: BNMIOPJNEMN ...
Java
/* SPDX-License-Identifier: GPL-2.0-or-later */ #include <baseboard/gpio.h> #include <baseboard/variants.h> #include <gpio.h> static const struct mb_cfg baseboard_memcfg = { .type = MEM_TYPE_LP4X, .rcomp = { /* Baseboard uses only 100ohm Rcomp resistors */ .resistor = 100, /* Baseboard Rcomp target values *...
C
d resolves to "tnt-v3" in "Horizon" * - "business-suite" (and its alias "BusinessSuiteInAppSymbols") resolves to "business-suite-v1" in "Quartz", "Belize", and resolves to "business-suite-v2" in "Horizon" * * @param { IconCollection } collectionName * @returns { IconCollection } the effective collection name */ co...
Typescript
H6V6m2 12a2 2 0 0 1-2-2v-1h2v1h1v2H8M18 4a2 2 0 0 1 2 2v1h-2V6h-1V4h1m-3 12v2h-4v-2h4m5-3h-2V9h2v4m0 3a2 2 0 0 1-2 2h-1v-2h1v-1h2v1M3 8h1v12h12v1c0 .54-.43 1-.97 1H3c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1Z"/>'},"selection-multiple-marker":{body:'<path fill="currentColor" d="M7 4h2v2H8v1H6V5c0-.55.45-1 1-1m12 0c.55 0 1 .45 1...
JavaScript
dp", "passkey", "disabled"]), ipausersearchfields=dict(type='list', elements='str', aliases=['usersearchfields']), ipauserobjectclasses=dict(type='list', elements='str', aliases=['userobjectclasses']), ) module = AnsibleModule( ...
Python
query = { limit: '2', page: '2', sort: 'name', order: 'desc' }; const expectedResponse = [ { id: 5, name: 'Eve' }, { id: 4, name: 'Bob' } ]; const responseBody = databucketActions( 'get', databucket, request, response, routeCrudKey ...
Typescript
eturn v3 != null ? v3.equals(triple.v3) : triple.v3 == null; } @Override public int hashCode() { int result = (v1 != null) ? v1.hashCode() : 0; result = 63 * result + 31 * (v2 != null ? v2.hashCode() : 0) + (v2 != null ? v2.hashCode() : 0); return result; } } package com.didichu...
Java
stem.Windows.Application.Current.Resources["FullMoonSVG"]; } else if (phase == AstroUtil.MoonPhase.LastQuarter) { return (System.Windows.Media.GeometryGroup)System.Windows.Application.Current.Resources["LastQuarterMoonSVG"]; } else if (phase == AstroUtil.MoonPhase.WaningCrescent)...
C#
SessionOption(ExecConstants.ENABLE_UNION_TYPE_KEY); resetSessionOption(ExecConstants.ENABLE_V2_JSON_READER_KEY); } } // TODO: Union not yet supported in V2. @Test public void testSumMultipleBatches() throws Exception { File table_dir = dirTestWatcher.makeTestTmpSubDir(Paths.get("multi_batch")); ...
Java
Graph(sGraph.uniqueID) graph.startNodeID = sGraph.startNodeID sGraph.textNodes.forEach { (id, n) -> val node = when (n.type) { TEXT -> TextNode(n.text).also { it.options.setAll(n.options.toDeserializable()) } BRANCH -> BranchNode(n.text) SUBDI...
Kotlin
from .structure import RootConfig schema, = python_type_to_json_schemas(RootConfig) # Some of the default values will still be python types, # so let's use deform_to_bus to turn them into something # that'll be json safe schema = deform_to_bus(schema) schema["$schema"] = SCHEMA_URI return ...
Python
w2, w21 ldr x4, [x20, 24] mov w1, w19 mov w0, 16 bl flash_start_3d_mlc_page_prog bl nandc_iqr_wait_flash_ready bl nandc_wait_flash_ready ldr x3, [x20, 8] add w2, w21, 1 ldr x4, [x20, 24] mov w1, w19 mov w0, 16 bl flash_start_3d_mlc_page_prog bl nandc_iqr_wait_flash_ready bl nandc_wait_flash_ready ldr w0,...
Assembly
-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:#F5F7FA;color:#606266}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper.is-scrolling-left~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~...
CSS
ion', () => { expect(PitchClassParser.asNoteName(1, { sharp: true })).toBe('C♯'); expect(PitchClassParser.asNoteName(3, { sharp: true })).toBe('D♯'); expect(PitchClassParser.asNoteName(6, { sharp: true })).toBe('F♯'); expect(PitchClassParser.asNoteName(8, { sharp: true })).toBe('G♯'); expe...
Typescript
f.disks) exporter.RegistConsul(f.clusterID, moduleName, cfg) f.startMetrics() return } func doShutdown(s common.Server) { f, ok := s.(*FlashNode) if !ok { return } f.shutdown() } func (f *FlashNode) start(cfg *config.Config) (err error) { if err = f.parseConfig(cfg); err != nil { return } f.stopCh = mak...
Go
yle-pastel: #fec8d3; $lifestyle-faded: #feeef7; // Greens ====================================================================== $green-dark: #236925; $green-bold: #3db540; $green-light: #29b05f; // Paid for ============================================================...
CSS
from django.shortcuts import render, redirect from .forms import MonthSelectionForm, ForecastDataForm from .models import ForecastData, ForecastResult, SeasonalityIndicator, GrowthStabilityIndicator, DynamicsIndicator, CoherenceIndicator import datetime import calendar from pytrends.request import TrendReq import time ...
Python
232, 101, 59, 28, 82, 117, 207, 52, 125, 20, 141, 133, 197, 53, 72, 239, 124, 143, 215, 201, 45, 107, 253, 141, 199, 254, 55, 206, 65, 82, 126, 173, 199, 230, 184, 239, 63, 240, 121, 125, 255, 30, 95, 246, 141, 245, 79, 251, 63, 158, 85, 125, 189, 253, 246, 134, 40, 23, 23, 144, 22, 45, 170, 71, 31, 152, 78, 138, 103, ...
C#
​ Daily: 20:30 -- 21:00 ​ Tool: https://www.v2ex.com/t/573167 [6 Minute English](http://www.bbc.co.uk/learningenglish/english/features/6-minute-english) ​ Weekly: Listen 22:00 -- 22:30 and review 08:30 -- 09:00 [60-Second Science](https://www.scientificamerican.com/podcast/60-second-science...
Markdown
using NUnit.Framework; using Octane.Xam.VideoPlayer.Constants; using Octane.Xam.VideoPlayer.Licensing; namespace Octane.Xam.VideoPlayer.UWP.Tests { [TestFixture] public class FormsVideoPlayerTests { [SetUp] public void Setup() { FormsVideoPlayer.IsInitialized = false; ...
C#
* <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache homepage</a> * <p> * Unless required by applicable law o...
Java
/* * Copyright © 2012-2016 VMware, Inc. 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 applic...
C#
.l1e(8823),C8z.n1e(8824)],i06=(...q2v)=>console[C8z.n1e(292)](...G86,...q2v),t86=(...K2v)=>console[C8z.l1e(305)](...G86,...K2v),J76=new Map(),h06=[],r76=C8z.l1e(9) != typeof window?window:{};L66 && r76[C8z.n1e(8825)];var l76=r76[C8z.l1e(256)] || ({'\x68\x65\x61\x64':{}}),L26=r76[C8z.n1e(8826)] || (class{}),Y26={'\x24\x...
JavaScript
registrationConfirmPassword // controllo delle form compilate dall'utente. // Se le regole non vengono rispettate ogni campo mostrerà il proprio specifico errore // e la registrazione non verrà effettuata if (username.length < 5 && email.isEmpty() || !PatternsCompat.EMAIL_ADDRESS.matche...
Kotlin
streamInfo.sensorPixelModesUsed, &surfaceIds, outputConfiguration.getSurfaceSetID(), isShared, isMultiResolution, streamInfo.colorSpace, streamInfo.dynamicRangeProfile, streamInfo.streamUseCase, useReadoutTimestamp); if (err == OK) { Mutex::Autolock l...
C++
return; XSetTextProperty(display, window, property, XA_WM_COMMAND); free(property->value); free(property); } void XSetWMNormalHints(Display *display, Window window, XSizeHints *hints) { XChangeProperty(display, window, XA_WM_NORMAL_HINTS, XA_WM_SIZE_HINTS, ...
C
) } } func (qfp *quotaFloodPreventer) addQuota( pid core.PeerID, numReceived uint32, sizeReceived uint64, numProcessed uint32, sizeProcessed uint64, ) { for _, statusHandler := range qfp.statusHandlers { statusHandler.AddQuota(pid, numReceived, sizeReceived, numProcessed, sizeProcessed) } } // ApplyConsensu...
Go
sbbq $0, %r12 movq %r12, 8*0+8*46(%rdi) sbbq $0, %rsi movq %rsi, 8*1+8*46(%rdi) subq 8*0+8*32(%rdi), %r12 sbbq 8*1+8*32(%rdi), %rsi btrq $63, %rsi sbbq $0, %r12 movq %r12, 8*0+8*46(%rdi) sbbq $0, %rsi movq %rsi, 8*1+8*46(%rdi) movq 8*0+8*46(%rdi), %rax mulq 8(%rdi) movq %rdx, %r10 movq %rax, %rsi movq 8*...
Assembly
ken_ids = torch.as_tensor(arr, dtype=torch.long, device=self.device) indices = token_ids.unsqueeze(2) token_probs = torch.zeros( (len(execute_model_req.seq_group_metadata_list), sample_len, self.vocab_size), dtype=torch.float32, device=self.device, ...
Python
"kucing", "kucing tersengih dengan mata tersenyum", "mata", "muka", "senyuman", "tersengih", ], }, #[cfg(feature = "mt")] crate::Annotation { lang: "mt", tts: Some("wiċċ ta’ qa...
Rust
oto L_4 } else { goto L_5 } L_4: foo(3) goto L_2 L_5: foo(4) goto L_1 `, }, { name: "for cond nested", tree: []CStmt{ &CForStmt{Cond: cIntLit(2, 10), Body: *newBlock( numStmt(2), &CForStmt{Cond: cIntLit(3, 10), Body: *newBlock( numStmt(3), )}, )}, ret(1), }, exp: ` n2[label="if 2 ==...
Go
( data: string ) => { [key: string]: string | {}; results: { stateName: string; countyName: string; homebuyersAverageIncome: number; homebuyersMedianIncome: number; medianIncome: number; medianLoanAmount: number; averageLoanAmount: number; incomeToLoanAmount: number; homebuyer...
Typescript
码": ["hào", "mǎ"], "号脉": ["hào", "mài"], "号牌": ["hào", "pái"], "号炮": ["hào", "pào"], "号丧": ["háo", "sāng"], "号手": ["hào", "shǒu"], "号数": ["hào", "shù"], "号啕": ["háo", "táo"], "号筒": ["hào", "tǒng"], "号头": ["hào", "tóu"], "号外": ["hào", "wài"], "号型": ["hào", "xíng"], "号衣": ["hào", "yī"], "号召": ["hào", "zhào"], "号子": ["hào...
JavaScript
["D"] = "在你下到悬崖底部的时候,我碰巧发现了有一只很特别的迅猛龙在那边站着休息。它比一般的迅猛龙的体形要大得多,看上去也特别凶猛。我敢打赌它就是那群迅猛龙的首领,就是它带着手下来这里毁了整个挖掘场。$B$B我现在交给你最后一个任务,$N。以正义的名义,审判萨尔图斯!当然,考虑到它所犯下的重罪,它唯一能得到的判决就是死刑!把它的一只爪子给我带回来作为它已死的证据。", ["O"] = "维尔加挖掘场的奥莫尔·铁衣要求你杀死萨尔图斯,并在任务完成之后带着它的一只爪子向他复命。", ["T"] = "奥莫尔的复仇", }, [299] = { ["D"] = "在迅猛龙大举入侵之前,我找到了一块名...
Lua
性?| |电影推荐|你能否告诉我一部最近上映的非英语电影,以及它的主要情节是什么?| |新闻分类|请将以下这篇新闻归类:(news content)| |编辑建议|请你修改以下这句话,使之更加流畅自然:“我今天考试考得很好。”| |购物意向分析|根据以下描述,请问用户是否有购买该商品的意愿:用户在网站上浏览了一款智能手表,并加入到心愿单中。| |市场趋势分析|根据最近一周的销售数据,请分析市场目前的趋势并预测接下来一个月的销量会如何变化。| |文章生成|请根据以下关键词帮我生成一篇关于健康饮食的文章:蔬菜、水果、平衡营养| |图像描述|请描述以下这张图片的内容:(image link)| |音频转换|请将以下这段录音转换成文字格式:...
Markdown
upportedOperationException() } } /** Appends type along with its non-nullability */ protected fun StringBuilder.appendTwN(dataType: DataType<*>): StringBuilder { val nn = dataType is DataType.NotNull<*> return appendTnN(if (nn) dataType as DataType.NotNull else (dataType as DataType...
Kotlin
IFORMS".enum("35 | SPVC_COMPILER_OPTION_GLSL_BIT"), "COMPILER_OPTION_MSL_BUFFER_SIZE_BUFFER_INDEX".enum("36 | SPVC_COMPILER_OPTION_MSL_BIT"), "COMPILER_OPTION_EMIT_LINE_DIRECTIVES".enum("37 | SPVC_COMPILER_OPTION_COMMON_BIT"), "COMPILER_OPTION_MSL_MULTIVIEW".enum("38 | SPVC_COMPILER_OPTION_MSL_B...
Kotlin
Browser.window.__innerHeight=e.data.clientHeight; if (!Browser.document.createEvent){ console.warn("no document.createEvent"); return; }; var evt=Browser.document.createEvent("HTMLEvents"); evt.initEvent("resize",false,false); Browser.window.dispatchEvent(evt); return; } } Browser.createE...
JavaScript
�得解脱。 c:109 现在你已是皈依佛陀的沙门!你已誓言抛弃故乡和父母,抛弃出身和种姓,抛弃自己的意愿,抛弃友情。教义如此要求,佛陀如此要求 c:38 这一万物的统一性和连续性却在一个地方断裂开了,通过这个小小的裂口,某种陌生的东西,某种新的东西,某种以前没有、也不能显示和不能证明的东西涌入了这统一的世界:这小小裂口就是你的关于超越尘世、获得解脱的教诲。可就是这小小的缺口,就是这小小的断裂,又整个破坏和瓦解了永恒和统一的世界法则。 c:133 可是我要警告你,好学深思的人,你得警惕众说纷纭和言语之争。问题不在于有各种各样的意见,美也罢,丑也罢,聪明也罢,愚蠢也罢,每个人都可以拥护它们,或者摒弃它们。可是你从我这儿听到的说教,...
Markdown
iance gathered during this iteration Spectrum fluxVolIter(0.f); Spectrum shiftedMediumFluxIter[4]; Spectrum weightedMediumFluxIter[4]; for (int k = 0; k < 4; k++) { shiftedMediumFluxIter[k] = weightedMediumFluxIter[k] = Spectrum(0.f); } // Shift paths ... std::vector<ShiftGatherPoint> ...
C++
mFkcy5nb29nbGVhZHMudjE5LmNvbW1vbi5EYXRlUmFuZ2VIAEIK", "CghpbnRlcnZhbEKCAgomY29tLmdvb2dsZS5hZHMuZ29vZ2xlYWRzLnYxOS5y", "ZXNvdXJjZXNCEEtleXdvcmRQbGFuUHJvdG9QAVpLZ29vZ2xlLmdvbGFuZy5v", "cmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hZHMvZ29vZ2xlYWRzL3YxOS9yZXNv", "dXJjZXM7cmVzb3VyY2VzogIDR...
C#
CT_ROOT/lib_test/test`, not `$PROJECT_ROOT/test` which // is the current location of the test TS source. This is because, when the tests // actually run, they're run from the compiled JS in the `lib_test` directory. const AWS_INSTANCE_FILENAME = "../../terraform-website/ext/providers/aws/website/docs/r/instance.html....
Typescript
code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied...
Java
handler /* The common return point for both isr_handler and irq_handler */ .Lreturn: add $4, %esp /* EAX may possibly hold a pointer to a different regiser save area on * return. Are we switching to a new context? */ cmp %eax, %esp je .Lnoswitch /* A context swith will be performed. EAX holds the add...
Assembly
u00e6lg en farve","code_wordwrap":"Tekstombrydning","code_title":"HTML kildekode-redigering","anchor_name":"Navn p\u00e5 anker","anchor_title":"Inds\u00e6t/rediger anker","about_loaded":"Indl\u00e6ste udvidelser","about_version":"Version","about_author":"Forfatter","about_plugin":"Udvidelse","about_plugins":"Udvidelser...
JavaScript
d(1)}/${ul.p95.toFixed(1)} [${W}s]`; cardObj.el.querySelector('.stats').textContent = line; } // ---------- Reposition buttons next to badges ---------- function placeCtrlNextToState(card){ try{ const ctrl = card.querySelector('.ctrl-btn'); if(!ctrl) return; const badgeRow = ca...
Python
eName.NA_LETTER, //MediaPrintableArea.class, // not an IPP attribute //MultipleDocumentHandling.SINGLE_DOCUMENT, new NumberUp(1), OrientationRequested.PORTRAIT, new PageRanges(1), //PresentationDirection, // CUPS does not supply printer-resolution attribu...
Java
Capcom]::FreeLibrary($CIHanle)     # Calculate =&gt; CipInitialize     # jmp CI!CipInitialize     for ($i=0;$i -lt 500;$i++) `{`         $val = ("`{`0:X`}`" -f $(Bitmap-Read -Address $($CiInitializePtr + $i))) -split '(..)' | ? `{` $_ `}`         # Look for the first jmp instruction         if ($val[-1] -eq "E9") `{`  ...
Markdown
etadata { title?: string, description?: string, website?: string, image?: string } export function isUppercase(char: string): boolean { const charCode = char.charCodeAt(0); return charCode >= 65 && charCode <= 90 } /** * Recursively yields absolute file paths in a folder * @param folder * ...
Typescript
!{Nrexc, ()} ex_impl!{Nrexc<((), ())>, ()} ex_impl!{Nrexc<Not>, Id<bool>} ex_impl!{Nrexc<(Not, ())>, ()} ex_impl!{Nrexc<((), Not)>, Id<bool>} ex_impl!{Nrexc<(Not, Not)>, Id<bool>} ex_impl!{Nrexc<(Id<bool>, ())>, Id<bool>} ex_impl!{Nrexc<((), Id<bool>)>, ()} ex_impl!{Nrexc<(Id<bool>, Id<bool>)>, Id<bool>} ex_impl!{Nrexc...
Rust
", isExecutable = false) }), @usage ( value = "It is also possible to superpose images on different layers in the same way as for species using opengl display:", examples = { @example ( value = "display my_display {", isExecutable = false), @example ( value = ...
Java
const weeksGrid = getDayGrid(props); const firstVisibleDay = weeksGrid[1][0].originalDate; const lastVisibleDay = weeksGrid[weeksGrid.length - 1][6].originalDate; const markedDays = props.getMarkedDays?.(firstVisibleDay, lastVisibleDay) || []; /** * Weeks is a 2D array. Weeks[0] contains the last...
Typescript