content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
#Faça um Programa que pergunte em que turno você estuda.
#Peça para digitar M-matutino ou V-Vespertino ou N- Noturno.
#Imprima a mensagem "Bom Dia!", "Boa Tarde!" ou "Boa Noite!" ou "Valor Inválido!", conforme o caso.
print("Informe qual turno estuda: \n M - Matutino \n V - Verspetino \n N - Noturno")
turno = input(... | Python |
yr/KCgs/////////////////yct/////y3//////ygoKCg9PT09PT09Pf//////////Lf////8t/////y3/////Lf////////////////////////8s//8s//8s//8s/////////////////////////y3/////Lf////8t/////y3/////////////////////////LP//LP//LP//LP//////////////Jy3/////Lf///yr///8q/////ygoKCw9PT09PT09PT09PT09PT09/ycnJyf/////////////////////Jy3//ygs/////... | JavaScript |
override fun onStart() {
super.onStart()
LoadTweets()
}
fun LoadTweets(){
var currentUser =mAuth!!.currentUser
if(currentUser!=null) {
var intent = Intent(this, MainActivity::class.java)
intent.putExtra("email", currentUser.email)
intent.pu... | Kotlin |
response.body.headers[`x-api-key`], `any`);
assert.equal(response.body.method, `GET`);
assert.deepEqual(response.body.query, {});
assert.equal(response.body.path, `/`);
});
});
it(`should call an HTTP function via trigger URL with extras`, () => {
return got(`h... | JavaScript |
[IniEnum("AI_SPECIAL_POWER_BASIC_SELF_DEBUFF"), AddedIn(SageGame.Bfme2Rotwk)]
BasicSelfDebuff,
[IniEnum("AI_SPELLBOOK_DEBUFFECONOMYBUILDING"), AddedIn(SageGame.Bfme2Rotwk)]
DebuffEconomyBuilding,
[IniEnum("AI_SPELLBOOK_DEBUFFPRODUCTIONBUILDING"), AddedIn(SageGame.Bfme2Rotwk)]
DebuffProductio... | C# |
Rompedora del Alba",
[80247] = "Larane Albar",
[80248] = "Loriel",
[80249] = "Ralonius Rocío del Sol",
[80250] = "Lince Carmesí",
[80252] = "Zorro Ártico Joven",
[80254] = "Zorro Marrón Joven",
[80255] = "Zorro Marrón",
[80256] = "Zorro Plateado",
[80257] = "Zorro Rojo",
[80258] = "Zorro de Niebla J... | Lua |
().apply {
set(Calendar.HOUR_OF_DAY, 0)
set(Calendar.MINUTE, 0)
set(Calendar.SECOND, 0)
set(Calendar.MILLISECOND, 0)
}.timeInMillis
} else if ("Yesterday" in date) {
Calendar.getInstance().apply {
add(Calenda... | Kotlin |
d:number;
if (myDay % 1 !== 0) {
//
// using 24 h format (00:00:00)
//
if (myDay % 1 === 0.5) {
// it is midnight; bubble up the day
myDay = Math.floor(myDay) + 1;
myHour = 0;
myMinute = 0;
mySecond = 0;
myMillisecond = 0;
} else {
... | Typescript |
* 4: EXCL. FOR --FUN--
DC.W 0
DC.L 23480 * 2: OF THE BASSMENT
DC.W 0
DC.L 23480 * 15: THE FREEMINT "TEAM"
DC.W 0
DC.L 23520 * 14: KNARF (KGMD),
DC.W 0
DC.L 23560 * 2: OF THE BASSMENT
DC.W 0
DC.L 23560 * 3: WWW.BASSMENT.DEMON.NL
DC.W 0
DC.L 23560 * 15: THE FREEMI... | Assembly |
thread id
test %ecx, %ecx
jnz .Lalready_thin // lock word contains a thin lock
// unlocked case - %edx holds thread id with count of 0
movl %eax, %ecx // remember object in case of retry
xor %eax, %eax // eax == 0 for comparison with l... | Assembly |
@Deprecated(
message = "Use different function call instead",
replaceWith = ReplaceWith("capturedList()", "com.careem.mockingbird.test.capturedList"),
level = DeprecationLevel.WARNING
)
/**
* A list that using to fetch the method invocation and compare the property inside
* invocation arguments
* Usage e... | Kotlin |
y 243 (2021-07-20): [Find the Difference of Two Almost Same Strings](https://helloacm.com/teaching-kids-programming-find-the-difference-of-two-almost-same-strings/) 找出两个几乎相同的字符串的差异 [Youtube](https://youtu.be/eWPGSVaBUbk) - [B站/小破站](https://www.bilibili.com/video/BV1ZM4y1K7Bc/)
- Day 242 (2021-07-19): [Maximum Number o... | Markdown |
return node;
}
virtual void setNode(v3s16 p, MapNode & n)
{
if(isValidPosition(p) == false)
throw InvalidPositionException();
};
virtual u16 nodeContainerId() const
{
return 666;
}
};
void Run()
{
TC parent;
MapBlock b(&parent, v3s16(1,1,1));
v3s16 relpos(MAP_BLOCKSIZE, MAP_BLOCKS... | C++ |
/*
* V1.ExchangeRates.h
*
* Represents exchange rates for a specific base asset.
*/
#ifndef _V1.ExchangeRates_H_
#define _V1.ExchangeRates_H_
#include <string>
#include "V1.ExchangeRatesRate.h"
#include <list>
#include "Object.h"
/** \defgroup Models Data Structures for API
* Classes containing all the Data S... | C |
1.1.1"><csymbol cd="ambiguous" id="S1.T1a.7.7.7.2.m1.1.1.1.cmml" xref="S1.T1a.7.7.7.2.m1.1.1">superscript</csymbol><cn id="S1.T1a.7.7.7.2.m1.1.1.2.cmml" type="float" xref="S1.T1a.7.7.7.2.m1.1.1.2">0.703</cn><apply id="S1.T1a.7.7.7.2.m1.1.1.3.cmml" xref="S1.T1a.7.7.7.2.m1.1.1.3"><csymbol cd="latexml" id="S1.T1a.7.7.7.2.... | Markdown |
/**
******************************************************************************
*
* @file plugindialog.h
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
* Parts by Nokia Corporation (qt-info@nokia.com) Copyright (C) 2009.
* @brief
* @see The GNU Pu... | C |
tifier);
if (threadState != null && threadState.unseenPostIds.data.isNotEmpty) {
cleared.add((
threadState: threadState,
unseenPostIds: threadState.unseenPostIds.data.toSet(),
lastSeenPostId: threadState.lastSeenPostId
));
threadState.unseenPostIds.data.clear();
threadState.lastSeenPostId = th... | Dart |
rd::new();
card.load_row(" 1 16 31");
card.load_row(" 7 22 37");
card.load_row("15 30 45");
assert_eq!(None, card.number_called(5));
assert_eq!(None, card.number_called(10));
assert_eq!(None, card.number_called(15));
assert_eq!(None, card.number_called(20));
... | Rust |
anta.com, sip:bob@biloxi.com, sip:carol@chicago.com\n"
};
for (int i = 0; i < rou.length; i++ ) {
RouteParser rp =
new RouteParser(rou[i]);
RouteList routeList = (RouteList) rp.parse();
System.out.println("encoded = " +routeList... | Java |
namespace WvsBeta.Common.Sessions
{
/// <summary>
/// These are messages sent from clients to Center
/// </summary>
public enum ISClientMessages : byte
{
Ping = (byte)ServerMessages.PING,
Pong = (byte)ClientMessages.PONG,
OFFSET = 30, // Make sure we do not conflict with pin... | C# |
rences.bounds and
{
x = plugin.preferences.bounds.x,
y = plugin.preferences.bounds.y
} or nil,
onclose = function(bounds)
plugin.preferences.bounds = bounds or
... | Lua |
#region License
// Copyright 2017 Tua Rua Ltd.
//
// 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 applicab... | C# |
#!/usr/bin/env lua
--------------------------------------------------------------------------------
-- @script OiL Event Channel Daemon
-- @version 1.1
-- @author Renato Maia <maia@tecgraf.puc-rio.br>
--
print("OiL Event Channel 1.1 Copyright (C) 2006-2008 Tecgraf, PUC-Rio")
local select = select
local io = req... | Lua |
// set state time limit
timeExpectedEnd = time + 300f;
// behave
_owner.navMeshAgent.isStopped = true;
// todo: play stop animation, etc
}
public override void OnExit ( SimpletonState next )
{
// reset:
_crossw... | C# |
getStringWidth("Split 0: 0h 00m 00s" + if (showTickTime) " (0h 00m 00s)" else "") + 2f to 9f * (currentSplits.splits.size + (if (bossEntrySplit) 1 else 0))
}
private val bossEntrySplit by BooleanSetting("Boss Entry Split", true, desc = "Split for boss entry.")
val sendSplits by BooleanSetting("Send Split... | Kotlin |
,
@Relation(parentColumn = "id", entityColumn = "parentId")
val regexRecord: WordFilterConditionRegexRecord?,
@Relation(parentColumn = "id", entityColumn = "parentId")
val words: List<WordFilterConditionWordRecord>
)
fun List<WordFilterConditionRelated>.toModel(): WordFilterConfig {
return WordFilt... | Kotlin |
|
* | `http://host/#` | `""` |
* | `http://host/#abc` | `"abc"` |
* | `http://host/#abc|def` | `"abc|def"` |
*/
@get:JvmName("fragment") val fragment: String?,
/** Canonical URL. */
private val url: String
) {
val isHttps: Boolean = scheme == "https"
/** Returns this ... | Kotlin |
\
adoxq %rbx, %r10 ; \
mulxq 16+P2, %rax, %rbx ; \
adcxq %rax, %r10 ; \
adoxq %rbx, %r11 ; \
mulxq 24+P2, %rax, %rbx ; \
adcxq %rax, %r11 ; ... | Assembly |
x1B, 0x6A, 0x26, 0x86, 0x60, 0x36, 0x7C, 0xFD,
0x04, 0x3D, 0xE3, 0x97, 0x6D, 0xB0, 0x86, 0x60,
};
// A randomly generated IV, for use in the AES-256CBC tests (and other cases' negative tests)
private static readonly byte[] s_aes256CbcIv = new byte[]
{
0x43, 0x20,... | C# |
(s *Server) stopHTTP() {
log.Info().Msg("Stopping HTTP server...")
if err := s.echo.Close(); err != nil {
log.Fatal().Err(err).Msg("Failed to stop HTTP server")
}
}
func (s *Server) stopUnixSocket() {
log.Info().Msg("Stopping Unix socket server...")
var socketPath string
if s.echo.Listener != nil {
if unix... | Go |
var point = PointOnCircle(radius, angleInDegrees);
smoothedPath.AddLineTo(point);
}
smoothedPath.AddLineTo(startPoint);
return smoothedPath;
}
public static CAShapeLayer CreateRingLayer(CGPoint center, float radius, float lineWidth, U... | C# |
/Binary/Bounds.bin", FileMode.Create, FileAccess.Write );
BinaryWriter bin = new BinaryWriter( fs );
int xMin, yMin, xMax, yMax;
for ( int i = 0; i < Ultima.Art.GetMaxItemID(); ++i )
{
Ultima.Art.Measure(Item.GetBitmap(i), out xMin, out yMin, out xMax, out yMax);
bin.... | C# |
知识问答|什么是区块链技术?它有哪些应用场景?|
|人物描写|描写一位虚构人物的外貌、性格特点以及生活经历。|
|论文撰写|如何在论文中引用一篇网站上的博客文章?|
|产品推销|请简要介绍一下你公司最畅销的产品,以及它的特点和使用场景。|
|音乐推荐|我喜欢摇滚音乐,请推荐几个具有代表性的摇滚乐队。|
|旅游攻略|请推荐一条适合自驾游的西南地区线路,包括路线规划、必去景点和住宿建议。|
| 分类 | 客户的购买行为是否更倾向于线上还是线下? |
| 编辑 | 在这篇文章中,哪些地方可以进行进一步的修正和改善? |
| 开放生成 | 对于未来十年,您对该行业的发展有什么预测和建议? |
| 分类 | 这个产品在竞争对手中的市场占有率如... | Markdown |
rvivorM_Guo
{
};
class eAI_SurvivorM_Hassan: SurvivorM_Hassan
{
};
class eAI_SurvivorM_Indar: SurvivorM_Indar
{
};
class eAI_SurvivorM_Jose: SurvivorM_Jose
{
};
class eAI_SurvivorM_Kaito: SurvivorM_Kaito
{
};
class eAI_SurvivorM_Lewis: SurvivorM_Lewis
{
};
class eAI_SurvivorM_Manua: SurvivorM_Manua
{... | C++ |
arams);
}
/**
* Array version of: {@link #glGetQueryObjectiv GetQueryObjectiv}
*
* @see <a target="_blank" href="http://docs.gl/gl4/glGetQueryObject">Reference Page</a>
*/
public static void glGetQueryObjectiv(@NativeType("GLuint") int id, @NativeType("GLenum") int pname, @NativeType("... | Java |
: 300;
src: url(../../../assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-300-normal.woff2?bdea52a97975fe3b5a913b4103780c1b) format("woff2"), url(../../../assets/fonts/vendor/@fontsource/nunito/files/nunito-all-300-normal.woff?7e0da6e09bc199986988c0c7498beb1c) format("woff");
unicode-range: u+04... | CSS |
---@class DBMGUI
local DBM_GUI = DBM_GUI
local setmetatable, type, ipairs, tinsert = setmetatable, type, ipairs, table.insert
local DBM = DBM
local function GetDepth(self, parentID, depth) -- Called internally
depth = depth or 1
for _, v in ipairs(self.buttons) do
if v.frame.ID == parentID then
if not v.parent... | Lua |
NCIL_OP_KEEP, VK_COMPARE_OP_EQUAL, 0xffffffff, 0xffffffff, 0);
ColorBlendAttachmentBuilder blendbuilder;
blendbuilder.ColorWriteMask((VkColorComponentFlags)key.ColorMask);
BlendMode(blendbuilder, key.RenderStyle);
for (int i = 0; i < PassKey.DrawBuffers; i++)
builder.AddColorBlendAttachment(blendbuilder.Create(... | C++ |
Get value of RVF AVTPDU field.
* @pdu: Pointer to PDU struct.
* @field: PDU field to be retrieved.
* @val: Pointer to variable which the retrieved value should be saved.
*
* Returns:
* 0: Success.
* -EINVAL: If any argument is invalid.
*/
int avtp_rvf_pdu_get(const struct avtp_stream_pdu *pdu,
enu... | C |
/* mpn_toom_eval_dgr3_pm1 -- Evaluate a degree 3 polynomial in +1 and -1
Contributed to the GNU project by Niels Möller
THE FUNCTION IN THIS FILE IS INTERNAL WITH A MUTABLE INTERFACE. IT IS ONLY
SAFE TO REACH IT THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST
GUARANTEED THAT IT WILL CHANGE OR DISAP... | C |
4
BYTE $0xc1
BYTE $0x61
BYTE $0x6d
BYTE $0xd7
VMOVDQA X14, X5
BYTE $0xc5
BYTE $0x61
BYTE $0x6c
BYTE $0xfb
VMOVDQA X6, X14
BYTE $0xc4
BYTE $0xc1
BYTE $0x11
BYTE $0x6d
BYTE $0xdf
BYTE $0xc5
BYTE $0x41
BYTE $0x6c
BYTE $0xff
BYTE $0xc4
BYTE $0xc1... | Assembly |
delimitAllFields,
var convertNullTo}) {
if (rows == null) return '';
eol ??= this.eol;
var sb = StringBuffer();
String? sep = '';
rows.forEach((r) {
sb.write(sep);
sep = eol;
convertSingleRow(sb, r,
fieldDelimiter: fieldDelimiter,
textDelimiter: textDel... | Dart |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT-0
// ----------------------------------------------------------------------------
// Reduce modulo field characteristic, z := x mod p_25519
// Input x[4]; output z[4]
//
// extern void bignum_m... | Assembly |
Set<String> trampoline) => true;
/// Shorthand for calling [where].or with a [Where] clause.
void andWhere(void Function(Where) f) {
var w = newWhereClause();
f(w);
where.and(w);
}
/// Shorthand for calling [where].or with a [Where] clause.
void notWhere(void Function(Where) f) {
var w = new... | Dart |
finitions
*******************************************************************************/
#if !defined(DOUBLE)
#define ALPHA_R s0
#define ALPHA_I s1
#define SHZ 3
#else
#define ALPHA_R d0
#define ALPHA_I d1
#define SHZ 4
#endif
/******************************************************************************/
.... | Assembly |
_W { w: self }
}
#[doc = "Writes raw bits to the register."]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "Packet FIFO Status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](cr... | Rust |
using System;
using System.Collections.Generic;
using System.Text;
namespace IronAHK.Rusty.Common
{
partial class SimpleJson
{
/// <summary>
/// Format a dictionary of string key and object value pairs as a JSON string.
/// </summary>
/// <param name="Elements">The table of key ... | C# |
7(7255, -28330), new Class865(this));
this.Field3205.Method3540(Method1357(7403, 31640), new Class847(this));
this.Field3205.Method3540(Method1357(7176, 5208), new Class835(this));
this.Field3205.Method3540(Method1357(7295, 29250), new Class876(this));
this.Field3205.Method3540(Method1357(7265, ... | Java |
resolve: () => void, reject: ( error: Error ) => void ) => {
// Resolve file path to an absolute one
const resolvedFilePath: string = resolvePath( filePath, isWithinLibrary )
// Automatically stringify objects
const preparedFileContent: string = ( typeof fileContent === 'string' )
? fileContent
: `${ J... | Typescript |
nAttach(context: Context?) {
super.onAttach(context)
mainActivity = context as MainActivity
}
}
package com.example.sqlite
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.sqlite.databinding.Activity... | Kotlin |
// await MLService.instance.init();
// await PersonService.init(entityService, MLDataDB.instance, prefs);
// await MLService.instance.runAllML(force: true);
_logger.info("[BG TASK] smart albums sync");
await smartAlbumsService.syncSmartAlbums();
_logger.info("[BG TASK] $taskId completed");
} ... | Dart |
StartOfDay().minusWeeks(1);
우테대학교 = schoolRepository.save(SchoolFixture.builder()
.name("우테대학교")
.region(SchoolRegion.서울)
.build());
테코대학교 = schoolRepository.save(SchoolFixture.builder()
.name("테코대학교")
.region(SchoolRegion.서울)
.buil... | Java |
istory: 1-06-1997 JohannP (Johann Posch) Created
// Notes: called on DLL_PROCESSDETACH
void NotificationMgrUnInit()
{
DUMP_ALLOC_TRACK();
if (g_pCSchedListAgent)
{
g_pCSchedListAgent->Uninitialize();
}
}
// Function: CreateNotificationMgr
// Synopsis: creates a notifica... | C++ |
inline void $classname$::set_has_$name$() { __builtin_trap(); "
"}\n");
return;
}
// Singular field in a oneof
// N.B.: Without field presence, we do not use has-bits or generate
// has_$name$() methods, but oneofs still have set_has_$name$().
// Oneofs also have has_$name$() but only as a private... | C++ |
ยงาน
echo memory_get_usage() . "\n";
});
}
}
```
การดำเนินการของ webman
กระบวนการเริ่มต้น
เมื่อรันคำสั่ง php start.php start กระบวนการการเปิดใช้งานดำเนินการตามนี้:
1. โหลดการตั้งค่าที่อยู่ใน config/
2. ตั้งค่า Worker สำหรับไฟล์เช่น `pid_file` `stdout_file` `log_file` `max_package_si... | Markdown |
Params(),
},
expectErr: false,
},
}
for _, tc := range testCases {
suite.Run(fmt.Sprintf("MsgUpdateParams - %s", tc.name), func() {
_, err := suite.msgServer.UpdateParams(suite.ctx, tc.request)
if tc.expectErr {
suite.Require().Error(err)
} else {
suite.Require().NoError(err)
}
})
}
}... | Go |
ext, ivec2(ix & 511, y_base + (ix >> 9)), 0).xy);
return mix(s0, s1, fract(x));
}
vec2 scope(float x) { return (wave_read(x, 256 - 4) - 128.f) * 0.25; }
void main() {
// adjust for aspect ratio
vec2 user_uv = (v_uv-0.5) * uARadjust + 0.5;
vec3 rendercol= texture(uFP, user_u... | C++ |
@$core.Deprecated('Use listLinksResponseDescriptor instead')
const ListLinksResponse$json = {
'1': 'ListLinksResponse',
'2': [
{
'1': 'links',
'3': 1,
'4': 3,
'5': 11,
'6': '.google.logging.v2.Link',
'10': 'links'
},
{'1': 'next_page_token', '3': 2, '4': 1, '5': 9, '1... | Dart |
或者修改的内容可能影响资格预审申请文件或者投标文件编制的,招标人应当在提交资格预审申请文件截止时间至少3日前,或者投标截止时间至少15日前,以书面形式通知所有获取资格预审文件或者招标文件的潜在投标人;不足3日或者15日的,招标人应当顺延提交资格预审申请文件或者投标文件的截止时间。
第二十二条 潜在投标人或者其他利害关系人对资格预审文件有异议的,应当在提交资格预审申请文件截止时间2日前提出;对招标文件有异议的,应当在投标截止时间10日前提出。招标人应当自收到异议之日起3日内作出答复;作出答复前,应当暂停招标投标活动。
第二十三条 招标人编制的资格预审文件、招标文件的内容违反法律、行政法规的强制性规定,违反公开、公平、公正和诚实信用... | Markdown |
ch.tutteli.atrium.api.infix.en_GB.samples
import ch.tutteli.atrium.api.infix.en_GB.asList
import ch.tutteli.atrium.api.infix.en_GB.it
import ch.tutteli.atrium.api.infix.en_GB.o
import ch.tutteli.atrium.api.infix.en_GB.toContain
import ch.tutteli.atrium.api.infix.en_GB.toEqual
import ch.tutteli.atrium.api.verbs.expect... | Kotlin |
yle:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not... | JavaScript |
ba_notif->txed, ba_notif->txed_2_done);
IWL_DEBUG_TX_REPLY(mvm, "reduced txp from ba notif %d\n",
ba_notif->reduced_txp);
iwl_mvm_tx_reclaim(mvm, sta_id, tid, txq, index, &ba_info,
tid_data->rate_n_flags, false);
}
/*
* Note that there are transports that buffer frames before they reach
* the f... | C |
_lib4
.type kernel_sgemv_n_4_lib4, @function
kernel_sgemv_n_4_lib4:
PROLOGUE
// zero accumulation registers
vxorps %xmm0, %xmm0, %xmm0
vmovaps %xmm0, %xmm1
vmovaps %xmm0, %xmm2
vmovaps %xmm0, %xmm3
// call inner sgemv kernel n
movl ARG1, %eax // k
movl ARG3, %ebx // A
movl ARG4, %ecx // x
#if MACRO... | Assembly |
ap();
assert!(temp_dir
.path()
.join("mutants.out.old/log/source_tree.log")
.is_file());
assert!(temp_dir
.path()
.join("mutants.out/log/source_tree.log")
.is_file());
assert!(temp_dir
.path()
.join("... | Rust |
NumberFormat _format;
int _decimalDigits;
/// Constructor that specifies to how many digits the value should be
/// formatted.
///
/// @param digits
DefaultValueFormatter(int digits) {
setup(digits);
}
/// Sets up the formatter with a given number of decimal digits.
///
/// @param digits
vo... | Dart |
me:webkit-autofill-off;-webkit-animation-fill-mode:both}.q-input-shadow::-ms-clear,.q-input-shadow::-ms-reveal,.q-input-target::-ms-clear,.q-input-target::-ms-reveal{display:none;width:0;height:0}.q-input-shadow:invalid,.q-input-target:invalid{box-shadow:inherit}input.q-input-target{height:19px;outline:0}.q-input-chips... | CSS |
IsIn(PlayerPedId(), false), a) then
SetVehicleExtra(GetVehiclePedIsIn(PlayerPedId(), false), a, 1)
else
SetVehicleExtra(GetVehiclePedIsIn(PlayerPedId(), false), a, 0)
end
until( a > 25 )
else
if IsVehicleExtraTurnedOn(GetVehiclePedIsIn(PlayerPedId(), false), tonumber(num)) then
SetVehicl... | Lua |
33 0 0 0-11.508772-42.896332z" fill="" ></path></symbol><symbol id="icon-fuxuankuang" viewBox="0 0 1024 1024"><path d="M865.788024 895.762368H155.367168c-17.506859 0-29.735019-13.691204-29.735019-33.297802V159.033809c0-19.565959 12.22816-33.225554 29.735019-33.225553h710.425372c17.542984 0 29.798237 13.66411 29.798237 ... | JavaScript |
-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#3d546f;border-radius:3px;box-... | CSS |
nwell_Ice_Barrier01",
[188120] = "Chantiers, Usines et Ateliers",
[188123] = "Boîte aux lettres",
[188124] = "Coffre de glace",
[188126] = "Coffre-fort de guilde",
[188127] = "Coffre-fort de guilde",
[188128] = "Flamme de l'Exodar",
[188129] = "Flamme de Lune-d'argent",
[188130] = "Pierre de glace",
[188131] = "Caisse ... | Lua |
代码风格。需要注意的是,因为业务逻辑的复杂多变性,AARF 只是尽可能地在抽象与具体之间寻求一种平衡,具体的业务逻辑设计与代码架构还是需要根据实际的应用场景而言。而这种抽象毫无疑问在设计初期会影响到性能,譬如可能需要冗余的数据库操作等,这种性能的补偿会在后面提及。
在对大量复杂的业务后台的分析之后,发现如果我们深入到某个具体的业务流设计中,会发现不同的 API 之间具有相当复杂的且唯一的关系。而如果我们提取这些业务逻辑之间的共性,即会发现对于一些抽象资源的组合和处理方式是如此的类似。
AARF 继承并个性化的解释了 REST 的六大原则,同时自身的原则为:
> 这些所谓的原则还处于修订中,不建议用于生产环境
>
> PS:上面... | Markdown |
fmt.Sprintf("/api/v2/repos/%v/toc", bookID), token)
bookToc := struct {
BookToc []BookToc `json:"data"`
}{}
err = util.FromJSONBytes(res.Body, &bookToc)
if err != nil {
panic(err)
}
log.Debug("book:", bookSlug, ",", bookID, ",toc:", len(bookToc.BookToc))
// Create a map for quick... | Go |
which is the maximum sum
// with boundary columns strictly as left
// and right.
sum = kadane(temp, &start, &finish, ROW);
// Compare sum with maximum sum so far.
// If sum is more, then update maxSum and
// other output values
... | Markdown |
-- Enhanced Jupyter styling for Markdown files (.md)
if vim.fn.expand("%:e") == "md" then
-- Check if this is a Jupyter-converted markdown file
local lines = vim.api.nvim_buf_get_lines(0, 0, 20, false)
local is_jupyter = false
for _, line in ipairs(lines) do
if line:match("^```python") then
is_jupyte... | Lua |
Type.STREETS -> MapType.SATELLITE
MapType.SATELLITE -> MapType.HYBRID
MapType.HYBRID, MapType.LAST_USED -> MapType.STREETS // Never set to LAST_USED
}
onMapTypeChanged?.invoke(mapType)
mapLibreMap?.let { setStyleForCurrentViewport(it) }
}
fun setMapType(type: Map... | Kotlin |
2.007139630671868);
pSH[21] = fTmpA*fC0;
pSH[19] = fTmpA*fS0;
fTmpB = 2.03100960115899*fZ*fTmpA + -0.991031208965115*fTmpC;
pSH[31] = fTmpB*fC0;
pSH[29] = fTmpB*fS0;
fTmpC = 2.021314989237028*fZ*fTmpB + -0.9952267030562385*fTmpA;
pSH[43] = fTmpC*fC0;
pSH[41] = fTmpC*fS0;
fTmpA = 2.01556443707... | JavaScript |
Object_xQ6 = A.typeLiteral(\"Object\");\n"
},
{
"id": "constant/B.Type_dynamic_0Rz = A.typeLiteral(\"@\");\n",
"kind": "constant",
"name": "",
"size": 41,
"outputUnit": "outputUnit/main",
"code": "B.Type_dynamic_0Rz = A.typeLiteral(\"@\");\n"
}],
deferredFiles=[{}],
dependencies=[{}],
library=[{
"id"... | Dart |
= "ddz";
let localSelect = myStorage.MyStorage.get(myStorage.KeyAndType.GameType_creatRoom);
if (localSelect != null) {
this.selectValue_creatGameSelectGroup = localSelect;
}
switch (this.selectValue_creatGameSelectGroup) {
case "dqmj": {
this.initMj();
break;
}
case "ddz": {
... | Typescript |
_list_tile.dart';
/// A dialog/card shows the exam detail.
class ExperimentDetailCard extends StatelessWidget {
final ExperimentData experiment;
final MaterialColor infoColor;
const ExperimentDetailCard({
super.key,
required this.experiment,
required this.infoColor,
});
@override
Widget build(... | Dart |
",
"name": "VARANASI CITY",
"zone": "NER",
"address": "Raja Bazar Road, Varanasi, Uttar Prade.."
},
{
"id": 558,
"code": "BCYN",
"name": "BUDHDEVCHAK YADAV NAGAR",
"zone": "ECR",
"address": "Raipura, Bihar 803202, India"
},
{
"id": 559,
"code": "BD",
... | JavaScript |
Length; i++) {
if (a[i] != b[i]) {
return a[i] - b[i];
}
}
return a.length - b.length;
}
factory MultisignatureScript.forP2wsh(
int requiredSignature, int totalSigner, List<Uint8List> publicKeys) {
List<dynamic> cmds = [];
publicKeys.sort((a, b) {
for (int i = 0; i ... | Dart |
nses/fdl.html.
# BurpSuite 之 Repeater 模块使用
## 一、实验介绍
### 1.1 实验内容
本实验,我们注重讲解一下 BurpSuite 工具的 Repeter 模块内容。
### 1.2 实验知识点
- Repeater 模块说明和使用
### 1.3 实验环境
- Ubuntu 14.0
- BurpSuite 免费版
## 二、BurpSuite Repeater 模块
Burp Repeater 是一个手动修改并补发个别 HTTP 请求,并分析他们的响应的工具。它最大的用途就是和其他 Burp Suite 工具结合起来。你可以从目标站点地图,从 Burp ... | Markdown |
。
* `abort` し、`truncate` 機能はサポートされていません。
* 進行状況イベントは起動しません。たとえば、このハンドラーがない実行されます。
```javascript
writer.onprogress = function() { /*commands*/ };
```
## ノートをアップグレードします。
このプラグインのデベロッパー、公開された仕様に合うように、`認証` と `DirectoryEntry` の構造が変更されました。
プラグインの前 (pre 1.0.0) バージョンはデバイス絶対ファイル場所 `エントリ` オブジェクトの `fullPath` プロパティに格納されます。... | Markdown |
right-end { 0% { left: 0; } 50% { left: -30px; } 100% { left: 0; }}@-moz-keyframes lg-right-end { 0% { left: 0; } 50% { left: -30px; } 100% { left: 0; }}@-ms-keyframes lg-right-end { 0% { left: 0; } 50% { left: -30px; } 100% { left: 0; }}@keyframes lg-right-end { 0% { le... | CSS |
ret
poke:
ldr eip, [_ip, -FIBER_BLOCK_code+FIBER_BLOCK_addr]
# fallthrough
.global fiber_ret
fiber_ret:
# load -1
mvn _tmp, wzr
# fallthrough
.global fiber_exit
fiber_exit:
save_regs
ldr lr, [sp, 0x60]
ldp x28, x29, [sp, 0x50]
ldp x26, x27, [sp, 0x40]
ldp x24, x25, [sp, 0x30]
... | Assembly |
send ordinary IPI with vector tempUPID.NV to 32-bit physical APIC
/// // ID tempUPID.NDST
/// SendOrdinaryIPI(tempUPID.NV, tempUPID.NDST)
/// ELSE
/// // send ordinary IPI with vector tempUPID.NV to 8-bit physical APIC
/// // ID tempUPID.NDST[15:8]
/// SendOrdinaryIPI(tempUPID.NV, tem... | C |
nityEditor.AssetDatabase.FindAssets($"t:{nameof(LocalizedString)}", null))
{
LocalizedString otherString = UnityEditor.AssetDatabase.LoadAssetAtPath<LocalizedString>(UnityEditor.AssetDatabase.GUIDToAssetPath(guid));
if (!addedStrings.Contains(otherString))
... | C# |
"\f250";
$ionicon-var-thumbsup: "\f251";
$ionicon-var-toggle: "\f355";
$ionicon-var-toggle-filled: "\f354";
$ionicon-var-trash-a: "\f252";
$ionicon-var-trash-b: "\f253";
$ionicon-var-trophy: "\f356";
$ionicon-var-umbrella: "\f2b7";
$ionicon-var-university: "\f357";
$ionicon-var-unlocked: "\f254";
$ionicon-var-upload: ... | CSS |
oisissez jusqu'à",
"{C:attention}5{} cartes à jouer",
"et appuyez sur {C:blue}Jouer la main"
},
fh_6 = {
"Vous pouvez également {C:red}Défausser{} jusqu'à",
"{C:attention}5{} cartes sélectionnées",
"pour essayer de c... | Lua |
hp_block:first-child .qs_textfield::placeholder,.BookmarksSearch .hp_block:first-child .qs_textfield::placeholder,.head_panel:first-child .hp_block:first-child .qs_textfield::placeholder,.qsearch_wrap .hp_block:first-child .qs_textfield::placeholder{color:#909499}.audioPage__search .hp_block:first-child .qsearch .iwrap... | CSS |
3.NewFile("file_D", []byte("STUB"), 5))
t.Run("commit two files in reverse order", func(t *testing.T) {
objects, err := poller0.FetchObjects(currReader)
require.NoError(t, err)
require.Equal(t, []string{"file_7", "file_D"}, objects)
require.Equal(t, `{"NS":2,"Files":["file_4","file_6"]}`, dpClient.GetTransfe... | Go |
RLLTE**,开发者只需三步就可以实现一个强化学习算法。接下来这个例子将展示如何实现 Advantage Actor-Critic (A2C) 算法用于解决 Atari 游戏:
- 首先,调用算法原型:
``` py
from rllte.common.prototype import OnPolicyAgent
```
- 其次,导入必要的模块:
``` py
from rllte.xploit.encoder import MnihCnnEncoder
from rllte.xploit.policy import OnPolicySharedActorCritic
from rllte.xploit.storage imp... | Markdown |
Node node, ref Paragraph paragraph, Dictionary<string, object> properties)
{
if (node.IsNull() || node.Parent == null || IsHidden(node))
{
return;
}
paragraph = null;
Paragraph headerParagraph = null;
ProcessBlockElement(n... | C# |
],
"人心隔肚皮": [["rén"], ["xīn"], ["gé"], ["dù"], ["pí"]],
"人心莫测": [["rén"], ["xīn"], ["mò"], ["cè"]],
"人行横道": [["rén"], ["xíng"], ["héng"], ["dào"]],
"人行道": [["rén"], ["xíng"], ["dào"]],
"人心丧尽": [["rén"], ["xīn"], ["sàng"], ["jìn"]],
"人心难测": [["rén"], ["xīn"], ["nán"], ["cè"]],
"人心向背": [["rén"], ["xīn"], ["xiàng"], ["bèi... | Typescript |
a popout window","new-tab":"Open in a new tab","md-properties":"Show the Markdown image-properties dialog (only relevant if you have embedded a markdown document as an image)"}}),processModifiers=(e,t)=>{const n=window.ExcalidrawAutomate.plugin.settings,i=(DEVICE.isMacOS||DEVICE.isIOS?n.modifierKeyConfig.Mac:n.modifie... | JavaScript |
목걸이를 돌려주어야 합니다."}},
[1690] = {"사막유랑단 처단",nil, {"가젯잔의 동쪽에서 10명의 사막유랑단 약탈자와 좀도둑을 처치한 후, 선임기술자 빌지위즐에게 돌아와 보고하십시오."}},
[1691] = {"사막유랑단 추가 처단",nil, {"가젯잔에 있는 선임기술자 빌지위즐을 위해 사막유랑단 도적 8명, 사막유랑단 암살자 6명, 그리고 사막유랑단 어둠마법사 10명을 처치해야 합니다."}},
[1692] = {"대장장이 메시엘",nil, {"엘루니트 상자를 대장장이 메시엘에게 가져가야 합니다."}},
[1693] = {"엘루니트의 무기",nil, n... | Lua |
AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTI... | Assembly |
_fintd_
short 0x0000
bra.l _fintx_
short 0x0000
bra.l _fintrzs_
short 0x0000
bra.l _fintrzd_
short 0x0000
bra.l _fintrzx_
short 0x0000
bra.l _fmuls_
short 0x0000
bra.l _fmuld_
short 0x0000
bra.l _fmulx_
short 0x0000
bra.l _fnegs_
short 0x0000
bra.l _fnegd_
short 0x0000
bra.l _fnegx_
short 0x0000... | Assembly |
, direction) => {
let iter = match direction {
Direction::Forward => db.range(key..),
Direction::Reverse => db.range(..=key),
};
Self { mode, iter }
}
EdgeKVIteratorMode::Prefix(key) => Self {
... | Rust |
signOutUser();
}
}
import { Array, HArray as _HArray, Constructor } from '../../DataStructure/Mutable/Array';
import { Functor1 } from '../../Typeclass/Data/Functor';
import { Apply1 } from '../../Typeclass/Control/Apply';
import { Applicative1 } from '../../Typeclass/Control/Applicative';
import { Bind1 } from '..... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.