content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
12" "" 1 erase_right
def_plot erase_1x3_full "" "%d3" 3 erase_full
def_plot erase_1x3_left "" "" 3 erase_left
def_plot erase_1x3_right "12" "" 3 erase_right
def_plot erase_1x4_full "" "%d3" 4 erase_full
def_plot erase_1x4_left "" "" 4 erase_left
def_plot erase_1x4_right "12" "" 4 eras... | Assembly |
split(/[/\\]/));
// Drop leading ? from query and split by ampersands.
this.paramList = match[2] && match[2].substr(1).split('&');
}
}
/** Resolve another URI relative to this address. */
resolve(uri: string) {
return(new Address(uri, this));
}
/** Convert to URI string. */
format() {
var proto = ... | Typescript |
case IfcElectricFlowStorageDeviceClause.CorrectTypeAssigned:
retVal = (Functions.SIZEOF(IsTypedBy) == 0) || (Functions.TYPEOF(this/* as IfcObject*/.IsTypedBy.ItemAt(0).RelatingType).Contains("IFC4.IFCELECTRICFLOWSTORAGEDEVICETYPE"));
break;
}
} catch (Exception ex) {
var log = Validation.Valida... | C# |
器 MAC 地址相匹配,不是实时的,会有一个时间差,所以有时候你出门旅行,方位变了,但是谷歌还会显示以前的方位,要过一段时间以后才会纠正。
如果你真的想避免暴露自己的方位,需要使用剥离了谷歌服务的安卓系统(比如 [GrapheneOS](https://grapheneos.org/)),或者剥离了谷歌服务的 Chrome 浏览器(即 Chromium)。
问题是很多 App 都偷偷收集这些数据,谷歌、苹果这样的大公司,至少是明着干,可能还有办法关掉。小公司是偷偷做,根本不告诉用户,完全防不胜防。
所以,在互联网上,想要隐藏自己的方位,其实非常难。如果电信服务商、操作系统、应用软件都设置了追踪机制,它们联合起来,我觉得几乎没有... | Markdown |
",type:"n"}],phrases:[{phrase:"fingerprint identification",translation:"指纹鉴定"},{phrase:"dna fingerprint",translation:"DNA指纹;DNA指纹图谱(等于genetic fingerprint)"},{phrase:"fingerprint technique",translation:"指纹技术;指纹法(蛋白质分析)"},{phrase:"fingerprint chromatogram",translation:"指纹色谱"}],sentences:[{sentence:"His fingerprints were ... | JavaScript |
.isEmpty);
assert(instruction.canThrow(_abstractValueDomain));
if (!instruction.onlyThrowsNSM()) return false;
final receiver = instruction.getDartReceiver(closedWorld);
HInstruction? current = instruction.next;
do {
if ((current!.getDartReceiver(closedWorld) == receiver) &&
curren... | Dart |
, area, perimeter)
}
}
for _, row := range garden {
println(string(row))
}
println("Price:", price)
}
var dirs = [4][2]int{
{1, 0},
{0, 1},
{-1, 0},
{0, -1},
}
func isValid(rows int, cols int, curr_row int, curr_col int) bool {
return !(curr_row < 0 || curr_row >= rows || curr_col < 0 || curr_col >= col... | Go |
----------
}
// Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.3 (2014/07/02)
#include "Wm5MathematicsPCH.h"
#include "Wm5Singula... | C++ |
0 rgba(34,36,38,.15);box-shadow:0 0 0 1px #d4d4d5,0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15)}.ui.centered.cards{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ui.centered.card{margin-left:auto;margin-right:auto}.ui.fluid.card{width:100%;max-width:9999px}.ui.cards a.card,.ui.li... | CSS |
>src/discord/interface/channel/thread_member.rs
use chrono::{DateTime, Utc};
use crate::discord::snowflake::Snowflake;
#[derive(Serialize, Deserialize, Debug)]
pub struct ThreadMember {
id: Snowflake,
user_id: Snowflake,
join_timestamp: DateTime<Utc>,
flags: usize,
}
<reponame>loicngr/Squar... | Rust |
opcode = 6;
pub const ibv_wr_opcode_IBV_WR_BIND_MW: ibv_wr_opcode = 8;
pub const ibv_wr_opcode_IBV_WR_LOCAL_INV: ibv_wr_opcode = 7;
pub const ibv_wr_opcode_IBV_WR_RDMA_READ: ibv_wr_opcode = 4;
pub const ibv_wr_opcode_IBV_WR_RDMA_WRITE: ibv_wr_opcode = 0;
pub const ibv_wr_opcode_IBV_WR_RDMA_WRITE_WITH_IMM: ibv_wr_opcode... | Rust |
from typing import List
import sys
# Increase recursion depth limit for potentially deep DFS paths
# Be cautious with this in production environments, but useful for deep grids in competitive programming.
# sys.setrecursionlimit(10000) # Usually not needed for constraints m, n <= 300
class Solution:
"""
Solve... | Python |
', '', '', '', '', '', '', '100000', '', '1', '2', '1', '%s', '', '[{"id":9957001,"pos":2,"enter":2}]', '', '2', '', '', '', '', '', '', '', '', '1041817', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'1041817', '', '……根据内区和外区的回报,都没有发现关于异邦人的痕迹。', '', '', '', '', '', '', '', '', '', '9957001', '', '... | Lua |
(width << DCB_CSWIDTH_SHIFT))
#define W_DCB_XMAP9_PROTOCOL DCB_CYCLES (2, 1, 0)
#define WSLOW_DCB_XMAP9_PROTOCOL DCB_CYCLES (5, 5, 0)
#define WAYSLOW_DCB_XMAP9_PROTOCOL DCB_CYCLES (12, 12, 0)
#define R_DCB_XMAP9_PROTOCOL DCB_CYCLES (2, 1, 3)
static __inline__ void
xmap9FIFOWait (struct newport_reg... | C |
const T = Number(arr[0x2]);
if (Math[_0x3baa5b(0xef)](AV[0x0] - BW[0x0]) < T * (AV[0x1] - BW[0x1])) {
console[_0x3baa5b(0xe5)](_0x3baa5b(0xf3));
} else {
console[_0x3baa5b(0xe5)]('NO');
}
}
function a0_0x97ca(eqvUVe, key) {
const stringArray = a0_0x5063();
a0_0x97ca = function (inde... | JavaScript |
ol)
{
FontInfo font = new FontInfo();
font.Family = control.FontFamily;
font.Size = control.FontSize;
font.Style = control.FontStyle;
font.Stretch = control.FontStretch;
font.Weight = control.FontWeight;
font.BrushColor = (Solid... | C# |
ultiple);
apdu_set_confirmed_handler(
SERVICE_CONFIRMED_REINITIALIZE_DEVICE, handler_reinitialize_device);
apdu_set_confirmed_handler(
SERVICE_CONFIRMED_WRITE_PROPERTY, handler_write_property);
/* handle communication so we can shutup when asked */
apdu_set_confirmed_handler(SERVICE_CONF... | C |
ல்)' },
},
},
car = {
help = 'ஸ்பான் வாகனம் (நிர்வாகம் மட்டும்)',
params = {
model = { name = 'model', help = 'வாகனத்தின் மாதிரி பெயர்' },
},
},
dv = { help = 'வாகனத்தை நீக்கு (நிர்வாகம் மட்டும்)' },
dvall = { help =... | Lua |
sub count, dstend2, dst /* Count is 16 too large. */
sub dst, dst, 16 /* Dst is biased by -32. */
sub count, count, 64 + 16 /* Adjust count and bias for loop. */
10: // no_zva_loop
stp q0, q0, [dst, 32]
stp q0, q0, [dst, 64]!
subs ... | Assembly |
impl Dataset {
fn size(&self) -> usize {
match self {
Dataset::Small => 1024,
Dataset::Medium => 10_000,
Dataset::Large => 1_000_000,
}
}
}
pub fn scans(c: &mut Criterion) {
// Handle the single gets
#[cfg(debug_assertions)]
let sizes = [Dataset::... | Rust |
"getStatusMultiparty",
Path: "status/multiparty",
Method: http.MethodGet,
PathParams: nil,
QueryParams: nil,
Description: coremsgs.APIEndpointsGetMultipartyStatus,
JSONInputValue: nil,
JSONOutputValue: func() interface{} { return &core.NamespaceMultipartyStatus{} },
... | Go |
#CHECK: Link: 0
#CHECK: Info: 0
#CHECK: AddressAlignment: 1
#CHECK: EntrySize: 0
#CHECK: }
#CHECK: Section {
#CHECK: Index: 2
#CHECK: Name: .bbb
#CHECK: Type: SHT_PROGBITS
#CHECK: Flags [
#CHECK: SHF_ALLOC
#CHECK: ]
#CHECK: Address: 0x3000
#CHECK: Offset: 0x2000
#CHECK: Size: ... | Assembly |
pr_7663_(e);e=[6,e];b=c=s2typ_make_node_7119_(c,e);break;case 5:c=e[1];e=e[2];var f=f0_impr_7663_(e);e=s2typ_get_sort_6080_(f);c=[7,c,f];b=c=s2typ_make_node_7119_(e,c);break;case 6:c=e[1];e=e[2];c=f0_impr_7663_(c);f=
f0_impr_7663_(e);e=s2typ_get_sort_6080_(c);c=[8,c,f];b=c=s2typ_make_node_7119_(e,c);break;case 7:f=e[1]... | JavaScript |
- High":21,"# Uninsured":844,"% Uninsured":5,"95% CI - Low":3,"95% CI - High":6,"Sample Size":469,"% Couldn't Access":15,"Household Income":50401,"95% CI - Low":45630,"95% CI - High":55172,"# high housing costs":6441,"Households":21578,"% high housing costs":30,"% Free lunch":44,"Homicide Rate":6,"95% CI - Low":4,"95%... | JavaScript |
firestore_service.dart';
import '../src/utilities/entity_generators.dart';
import '../src/utilities/mocks.mocks.dart';
import '../src/utilities/webhook_generators.dart';
void main() {
useTestLoggerPerTest();
late FakeConfig config;
late CommitService commitService;
late MockGithubService githubService;
late... | Dart |
potion available use it
/// instead of attacking in the current turn.
fn autopotion(game: &mut Game, enemy: &Character) -> bool {
if game.player.current_hp > game.player.max_hp / 3 {
return false;
}
// If there's a good chance of winning the battle on the next attack,
// don't use the potion.
... | Rust |
lecto aumentado %s p. lanzar hechizos también activará chispas cosméticas que se lanzan hacia los objetivos. dura %s s"] = { { Stats.Intellect, }, false, } -- s146806
L["espíritu aumentado %s p. los efectos de tus hechizos beneficiosos ahora también activarán chispas cosméticas que se lanzan hacia los objetivos. dura %... | Lua |
/*
* @author Valentin Simonov / http://va.lent.in/
*/
using TouchScript.InputSources;
using UnityEngine;
namespace TouchScript.Pointers
{
/// <summary>
/// A pointer of type <see cref="Pointer.PointerType.Mouse"/>.
/// </summary>
public class MousePointer : Pointer
{
#region Public prope... | C# |
。デフォルトのサンプル ドライバーを使用する場合は、/example ディレクトリをプロジェクトに追加します。
### 使用
/example ディレクトリ内のサンプルを参照して、独自のドライバーを完成させることができます。 デフォルトのプログラミング例を使用したい場合の使用方法は次のとおりです。
#### example basic
```C
#include "driver_mcp3421_basic.h"
uint8_t res;
uint32_t i;
double s;
/* basic init */
res = mcp3421_basic_init();
if (res != 0)
{
mcp342... | Markdown |
696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 ... | JavaScript |
ion.set_host_numa_node_id(host_numa_node_id);
region.set_file_offset(file_offset);
region.set_perm_flags(perm_flags);
if is_hotplug {
region.set_hotplug();
}
region
}
/// Create an address space region to map memory into the virtual machine.
///
/// ... | Rust |
var req = Request("analogs", "write");
// add params
for (var state in states) {
var obj = [
state.name,
state.state
];
req.addParam(obj);
}
return con.request(req);
}
Future<void> analogsWriteReset(Connection con, List<String> names) {
var req = Request("analogs", "write_reset")... | Dart |
][1080p][繁體內嵌]
// VCB-Studio [动漫国字幕组&VCB-Studio] Kujira no Kora wa Sajou ni Utau / 泥鲸之子们在沙地上歌唱 / クジラの子らは砂上に歌う 10-bit 1080p HEVC BDRip [Fin] 約4條評論
// VCB-Studio [VCB-Studio] Kaifuku Jutsushi no Yarinaoshi / 回复术士的重来人生 / 回復術士のやり直し 10-bit 1080p HEVC BDRip [Fin] 約1條評論
// 云光字幕组 [云光字幕组]间谍过家家 SPY×FAMILY... | Kotlin |
4px;
-webkit-app-region: no-drag;
}
.currentUserContainer
.personanameandstatus_gameName_1cB0q.personanameandstatus_richPresenceLabel_2Ri00 {
font-size: 13px;
}
.currentUserContainer .personanameandstatus_richPresenceLabel_2Ri00 {
-webkit-app-region: no-drag;
}
.currentUserContainer .personanameandstatus_richPr... | CSS |
var uranus_b_0 = 0.0;
uranus_b_0+=-Math.pow(t,0.0)* 0.00061601196* 0.0*Math.sin( 3.14159265359 + 0.0 * t);
uranus_b_0+=-Math.pow(t,0.0)* 0.000623414* 149.5631971346*Math.sin( 5.08111189648 + 149.5631971346 * t);
uranus_b_0+=-Math.pow(... | Kotlin |
JsonObject jparams{{"theme", QJsonObject{{"system", match.captured(1)}}}};
QString params = Utils::stringifyJson(jparams);
for (auto i: GetViewsId()) {
sendCommandTo(GetViewById(i), L"renderervars:changed", params.toStdWString());
}
#i... | C++ |
at: left;
margin-bottom: 30px;
}
.wd44 {
width: 44.45%;
float: left;
margin-bottom: 30px;
}
/* End Courses Area css
============================================================================================ */
/* Course Details Area css
===========================================================================... | CSS |
from fastapi import APIRouter, Depends, HTTPException
from sqlalchemy.orm import Session
from typing import List, Optional
from .. import models, schemas, database
router = APIRouter(prefix="/meals", tags=["meals"])
def get_db():
db = database.SessionLocal()
try:
yield db
finally:
db.close... | Python |
入导出、打印等高级功能请使用 [Univer](https://github.com/dream-num/univer/)
## 生态
| 工程 | 描述 |
|---------|-------------|
| [Luckysheet Vue] | 在vue cli 3项目中使用Luckysheet和Luckyexcel|
| [Luckysheet Vue3] | 在vue3, vite项目中使用Luckysheet和Luckyexcel|
| [Luckysheet React] | 在React项目中使用Luckysheet |
| [Luckyexcel Node... | Markdown |
usecs / 1000));
}
/*
* Returns the network latency in ms, note that this includes any
* difference in clock settings between the servers, as well as timezone.
*/
int
GetReplicationTransferLatency(void)
{
/* use volatile pointer to prevent code rearrangement */
volatile WalRcvData *walrcv = WalRcv;
TimestampTz l... | C |
none; }
.bi-collapse { display: inline-block; }
}
}
/*!
* Bootstrap Docs (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors
* Copyright 2011-2021 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License.
* For details, see https://creativecommons.org/licenses... | CSS |
in BoardInventory.HOTBAR_RANGE -> {
return attemptInsert(stack, BoardInventory.INVENTORY_RANGE) ?: ItemStack.EMPTY
}
in BoardInventory.INVENTORY_RANGE -> {
return attemptInsert(st... | Kotlin |
ordinate frame).
/// </summary>
public double Latitude { get { return _latitude; } }
/// <summary>
/// Longitude in decimal degrees west (WGS84 coordinate frame).
/// </summary>
public double Longitude { get { return _longitude; } }
/// <summary>
/// Alt... | C# |
bel ("Add Active Child");
gtk_box_pack_start (GTK_BOX(vbox), button, FALSE, FALSE, 0);
g_signal_connect_swapped (button, "clicked",
G_CALLBACK (add_active_child), vbox);
button = gtk_button_new_with_label ("Add Passive Child");
gtk_box_pack_start (GTK_BOX(vbox), button, FALSE, FALSE, 0);
g_signal_co... | C |
k.
///
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_kor_mask32&expand=3240)
#[inline]
#[target_feature(enable = "avx512bw")]
#[cfg_attr(test, assert_instr(or))] // generate normal and code instead of kord
pub unsafe fn _kor_mask32(a: __mmask32, b: __mmask32) -> __mmas... | Rust |
民政府组织划定;其中,省际工程的管理范围和保护范围,由国务院水行政主管部门或者其授权的流域管理机构商有关省人民政府组织划定。
丹江口水库、南水北调中线工程总干渠的管理范围和保护范围,由国务院水行政主管部门或者其授权的流域管理机构商有关省、直辖市人民政府组织划定。
第三十九条 南水北调工程管理范围按照国务院批准的设计文件划定。
南水北调工程管理单位应当在工程管理范围边界和地下工程位置上方地面设立界桩、界碑等保护标志,并设立必要的安全隔离设施对工程进行保护。未经南水北调工程管理单位同意,任何人不得进入设置安全隔离设施的区域。
南水北调工程管理范围内的土地不得转作其他用途,任何单位和个人不得侵占;管理范围内禁止擅自从事与工程管理无... | Markdown |
import os
import mne
import matplotlib.pyplot as plt
# Define the path to the dataset
data_path = "chb-mit-scalp-eeg-database-1.0.0/chb01"
# List all the .edf files in the "chb01" directory
edf_files = [f for f in os.listdir(data_path) if f.endswith('.edf')]
# Create a list to store the loaded EEG data
raw_list = []... | Python |
AtomicGraph | CompoundGraph;
export type AtomicGraph = NodeDecl;
export type CompoundGraph = Edge[];
export type Node = NodeDecl | NodeRef;
// Disjoint types
export interface Graph {tag: "Graph"; dir: Dir; content: GraphContent; }
export interface Edge {tag: "Edge"; from: Node; to: Node; label?: string; }
exp... | Typescript |
xb䶈l
U 32%22H1"%5\-ڕ9?ƨ4
pX͒;'q5%.~pU)wž$n/qqċm^yi9z_,ͼfx7K[|n]|e
3kY U&xV]!«e
!u@Y-S9.e
{+4V(.I8wT1<|y:kEl(i.\O.nx[۩
uADek Rhtx)",We`r@>:ڧ 38m;$^$JB4!\.5J6ڂȳcZ79^uϻNHr~u$8$c
8#!x^˺B0| ]HϽ8Sː^[t [lMb
t kZ#);/=;#ގQ9]I%ǁ9-ld"jVUM`VŘLϥB\tɝb"OЊC0ѹj<pr... | Python |
h, z31.h, z31.h // 01100101-00011111-00000011-11111111
// CHECK-INST: bfadd z31.h, z31.h, z31.h
// CHECK-ENCODING: | Assembly |
crate) data: ProgramData<CgroupSkbLink>,
pub(crate) expected_attach_type: Option<CgroupSkbAttachType>,
}
impl CgroupSkb {
/// Loads the program inside the kernel.
pub fn load(&mut self) -> Result<(), ProgramError> {
self.data.expected_attach_type =
self.expected_attach_type
... | Rust |
leX) Descriptor() ([]byte, []int) {
return file_proto_google_fhir_proto_r5_core_resources_example_scenario_proto_rawDescGZIP(), []int{0, 3, 0}
}
func (m *ExampleScenario_Instance_StructureProfileX) GetChoice() isExampleScenario_Instance_StructureProfileX_Choice {
if m != nil {
return m.Choice
}
return nil
}
fun... | Go |
EN_W { w: self }
}
#[doc = "Bit 7 - I2C No Hold BUS Enable Bit Note: The I2C controller could respond when WKIF event is not clear, it may cause error data transmitted or received. If data transmitted or received when WKIF event is not clear, user must reset I2C controller and execute the original operation aga... | Rust |
CoercionAction.Fail)
.setCoercion(CoercionInputShape.Array, CoercionAction.Fail)
.setCoercion(CoercionInputShape.Object, CoercionAction.Fail);
})
.build();
String json = "{ \"field\": [ 1 ] }";
try {
mapper.read... | Java |
x.xhr_.responseText = '';
assertEquals('', x.getResponse());
// Response type of array buffer gets the array buffer.
x.xhr_.mozResponseArrayBuffer = 'ab';
x.setResponseType(goog.net.XhrIo.ResponseType.ARRAY_BUFFER);
assertEquals('ab', x.getResponse());
// With a response field, it is returned no matter ... | JavaScript |
ware.camera2.CameraManager;
import android.hardware.camera2.CameraMetadata;
import android.os.Build;
import android.util.Log;
import org.fossasia.phimpme.opencamera.Camera.MyDebug;
/** Provides support using Android 5's Camera 2 API android.hardware.camera2.*. */
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class C... | Java |
UI Semibold","Segoe UI Web Semibold","Segoe WP Semibold","Segoe UI","Segoe WP",Segoe,Tahoma,Arial,sans-serif!important;font-size:16px!important;color:#212121!important;margin:10px 0 10px 18px;letter-spacing:.01px}.o365cs-nav-allViewFooter{display:block;position:absolute;bottom:0;width:100%}.o365cs-nav-allViewAppGaller... | CSS |
PinSize);
eyeRect = new RectangleF(p.X + CircuitGroupPinInfo.FloatingPinBoxWidth + 2, pinRect.Y, width, pinRect.Height);
}
return eyeRect;
}
private void DrawGroupPinNodeFakeEdge(ICircuitGroupPin<TElement> grpPin, PointF grpPinPos, bool inputSide, DiagramDrawingS... | C# |
ign: center }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
.title {
font-size: 42px;
font-weight: bold;
}
/*}}}*/
/* List: definition list {{{*/
dl.docutils dd {
margin-bottom: 0.5em }
dl.docutils dt {
font-weight: bold }
span.classi... | CSS |
0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"></path>
</svg>
</button>
</div>
</article>
</div>
</section>
<article class="border shadow-sm break-inside flex items-center justify-between rounded-xl p-4 mb-3 text-sm bg-white dark:bg-gray-950 dark:text-white dark:border-gray-... | Markdown |
ellParticle(p_107817_, p_107818_, p_107819_, p_107820_, p_107821_, p_107822_, p_107823_, this.sprite);
}
}
@OnlyIn(Dist.CLIENT)
public static class MobProvider implements ParticleProvider<SimpleParticleType> {
private final SpriteSet sprite;
public MobProvider(SpriteSet p_107826_) {
... | Java |
a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:4px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,25... | CSS |
" dire"
-- LitePanels AFK module
L_PANELS_AFK = "Tu es AFK !"
L_PANELS_AFK_RCLICK = "Clic droit pour cacher."
L_PANELS_AFK_LCLICK = "Clic gauche pour revenir."
-- Cooldowns
L_COOLDOWNS = "Temps de recharge : "
L_COOLDOWNS_COMBATRESS = "Résurrection en combat"
L_COOLDOWNS_COMBATRESS_REMAINDER = "Résurrection en comba... | Lua |
OK'
},
{
'_id': '73538',
'city': 'ELGIN',
'loc': [-98.40732199999999, 34.772018],
'pop': 5476,
'state': 'OK'
},
{
'_id': '73539',
'city': 'ELMER',
'loc': [-99.316744, 34.513668],
'pop': 569,
'state': 'OK'
},
{
'_id': '73540',
'city': 'FAXON',
'loc': [-98.5... | Dart |
]
pub ingredients: Vec<CreateIngredientCommand>,
pub user_id: UserId,
}
#[derive(Debug, Validate)]
pub struct CreateIngredientCommand {
#[validate(length(min = 1, max = 100))]
pub name: String,
#[validate(range(min = 0.01, max = 10000.0))]
pub quantity: f64,
#[validate(length... | Markdown |
-moz-image-region: rect(72px, 1404px, 108px, 1368px);
%else
-moz-image-region: rect(36px, 1404px, 72px, 1368px);
%endif
}
#webide-button[cui-areatype="toolbar"] {
-moz-image-region: rect(0, 1476px, 36px, 1440px);
}
#pocket-button[cui-areatype="toolbar"] {
-moz-image-region: rect(0, 1548px, 36p... | CSS |
{
gap: 0.5rem;
}
.tab-centered-text {
text-align: center;
}
.active-tab {
background-color: var(--color-bg-2);
}
.fuzzy-scope-selector {
width: fit-content;
margin-left: auto;
margin-bottom: 0;
select {
background-color: transparent;
}
}
@import 'wildcard/src/global-styles/br... | CSS |
Imperium.IO.LogInfo($"[SYS] Quickload is auto loading save #{saveNum}...");
var fileName = $"LCSaveFile{saveNum}";
if (Imperium.Settings.Preferences.QuickloadCleanSave.Value && ES3.FileExists(fileName))
{
ES3.DeleteFile(fileName);
... | C# |
namespace ccxt.pro;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
public partial class independentreserve { public independentreserve(object args = null) : base(args) { } }
public partial class independentr... | C# |
if (!this.moveForm) { return; }
const form = this.moveForm;
for (const field in this.formErrors) {
// clear previous error message (if any)
this.formErrors[field] = '';
const control = form.get(field);
if (control && control.dirty && !control.valid) {
const messages = this.... | Typescript |
.options.hoverClass ) {
this.element.addClass( this.options.hoverClass );
}
},
_removeHoverClass: function() {
this._super();
if ( this.options.hoverClass ) {
this.element.removeClass( this.options.hoverClass );
}
}
} );
}
var widgetsDroppable = $.ui.droppable;
/*!
* jQuery UI Resizable 1... | JavaScript |
function dynamicAttr(sexp, trusting, builder) {
var name = sexp[1],
value = sexp[2],
namespace = sexp[3];
builder.expr(value);
if (namespace) {
builder.dynamicAttr(name, namespace, trusting);
} else {
builder.dynamicAttr(name, null, trusting);
}
}
var _expressionC... | JavaScript |
terest: Ready, opts: PollOpt) -> RegistrationData {
RegistrationData {
token: token,
interest: interest,
opts: opts,
}
}
fn update(&mut self, token: Token, interest: Ready, opts: PollOpt) {
self.token = token;
self.interest = interest;
... | Rust |
}
catch (Exception)
{
// ignored
}
if (addDefault)
SetData(key, defaultValue);
return defaultValue;
}
}
} | C# |
{ content: $fa-var-window-maximize; }
.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; }
.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; }
.#{$fa-css-prefix}-times-rectangle:before,
.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; }
.#{$fa... | CSS |
s = append(blockRoots, []byte{byte(i)})
}
state := ðpb.BeaconState{
BlockRoots: blockRoots,
}
tests := []struct {
slot primitives.Slot
stateSlot primitives.Slot
expectedErr string
}{
{
slot: 1000,
stateSlot: 500,
expectedErr: "slot 1000 out of bounds",
},
{
slot: ... | Go |
A list of labels corresponding to each error.
"""
cls_embbedings = self.get_embeddings(errors)
cls_embbedings = self.preprocess_features(cls_embbedings)
self.int_to_labels = {i: label for i, label in enumerate(set(labels))}
self.labels_to_int = {label: i for i, label in... | Python |
if "item" in ret.kwargs:
ret.kwargs["item"] = item
elif "items" in ret.kwargs:
# If we've already extracted the child, don't touch this index, since it's occupied by a nonterminal
ret.kwargs["items"][i] = item
i += 1
elif "items" in... | Python |
ll{padding:3px 0px 3px 0px}.categorybanner.shrink{padding:3px 0px 3px 0px;position:fixed;z-index:1;left:0;right:0}.rootCollections_banner{background-color:#d97638}.rootControls_banner{background-color:#e55a37}.rootForms_banner{background-color:#ea5b6e}.rootFramework_banner{background-color:#d16ba6}.rootLayoutNav_banner... | CSS |
: "top"`;
function legendTitle (spec, config, userEncode, dataRef) {
const _ = vega_parser_module_lookup(spec, config);
const encode = {
enter: {
opacity: vega_parser_module_zero
},
update: {
opacity: vega_parser_module_one,
x: {
field: {
group: 'padding'
}
... | JavaScript |
import os
import shutil
base_dir = "stableOsuData/Songs"
output_dir = "organized"
mp3_dir = os.path.join(output_dir, "mp3")
osu_dir = os.path.join(output_dir, "osu")
os.makedirs(mp3_dir, exist_ok=True)
os.makedirs(osu_dir, exist_ok=True)
def get_overall_difficulty(osu_file):
with open(osu_file, 'r', encoding='u... | Python |
#pragma once
#ifndef HUDFILLBAR_H
#define HUDFILLBAR_H
#include "BaseHeader.h"
//IMPORTANT: this is the direction the bar *FILLS UP IN.* This means that health, dropping from 100 to 80 and a bar fill of RIGHT, means the
//bar decreases to the left.
enum class BARFILLDIR
{
LEFT,
RIGHT,
UP,
DOWN
};
class FillBar
{
... | C |
_scratch(12) ;\
type##_reg_scratch(14) ;\
step_debug_arm:
save_flags()
collapse_flags(r0)
ldr r0, [reg_base, #REG_CPSR] @ r1 = cpsr
tst r0, #0x20 @ see if Thumb bit ... | Assembly |
}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:300;line-height:1.1;color:#4c4d4e}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3... | CSS |
Either3Arg1[int, bool, float64](42)
either3Arg2 := NewEither3Arg2[int, bool, float64](true)
either3Arg3 := NewEither3Arg3[int, bool, float64](1.2)
result1_1, ok1_1 := either3Arg1.Arg1()
_, ok1_2 := either3Arg1.Arg2()
_, ok1_3 := either3Arg1.Arg3()
is.Equal(42, result1_1)
is.True(ok1_1)
is.False(ok1_2)
is.Fal... | Go |
(2)
x.msoftcap = a.add(1).log10().root(2).div(2).add(1)
if (a.gte(1e120)) x.hr = a.div(1e120).log10().add(1).pow(2)
if (a.gte(1e180)) {
x.pb = a.div(1e180).log10().add(1).pow(hasPrestige(1,167)?player.dark.matters.final.add(1).root(2):1)
// x.pb = overflow(x.pb,1e20,0.5)
... | JavaScript |
r := ioutil.WriteFile(target, out.Bytes(), 0644); err != nil {
log.Fatal(err)
}
}
type visitFunc func(ast.Node) ast.Visitor
func (f visitFunc) Visit(n ast.Node) ast.Visitor { return f(n) }
func rewriteCalls(n ast.Node) ast.Visitor {
ce, ok := n.(*ast.CallExpr)
if ok {
rewriteCall(ce)
}
return visitFunc(rewr... | Go |
1; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0",
"Accept": "text/javascript, text/html, application/xml, text/xml, */*",
"X-Requested-With": "XMLHttpRequest",
"X-Splunk-Form-Key": csrf_token,
}
upload_url = f"{url}/en-US/splunkd/__upload/indexing/preview?output_mode=jso... | Markdown |
fo: [],
content: ''
},
onLoad: function (options) {
this.getPostInfo(options.postId)
},
getContent(e) {
this.setData({ content: e.detail.value })
},
reply() {
if (this.data.content == '') {
wx.showToast({
title: '请输入回复内容',
icon: 'none',
duration: 2000
})
... | JavaScript |
return null;
SearchData data = new SearchData(Artist, Album);
foreach (string SearchUrl in list_url)
{
Console.WriteLine("SearchUrl = \t" + SearchUrl);
JObject SearchResult = requestJObject(SearchUrl, null);//解析搜索结果
JArray SongList... | C# |
{v0.8h}, [x0], x1
st1 {v0.8h}, [x6], x1
b.gt 8b
ret
160:
AARCH64_VALID_JUMP_TARGET
mov v1.16b, v0.16b
16:
st1 {v0.8h, v1.8h}, [x0], x1
st1 {v0.8h, v1.8h}, [x6], x1
subs w4, w4, ... | Assembly |
4292967UL,
0x27b70a85UL, 0x2e1b2138UL, 0x4d2c6dfcUL, 0x53380d13UL,
0x650a7354UL, 0x766a0abbUL, 0x81c2c92eUL, 0x92722c85UL,
0xa2bfe8a1UL, 0xa81a664bUL, 0xc24b8b70UL, 0xc76c51a3UL,
0xd192e819UL, 0xd6990624UL, 0xf40e3585UL, 0x106aa070UL,
0x19a4c116UL, 0x1e376c08UL, 0x2748774cUL, 0x34b0bcb5UL,
0x391c0cb3UL, 0x4... | C++ |
Public License as published by the Free
* Software Foundation, version 3.
*
* This program 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 for
* more detail... | Kotlin |
private ConcurrentDictionary<string, MethodDescriptor> GetMethodDescriptors(params Assembly[] assemblies)
{
var methodDescriptorDic = new ConcurrentDictionary<string, MethodDescriptor>();
var types = assemblies.SelectMany(a => a.GetTypes());
var fileTypes = types.Whe... | C# |
}', '\u{05BC}']),
(0xf9c7, &['\u{5289}']),
(0x476, &['\u{0474}', '\u{030F}']),
(0x1cd, &['\u{0041}', '\u{030C}']),
(0xf9bf, &['\u{6A02}']),
(0x1ead, &['\u{0061}', '\u{0323}', '\u{0302}']),
(0x105, &['\u{0061}', '\u{0328}']),
(0x2f9a4, &['\u{26C36}']),
(0x15b, &['\u{0073}', '\u{0301}']),
... | Rust |
(2, 2)))
model.add(Dropout(0.4))
model.add(Flatten())
model.add(Dense(128, activation='relu'))
model.add(Dropout(0.4))
model.add(Dense(64, activation='relu'))
model.add(Dense(n_classes))
model.add(Activation('softmax'))
adam_optimizer = Adam(learning_rate=0.001)
model.compile(loss=... | Python |
.irql: <= PASSIVE_LEVEL
targetos: Windows
req.typenames:
f1_keywords:
- FwpsvSwitchEventsSubscribe0
- fwpsk/FwpsvSwitchEventsSubscribe0
topic_type:
- APIRef
- kbSyntax
api_type:
- LibDef
api_location:
- fwpkclnt.lib
- fwpkclnt.dll
api_name:
- FwpsvSwitchEventsSubscribe0
---
# FwpsvSwitchEventsSubscribe0 funct... | Markdown |
{
test("Set to instant") {
update {
User::creationInstant.setToCurrentDate()
} shouldBeBson $$"""
{
"$currentDate": {
"creationInstant": true
}
}
""".trimIndent()
}
test("Set to timestamp") {
update {
User::modificationTimestamp.setToCurrentDate()
} shouldBeBson $$"... | Kotlin |
சத்து உண்மைகள் ": {" கார்போஹைட்ரேட்டுகள் ":" 15 கிராம் "," புரதங்கள் ":" 1.4 கிராம் "," கொழுப்புகள் ":" 0.4 கிராம் "," ஆற்றல் ":" 42 கிலோகலோரி "}},
// {"name": "முடகட்டன்கீராய்", "image": "lib/assets/spinach/5.jpg","use": "இந்த தாவரத்தின் இலைகள், வேர்கள், விதைகள் மற்றும் குழந்தை இலைகள் அனைத்தும் கெலிடோஸ்கோபிக் மருத்து... | Dart |
().at(index - 1)));
return std::make_pair(index,
retrieve_node(parent->page_number(), parent->children().at(index + 1)));
}
void BtreeDirectory::rotate(BtreeNode* left, BtreeNode* right, Entry& separator)
{
std::vector<Entry> temp_entries;
temp_entries.reserve(left->entries().siz... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.