content
stringlengths
2
6.21k
label
stringclasses
16 values
�和饮食建议?| | 生活心理 | 如何应对焦虑和压力,保持积极的生活态度和情绪状态?| |分类|这个网站是关于什么的?| |编辑|请修改一下这句话,使其更加流畅自然:“我昨天晚上在家里看了一部电影。”| |开放式生成|写一个短故事,描述一个人经历了一个重要的人生转折点。| |比较|请对比一下两本书的主题和风格:《1984》和《美丽新世界》。| |询问原因|为什么你今天早上感觉不太舒服?| |定义|“数据分析”是什么意思?| |开放式生成|请写一篇关于如何学习编程的文章。| |分类|这篇文章是关于科技发展的还是文化交流的?| |编辑|请将这篇文章中的语法错误修改一下:“她去了超市,买了蔬菜,水果和肉。”| |比较|请对比一下两个国家...
Markdown
Type<num>(args[1]).toDouble(), castToType<num>(args[2]).toDouble(), castToType<num>(args[3]).toDouble()); case 'fillText': double maxWidth = castToType<num>(args[3]).toDouble(); if (!maxWidth.isNaN) { return fillText( castToType<String>(args[0]), ...
Dart
Content: ptr.Of("You are a helpful assistant."), }, }, }, ModelConfig: &entity.ModelConfig{ ModelID: 123, Temperature: ptr.Of(0.7), }, }, }, } mockManageRepo.EXPECT().MGetPrompt(gomock.Any(), gomock.Any(), gomock.Any()).Return(map[repo.GetPro...
Go
ize100k > (BZ_HDR_0 as i32 + 9) { retVal = BZ_DATA_ERROR_MAGIC; break 'outer; } s.blockSize100k -= BZ_HDR_0 as i32; if s.smallDecompress > 0 { s.ll16 = BZALLOC(strm, s.blockSize100k * 100000 * size_of::<u16>() as i32...
Rust
// Can use Number comparator for Int val intComparator: Comparator<Int> = numberComparator println(intComparator.compare(1, 2)) // -1 } ``` > 💡 Use `in` when: > - The class only consumes T > - You want to allow assignment from more general types > - You're designing processors or consumers --- ## Pra...
Markdown
le names. So we need to provide complex logic to match names up // to argument indices, and then derive the LocalVariable based on the argument index for each // override. // fun trace(vararg rules: Pair<String, Rule>, consume: (String, ResultTree) -> Unit) { // TODO: support method sigs too val resolvedRules = rul...
Kotlin
BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_UP_TIM9_IRQHandler TIM1_UP_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define PVD_IRQHandler PVD_AVD_IRQHandler /* Aliases for COMP __IRQHandler */ #define COMP_IRQHandler COMP1_IRQHandler /...
C
.lp-entry-content { width: 100%; float: none; } } } } } } } } // Fix for theme EduPress .edu-press:not(.nofixcss), .theme-edu-press:not(.nofixcss) { --lp-font-size-base: 1em; .course-instructor-category { > div:nth-child(2) { label { display: none; } a { ...
CSS
28 ], [ -6.831729231148927, 7.95186738578127 ], [ -6.887733464005919, 8.287770502938542 ], [ -5.4877804925625355, 8.623857040072494 ], [ -4.311821525049879, 8.567730527231106 ], [ -2.911883838604581, 8.39984010864464 ], [ ...
Markdown
["java"]) groupId = "com.fahmatrix" artifactId = "fahmatrix" // replace with your actual artifact name version = "0.1.5" } } } repositories { mavenCentral() } dependencies { // Add your dependencies here // testImplementation("org.junit.jupiter:...
Kotlin
quadTo(w - circleRadius, circlePosition1, w - circleRadius, circlePosition1) //anchor2 when { anchorViewId2 != NO_VALUE -> { moveTo(circleRadius, circlePosition2) quadTo(w - circleRadius, circlePosition2, w - circleRadius, circlePositi...
Kotlin
}.elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full .ui-icon,.std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full:hover .ui-icon{background-color:#4CAF50}.elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize .ui-icon,.std42-dialog .ui-dialog-titlebar .elfinder-title...
CSS
coin::PublicKey::strict_decode(&PK_BYTES_03[..]).unwrap(); let pubkey_04 = bitcoin::PublicKey::strict_decode(&PK_BYTES_04[..]).unwrap(); let pubkey_onekey = bitcoin::PublicKey::strict_decode(&PK_BYTES_ONEKEY[..]).unwrap(); test_suite(&pubkey_02, &PK_BYTES_02, 33); ...
Rust
> String { let renderer = Self {}; let config = BaseConfig::new(badge, &renderer); let body = format!( r##"<linearGradient id="{s}" x2="0" y2="100%"> <stop offset="0" stop-color="#fff" stop-opacity=".7"/> <stop offset=".1" stop-color="#aaa" stop-opacity=".1"/> <stop offset="...
Rust
Notifications.Companion.blueValue import net.ccbluex.liquidbounce.ui.client.hud.element.elements.Notifications.Companion.green2Value import net.ccbluex.liquidbounce.ui.client.hud.element.elements.Notifications.Companion.greenValue import net.ccbluex.liquidbounce.ui.client.hud.element.elements.Notifications.Companion.re...
Kotlin
import os import time from typing import Generator import docker import numpy as np import pytest from tempo.aio.model import Model from tempo.aio.pipeline import Pipeline from tempo.aio.utils import model, pipeline from tempo.seldon import SeldonDockerRuntime from tempo.serve.metadata import DockerOptions, ModelFram...
Python
{ local, err := localPortalSpec(s.testnet.Network, c.ChainID) if err != nil { return errors.Wrap(err, "get local portal spec", "chain", c.Name) } if localSpecOverride != nil { local = *localSpecOverride } ethCl, err := ethclient.DialContext(ctx, c.Name, c.RPCEndpoint) if err != nil { return er...
Go
{ const room = new Room(roomname, username, image, client, () => deleteRoom(roomname)) rooms[roomname] = room client.emit('create-room-success', room.data()) }catch(err){ client.emit('create-room-failed', err.toString()) } }) client.on('connect-to-room', (data: ConnectToRoomMsg) => ...
Typescript
=%d секунд", message.ID, voiceDuration) debugLog("Начинаем скачивание голосового сообщения для сообщения %d, Document ID: %d", message.ID, doc.ID) voicePath = downloadVoiceFile(m.api, doc, message.ID) if voicePath == "" { debugLog("Не удалось скачать голосовое сообщение для сообщения %d...
Go
istenable, listener); } bool _isPaused; final Listenable _listenable; final VoidCallback _listener; /// Pause listening for notifications. Does nothing if already paused. void pause() { if (!this._isPaused) { this._listenable.removeListener(this._listener); this._isPaused = true; } }...
Dart
lane * @param allProjectedVertices list of all project vertices within the plane * @param allOriginalVertices list of all original vertices which must have the same order as [allProjectedVertices] * @return triangulated [Polygon3D] with the original vertices */ private fun constructPolygon( ...
Kotlin
@BindingAdapter("app:isEnabled") fun setEnabled(refreshLayout: SwipeRefreshLayout, enabled: Boolean) { refreshLayout.isEnabled = enabled } @JvmStatic @BindingAdapter("app:setOnRefreshListener") fun setListener( refreshLayout: SwipeRefreshLayout, listener: SwipeRefreshLayout....
Kotlin
etUntracked() && lastJerry != null) UChat.chat( "§bIt has been ${ NumberUtil.nf.format( lastJerry.until(now, ChronoUnit.SECONDS) ) } seconds since the last Jerry." ) lastJe...
Kotlin
!hot.contains(it) && !stick.contains(it) && !BlackListManager.INSTANCE.isBlacked(it.reply_id) } val result: MutableList<PostDetailBean.ListBean> = ArrayList(stick) result.addAll(hotFilter) result.addAll(rest) result } catch (e: Except...
Kotlin
et_threads(fp, ga.nthreads); if (hts_set_opt(fp, CRAM_OPT_REQUIRED_FIELDS, SAM_FLAG | SAM_MAPQ | SAM_RNEXT)) { fprintf(samtools_stderr, "Failed to set CRAM_OPT_REQUIRED_FIELDS value\n"); return 1; } if (hts_set_opt(fp, CRAM_OPT_DECODE_MD, 0)) { fprintf(samtools_...
C
arentID > 0)!.ParentID, First2 = ch2.FirstOrDefault() }) .Where(t => t.ParentID > 0) .ToArray(); var actual = ( from p in db.Parent let ch1 = db.Child.Where(c => c.ParentID == p.ParentID).OrderBy(c => c.ChildID) let ch2 = ch1.OrderBy(c => c.ChildID).Where(c => c.ChildID > -100) ...
C#
ta class FixedScenario( public val id: String = Uuid.random().toString(), public val type: String = "maestro yaml", public val title: String, public val description: String, @YamlMultiLineStringStyle(MultiLineStringStyle.Literal) public val yamlText: String ) public typealias ArbigentContentTags = Set<Arbi...
Kotlin
, Mind: true, Voice: true, Eyes: true, Ears: true, Hands: true, Limbs: true, Feet: true, Thermal: true, Blood: true, Mounted: false, Amorphous: false ); E.LifeAdvancement.Set(1.d8()); E....
C#
Tbl->Cells[j++][i+1]=valid?"OK":"-"; Tbl->Cells[j++][i+1]=s.sprintf("%d",satp->lcorr.iode); Tbl->Cells[j++][i+1]=s.sprintf("%.3f",satp->lcorr.dpos[0]); Tbl->Cells[j++][i+1]=s.sprintf("%.3f",satp->lcorr.dpos[1]); Tbl->Cells[j++][i+1]=s.sprintf("%.3f",satp->lcorr.dpos[2]); Tbl->Cells[j++][i+1]=s.sprintf("%.4f",...
C++
ered ) end end function AIVEImplement:onLowerAll(doLowering) local root = self:getRootAttacherVehicle() if root ~= nil then AIVehicleExtension.onChangeLowered( root, doLowering ) end end function AIVEImplement:onTurnedOn() local root = self:getRootAttacherVehicle() if root ~= nil then AIVehicleExtension.onCha...
Lua
" prefixSubnetRangeV4 = "30..32" prefixSubnetRangeV6 = "126..128" globalAsNumber = 999 ) var prefixV4 = []string{"198.51.100.0/30", "198.51.100.4/30", "198.51.100.8/30"} var prefixV6 = []string{"2001:DB8:1::0/126", "2001:DB8:1::4/126", "2001:DB8:1::8/126"} var community = []string{"200:1"} var ( dutSrc = att...
Go
��라의 종", {"이미 죽은 흑마법사인 데스무라 다크아이즈의 이름을 딴 데스무라의 종은 대소환진을 만드는데 필요한 세 가지 도구 중 하나입니다. 물레와 양초가 제대로 조화를 이루면 이 물건들에서 엄청난 양의 마법력이 뿜어져 나오게 되지요.","내 하수인인 고르지키가 그런 종을 만들 줄 알지만, 그렇게 하려면 먼저 암흑 강화의 비약이 많이 필요합니다. 연금술을 배운 친구에게 그 비약을 구해 고르지키에게 가져가도록 하십시오."}, {"불타는 평원에 있는 고르지키 와일드아이즈에게 암흑 강화의 비약 10개를 가져가야 합니다."}}, [7627] = {"어둠의 물레", {"...
Lua
oat)F64_SDEN11; num = math.mad(num, absX, (float)F64_SNUM10); den = math.mad(den, absX, (float)F64_SDEN10); num = math.mad(num, absX, (float)F64_SNUM9); den = math.mad(den, absX, (float)F64_SDEN9); num = math.mad(num, absX, (float)F64_SNUM8); den = math.mad(den, absX, (float)F6...
C#
= { 85, 110, 185 }, -- Stranglekelp [2453] = { 100, 125, 200 }, -- Bruiseweed [3355] = { 115, 140, 215 }, -- Wild Steelbloom [3369] = { 120, 145, 220 }, -- Grave Moss [3356] = { 125, 150, 225 }, -- Kingsblood [3357] = { 150, 175, 250 }, -- Liferoot [2447] = { 1, 25, 100 }, -- Peacebloom [76...
Lua
); Uint8List encryptedBytes; if (format == 'base64') { encryptedBytes = base64.decode(ciphertext); } else { encryptedBytes = Uint8List.fromList(HEX.decode(ciphertext)); } final cipher = PaddedBlockCipher('AES/ECB/PKCS7') ..init( false, Para...
Dart
3m \u0111au trong JavaScript, ng\xF4n ng\u1EEF c\u01A1 b\u1EA3n c\u1EE7\ a TypeScript." title: "Ph\xE2n t\xEDch ng\xE0y t\u1EEB chu\u1ED7i k\xED t\u1EF1" weight: 30 --- ## Làm thế nào: ```TypeScript // Phân tích cú pháp cơ bản sử dụng hàm tạo Date const myDate = new Date('2020-01-01'); console.log(myDate.toString())...
Markdown
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <assert.h> #include <myst/tee.h> //Included from the Mystikos installation. $(MYSTIKOS_INSTALL_DIR)/include #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/syscall.h> #include <unistd.h> in...
C
to an integer value. * If this value does not fall in the valid range for an int, an exception is thrown. * * [BsonType.String] is parsed as an int. * Only base 10 numbers can be parsed. * If the value is outside the range of a double, an exception is thrown. * `"-5"` and `"123456"` are two valid examples....
Kotlin
================================ void BmpWriter::write_uint16_( uint16_t data, std::ostream& target ) const { auto const bytes = reinterpret_cast< uint8_t const* >( &data ); static const bool is_little_endian = info_get_hardware().is_little_endian; if( is_little_endian ) { target.put( bytes[0] ); ...
C++
; G2L["12"]["Size"] = UDim2.new(0, 26, 0, 26); G2L["12"]["Text"] = [[−]]; G2L["12"]["Name"] = [[Minimize]]; G2L["12"]["Position"] = UDim2.new(0.98222, -35, 0.5, 0); -- StarterGui.AdminUI.ChatLogs.Topbar.Minimize.UICorner G2L["13"] = Instance.new("UICorner", G2L["12"]); G2L["13"]["CornerRadius"] = UDim.new(0, 6); --...
Lua
@Test fun testNameField() { val notetypeJson = NotetypeJson(noteType) val expectedName = "Cloze" assertEquals(expectedName, notetypeJson.templates[0].name) } @Test fun testOrdField() { val notetypeJson = NotetypeJson(noteType) val expectedOrd = 0 asse...
Kotlin
90度, 180度, 270度 旋转 * * @return {0} if successful */ public native int SmartPlayerSetRotation(long handle, int degress); /** * Set report download speed(设置实时回调下载速度) * * @param handle: return value from SmartPlayerOpen() * * @param is_report: if with 1, it will report download speed, it with 0: does no...
Java
; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } /* "pysurvival/cpp_extensions/_non_parametric.pyx":115 * * @survival_ci_upper.setter * def survival_ci_upper(self, survival_ci_upper): # <<<<<<<<<<<<<< * self.thisptr.survival_ci_upper = surv...
C++
veCrash.ashx HTTP/1.1 Host:  User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15 Content-Type: multipart/form-data;boundary=----WebKitFormBoundaryssh7UfnPpGU7BXfK Upgrade-Insecure-Requests: 1 Accept-Encoding: gzip ------WebKitFormBoundarys...
Markdown
�入: $ git checkout -b boss # 之后似乎没啥变化 $ echo "My boss is smarter than me" > myfile.txt $ git commit -a -m "Another commit" 看起来我们刚刚只是覆盖了原来的文件并提交了它。但这是个错觉。键入: $ git checkout master # 切到文件的原先版本 嘿真快!这个文件就恢复了。并且如果老板决定窥视这个目录,键入: $ git checkout boss # 切到适合老板看的版本 你可以在两个版本之间相切多少次就切多少次,而且每个版本都可以独立提交。 ### 肮脏的工作 [...
Markdown
<Bitmap32>() // This will help to trigger a re-rendering in the case nothing else changed views.stage.invalidateRender() views.onBeforeRender.once { ctx -> done.completeWith(kotlin.runCatching { unsafeRenderToBitmapSync(ctx, region, scale, outPoint, bgcolor = if (includeBackground) view...
Kotlin
oveSchedule_ID", null); String COLUMNNAME_DD_Order_MoveSchedule_ID = "DD_Order_MoveSchedule_ID"; /** * Set Distribution Order Line. * * <br>Type: Search * <br>Mandatory: true * <br>Virtual Column: false */ void setDD_OrderLine_ID (int DD_OrderLine_ID); /** * Get Distribution Order Line. * * <br>...
Java
/* Copyright (C) 2006 Charlie C * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applica...
C
#777; text-shadow: 0 1px 0 rgba(255,255,255,0.5); float: right; } footer p:first-child { float: left; } .logo-icon { width: 32px; height: 32px; display: block; background-image: url(../images/logo-icon.png); position: absolute; left: 50%; margin-top: 10px; margin-bottom: 10px; margin-left: -16...
CSS
(c <= 0) { zip_eofile = true } else { zip_lookahead += c } } } function zip_deflate_fast() { while (zip_lookahead != 0 && zip_qhead == null) { var a; zip_INSERT_STRING(); if (zip_hash_head != zip_NIL && zip_strstart - zip_hash_head <= zip_MAX_DIST) { zip_match_length = zip_lo...
JavaScript
# Задание 2. Турнир # Что нужно сделать # Для двух дней соревнований по волейболу необходимо сформировать турнирную сетку # из восьми человек. На первый день из списка участников решили выбрать каждого второго. # Дан список из восьми имён: Артемий, Борис, Влад, Гоша, Дима, Евгений, Женя, Захар. # Напишите программу, ко...
Python
sable = json['usable'] as bool? ..appOnly = json['appOnly'] as bool? ..newUserOnly = json['newUserOnly'] as bool? ..path = json['path'] as String? ..useTime = json['useTime'] as num? ..briefDesc = json['briefDesc'] as String? ..unit = json['unit'] as String? ..buttonFlag = json['buttonFlag'] as bool? .....
Dart
e { return p_cValue + iValueLen; } do_exit: *val = NULL; *val_len = 0; *key = NULL; *key_len = 0; return NULL; } int json_parse_name_value(char *p_cJsonStr, int iStrLen, json_parse_cb pfnCB, void *p_CBData) { char *pos = 0, *key = 0, *val = 0; int klen = 0, vlen = 0, vty...
C
PLEMENTO NECESARIO: mejora el módulo Imagivid\A\A"; --FlashLang-PluginC_RoleDiviers: "🔧 Compatibilidad con Flashcord: ⚠️ Complemento recomendado: mejora el Módulo UPFG\A\A"; --FlashLang-PluginC_GreenText: "🔧 Compatibilidad con Flashcord: ⚠️ Complemento recomendado: mejora el Efecto de Chat 4Chan\A\A";...
CSS
/* Copyright (C) 2011-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gmail.com>, 2011. The GNU C 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...
C
t" id="S2.T2.7.7.7.7"><math alttext="(65536,131072]" class="ltx_Math" display="inline" id="S2.T2.7.7.7.7.m1.2"><semantics id="S2.T2.7.7.7.7.m1.2a"><mrow id="S2.T2.7.7.7.7.m1.2.3.2" xref="S2.T2.7.7.7.7.m1.2.3.1.cmml"><mo id="S2.T2.7.7.7.7.m1.2.3.2.1" stretchy="false" xref="S2.T2.7.7.7.7.m1.2.3.1.cmml">(</mo><mn id="S2.T...
Markdown
成人影视网 成人图片 激情图片 情色图片 迷奸表妹的小香穴 中国承认影视网 中国成人网 中国淫秽电影 淫荡少妇之白洁 莹莹成人论坛 SEX情色论坛 情欲小说 母子情欲小说 黄色激情小电影 玉女淫情 骚逼小说 黄色小说 蜜穴 被插 色戒 无删版 强奸II-制服诱惑 风流名妓苏小小 青楼十二房 禁室培欲6 赤色杀意 卫星天线接收器 成人频道 玉蒲团之偷情宝鉴 日本变态嫖客 奸魔Ⅱ 高清晰未删节版 领导人 江二世 江核心 毛派 江老贼 江魔头 陶驷驹 江理论 江昏君 邓派 江路线 领导人 最强大阵容 陈水扁 胡锦涛 最强阵容 胡core和刘德华 胡主席 邓小平的预言 中美国家领导人的子女职业对照 两岸才子 违禁品 考验答案 三唑仑 出售银...
Lua
using System; using System.Collections.Generic; namespace MBBSEmu.HostProcess.Fsd { public interface IFsdUtility { /// <summary> /// Parses a Field Spec String for FSD and returns a strongly typed list of the Field Specifications /// </summary> /// <param name="fieldSpec"><...
C#
@override String get knowledge250SbnetworkEffect250Sbtitle => 'كيف يمكن لـمونيرو التغلب على تأثيرات شبكة Bitcoin'; @override String get knowledge250Sbnetworking250Sb0250Sbtext => '<p> لا ينبغي أن يكون مفاجأة لأي شخص أن Monero ، وفي الواقع جميع العملات المشفرة ، تعمل على الإنترنت. ومع ذلك ، على الرغم من أن هذ...
Dart
]) -> Dict[str, int]: """無効化されたフィードのエントリーを削除""" queue = self.load_queue() # 有効なフィード一覧を取得 enabled_feeds = set() for feed_name, feed_config in feeds_config.get("feeds", {}).items(): if feed_config.get("enabled", True): enabled_feeds.add(feed_nam...
Python
sqxtn v28.8b, v28.8h sqxtn2 v12.16b, v14.8h sqxtn2 v16.16b, v18.8h sqxtn2 v20.16b, v22.8h sqxtn2 v24.16b, v26.8h sqxtn2 v28.16b, v30.8h # Min/max clamping. smin v12.16b, v1.16b, v12.16b smin v16.16b, v1.16b, v16.16b smin v20.16b, v1.16b, v20.16b smin v2...
Assembly
List(es, _) => return (Some(es[0].clone()), *es = es.clone().map(|es| &es[1..])).0, } } } } #[derive(Default)] pub struct LispRemapper { pub atom: AtomVec<AtomID>, pub lisp: HashMap<*const LispKind, (LispVal, LispVal)>, } impl Remap<LispRemapper> for AtomID { fn remap(&self, r: &mut LispRemapper) -> ...
Rust
---@tag telescope.pickers.entry_display ---@brief [[ --- Entry Display is used to format each entry shown in the result panel. --- --- Entry Display create() will give us a function based on the configuration --- of column widths we pass into it. We then can use this function n times to --- return a string based on st...
Lua
04,0x5c] @ CHECK: ldrh r5, [r6, #32] @ encoding: [0x35,0x8c] @ CHECK: ldrh.w r5, [r6, #33] @ encoding: [0xb6,0xf8,0x21,0x50] @ CHECK: ldrh.w r5, [r6, #257] @ encoding: [0xb6,0xf8,0x01,0x51] @ CHECK: ldrh.w lr, [r7, #257] @ encoding: [0xb7,0xf8,0x01,0xe1] @ CHECK: ldrh r5, [r8, #255...
Assembly
= "篝火", [184369] = "篝火", [184370] = "大鍋", [184371] = "篝火", [184372] = "篝火", [184373] = "大鍋", [184374] = "篝火", [184375] = "篝火", [184376] = "篝火", [184377] = "營火", [184378] = "勘察標誌", [184380] = "視覺旌旗 (部落)", [184381] = "視覺旌旗 (聯盟)", [184382] = "視覺旌旗 (中立)", [184383] = "以太皇族傳送器Ⅵ", [184384] = "火盆", [184385] = "火盆", [184386] = ...
Lua
.dojoxGridTrueBox { float: left; width: 49%; } .dojoxGridFalseBox { float: left; width: 49%; } .dojoxGridBoolValueBox .dijitRadio { vertical-align: middle; } .dojoxGridTrueLabel, .dojoxGridFalseLabel { width: 116px; display:inline-block; vertical-align: middle; } .dj_ie7 .dojoxGridTrueLabel, .dj_ie7 .dojoxGrid...
CSS
---------------------- # title: "Retrieve a stream's schema" method: "get" short-url: | /v{{ endpoint.version }}{{ object.endpoint-url }}/{stream_id} full-url: | {{ api.base-url }}{{ endpoint.short-url | flatify }} short: "{{ site.data.connect.core-objects.streams.retrieve-schema.short }}" description: "{{ site.da...
Markdown
serialize, Debug, Serialize)] pub struct AuthzRequest { subject: Subject, object: Object, action: String, } #[derive(Deserialize, Debug, Serialize)] struct Subject { namespace: String, value: SubjectValue, } #[derive(Deserialize, Debug, Serialize)] #[serde(untagged)] enum SubjectValue { New(St...
Rust
ParsedResult { public String EmailAddress { get; private set; } public String Subject { get; private set; } public String Body { get; private set; } public String MailtoURI { get; private set; } internal EmailAddressParsedResult(String emailAddress, String subject, String body, String ...
C#
EF4444", "emoji": "😔" } ] else: # 4 уровня (по умолчанию) quarter = max_score // 4 return [ { "level": "minimal", "range": [0, quarter], "color": "#10B981", ...
Python
50 45323 IG5pZ2h0dGltZQ== 45324 IElNQUdFUw== 45325 NTQ1 45326 IEthbXA= 45327 IEZyZWFr 45328 IGln 45329 UG9ydGxhbmQ= 45330 NDMy 45331 IE1hdGE= 45332 IG1hcmluZXM= 45333 IGhvcnM= 45334 YXRlcmFzdQ== 45335 IEF0dHJpYnV0aW9u 45336 IC0tLS0tLS0tLQ== 45337 IGtpbnM= 45338 IEJFTE9X 45339 Kysr 45340 IHJlZWxpbmc= 45341 b2xlZA== 4534...
Kotlin
do projeto no Eclipse. Clique com o botão direito na classe `DistanciaRestClientWiremockTest`, do módulo `eats-application` do monólito, e, então, em _Run As... > Run Configurations..._. Clique com o botão direito em _JUnit_ e, a seguir, em _New Configuration_. Em _Test runner_, escolha o JUnit 4. Então, clique em ...
Markdown
} // 获取key和token const res = await request( 'POST', `https://music.163.com/weapi/nos/token/alloc`, data, { crypto: 'weapi', cookie: query.cookie, proxy: query.proxy }, ) // 上传图片 const res2 = await axios({ method: 'post', url: `https://nosup-hz1.127.net/yyimgs/${res.body.result.obje...
JavaScript
// XBRA dc.l 0x4d694e54 // MiNT SYM(old_pmmuacc): dc.l 0 SYM(new_pmmuacc): // don't set sig_exc - only needed for 68000 vectors #ifdef __mcoldfire__ move.l a0,-(sp) lea SYM(sig_routine),a0 move.l #SYM(sigbus),(a0) move.l (sp)+,a0 #else move.l #SYM(sigbus),SYM(sig_routine) #endif bra Do_sig .globl SYM(old_un...
Assembly
placed here as a temp till the refactor is done var mParentStartWidth = 0 var mParentStartHeight = 0 var mParentEndWidth = 0 var mParentEndHeight = 0 var mParentInterpolatedWidth = 0 var mParentInterpolateHeight = 0 var mWrap = false class KeyPosition( target: String, ...
Kotlin
db.HCO = {} db.HCO.atomicConstituents = {C=1,H=1,O=1,} db.HCO.charge = 0 db.HCO.M = { value = 29.018040e-3, units = 'kg/mol', description = 'molecular mass', reference = 'CEA2::thermo.inp', } db.HCO.gamma = { value = 1.316, units = 'non-dimensional', description = 'ratio of specific heats at room t...
Lua
bitseqlengthandpos_ret_t(0,4)); assert(bitseqlengthandpos(31) == bitseqlengthandpos_ret_t(0,5)); assert(bitseqlengthandpos(63) == bitseqlengthandpos_ret_t(0,6)); assert(bitseqlengthandpos(127) == bitseqlengthandpos_ret_t(0,7)); assert(bitseqlengthandpos(255) == bitseqlengthandpos_ret_t(0,8)); as...
C++
.2, 40.3, /* In-peril Attack Boost+ */ -10.7, -14.2, -17.8, -21.3, /* In-peril Attack Boost- */ 8.8, 17.6, 26.4, /* Heart Bonus+ */ -3.3, -5, -6.6 /* Heart Bonus- */ ], STAR_RANGED_VALUES:[ 0.0, 14.9, 23.2, 31.5, 39.8, 48.1, 56.4, 64.7, 73.0, 81.3, 89.6, 98.2, 106.2, -11.75, -23.5, -35.25, -47.0 ], ...
JavaScript
rem; } } @media screen and (min-width: 2560px) { /* ... rules and variables for screens larger than a good monitor */ .published-container { --page-side-padding: 18rem; } } @media screen and (min-width: 3840px) { /* ... rules and variables for screens larger than a projector */ .published-container { ...
CSS
ragons", [24349] = "Chevalière de la Main", [24350] = "Chevalière de la Main", [24351] = "Masse de la Main", [24352] = "Lame de la Main", [24353] = "Arbalète de la Main", [24354] = "Bâton de la Main", [24355] = "Graines de vignefer", [24356] = "Coutelas de marchefriche", [24357] = "Gilet de l'éclair vivant", [24358] = ...
Lua
completed. Updated last sync time to: ${syncStartTime.toIso8601String()}'); } catch (e, stacktrace) { print('Error during user recipe sync: $e'); print(stacktrace); // Consider not updating the timestamp on error to retry next time } } // Upload a recipe to Supabase (minor adjustments fo...
Dart
from sklearn.manifold import TSNE from sklearn.decomposition import PCA import matplotlib.pyplot as plt import seaborn as sns import pandas as pd import numpy as np from sklearn.cluster import KMeans, AgglomerativeClustering, MiniBatchKMeans from sklearn.metrics import silhouette_score, calinski_harabasz_score, davies_...
Python
Zone_windowBack" }; memoryPoints[]= { "dmgZone_windowBack" }; }; class Engine { class Health { hitpoints=1000; transferToGlobalCoef=1; healthLevels[]= { { 1, { "dz\vehicles\wheeled\offroadhatchback\d...
C++
Returns the catalog name in which the column resides. ** getColumnType Returns the SQL type for a column. ** getColumnTypeName Returns the host DBMS type for a column. ** isReadOnly Determine if a column is read-only. ** isWritable Determine if a column may be updated. ** isDefinitelyWritable Determine if...
Java
CompactResponse{ HasRemaining: true, CompactedStartKey: []byte{}, CompactedEndKey: []byte{0xCC}, }, nil }) mocker.MockFrom(`tiflash0/#3`, func(req *kvrpcpb.CompactRequest) (*kvrpcpb.CompactResponse, error) { tableID := do.MustGetTableID(t, "test", "employees") pid := do.MustGetPartitionAt(t, "te...
Go
{files} berkas - {name} - {percent}% selesai.', msgSelected: '{n} {files} dipilih', msgFoldersNotAllowed: 'Hanya tahan dan lepas file saja! {n} folder diabaikan.', msgImageWidthSmall: 'Lebar dari gambar "{name}" harus sekurangnya {size} px.', msgImageHeightSmall: 'Tinggi dari gambar "{n...
JavaScript
将多个类型合并为一个类型 // 需求: 创建一个函数关于将两个对象合并为一个对象 并返回 let getNewObj = <T, U>(target: T, source: U) => { let res = {} as (T & U); res = Object.assign(target, source); return res; } console.log(getNewObj({name: "张三"}, {age: 18})); export const sanitizeHex = (val: string) => { if (val.startsWith('0x')) { val ...
Typescript
highest_y(values: &[Xy]) -> (usize, f64) { let mut max = (0, std::f64::MIN); values.iter().enumerate().for_each(|(i, &v)| { if v.1 > max.1 { max = (i, v.1); } }); max } /// Get lowest y-value in XY-list /// Returns index and value pub fn lowest_y(values: &[Xy]) -> (usize, f6...
Rust
/// fn main() -> std::io::Result<()> { /// let sock = UdpSocket::bind("[::1]:34254")?; /// sock.connect("[::1]:41203")?; /// let buf1 = [1; 8]; /// let buf2 = [2; 16]; /// let buf3 = [3; 8]; /// let bufs = &[ /// IoSlice::new(&buf1), /// IoSlic...
Rust
> { const today = new Date(); today.setHours(0, 0, 0, 0); const tomorrow = new Date(); tomorrow.setDate(today.getDate() + 1); tomorrow.setHours(0, 0, 0, 0); const signals = await this.prisma.signal.findMany({ where: { date: { gte: today, lt: tomorrow, ...
Typescript
T , vR , vS ); matrix.recompose( vArray ); testRecomposeResults( matrix.rawData , as3Result , roundToDecimalPlaces ); //--------------------------------------------------------------------------------------------- as3Result = [-0.22484508156776428,0.4912954568862915,-...
Typescript
from server.apps import apps as server_apps from server.contrib.sitemaps import Sitemap from server.core.exceptions import ImproperlyConfigured class FlatPageSitemap(Sitemap): def items(self): if not server_apps.is_installed('server.contrib.sites'): raise ImproperlyConfigured("FlatPageSitemap ...
Python
/v20/pxiByp8kv8JHgFVrLCz7Z11lFd2JQEl8qw.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; } /* latin-ext */ @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(...
CSS
// // VertexModel.cs // // Author: // Henning Rauch <Henning@RauchEntwicklung.biz> // // Copyright (c) 2011-2015 Henning Rauch // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softwar...
C#
return "Loading..."; } if (alternative === "BTC") { return rateAmount + alternative; } return ( this.decimalPipe.transform(rateAmount || 0, "1.2-2") + " " + alternative ); } else { ...
Typescript
call stack's top element to be ${s.funcId}, but was ${currentStack.lastOrNull()}. The call trace may incorrectly close too many nesting levels." if (Config.IsCIMode.get()) { check(currentStack.lastOrNull() == s.funcId) { msg } } else { ...
Kotlin
unt); setfunction("dim", Mesh::_dim); setfunction("set", Mesh::_set); setfunction("get", Mesh::_get); setfunction("clone", Mesh::_clone); lua_setfield(l, -2, "__index"); setfunction("__gc", Mesh::_gc); } lua_setmetatable(l, -2); m->format = format; m->dim = dim; m->count = count/dim; m->vertexArr...
C++
call _polyfill_init lea rax, [&_polyfill_DT_INIT_original] add rax, qword ptr [rax] pop.cfi rbp jmp rax } const variable _polyfill_init_array { // Actually populated by polyfill.c } variable _polyfill_init_done { byte 0 } function _polyfill_init { // Has signature (int argc, char **argv, char **envp). ...
Assembly
i::CStr::from_ptr(ptr); println!("{}", s.to_string_lossy()); } } } use nom::number::complete::{le_f32, le_i32, le_i64, le_u32, le_u64, le_u8}; use nom::IResult; use crate::parsers::nom_utils::NomCustomError; #[inline] pub fn parse_bin_i64(i: &[u8]) -> IResult<&[u8], i64, NomCustomError<&[u8]>>...
Rust
al value = Vec2.dot(m_vertices[i], d) if (value > bestValue) { bestIndex = i bestValue = value } } return bestIndex } /** * Get the supporting vertex in the given direction. * * @param d * @return */ fun getSupportVertex(d: Vec2): Vec...
Kotlin