content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
_dt, TimeZone _tz) {
if (this == DAY)
return DateUtils.getMidnightAfter(_dt, _tz);
if (this == MONTH)
return DateUtils.getEndOfMonth(_dt, _tz);
if (this == YEAR)
return DateUtils.getEndOfYear(_dt, _tz);
return new Date(0);
}
public Date toBlockStart(Date _dt, TimeZone _tz) {
if (this == DAY)
re... | Java |
�師寶典",
[28261] = "Video Invis",
[28262] = "玉顱胸甲",
[28263] = "星斧",
[28264] = "荒行外套",
[28265] = "達斯雷瑪防禦之戒",
[28266] = "熔火大地褶裙",
[28267] = "寰宇邊際之鋒",
[28268] = "自然修補裹手",
[28269] = "巴巴的秘法披風",
[28270] = "公式:附魔胸甲 - 極效韌性",
[28271] = "Formula: Enchant Gloves - Spell Strike",
[28272] = "公式:附魔手套 - 極效法術能量",... | Lua |
ize.query.report.single.filter.data.variable.data.DashboardVariableFilterSubDataDto;
import io.camunda.optimize.dto.optimize.query.variable.VariableType;
import java.util.Objects;
public class DashboardDateVariableFilterDataDto extends DashboardVariableFilterDataDto {
protected DateFilterDataDto<?> defaultValues;
... | Java |
1rem;
}
}
}
}
}
/* Gallery (style2) */
.gallery.style2 {
@include color-typography(invert);
@include color-button(invert);
@include vendor('display', 'flex');
-webkit-overflow-scrolling: touch;
position: relative;
background-color: transparent;
> .forward, >.backward {
@inc... | CSS |
it'd thrive if it was cooler out?",
BURNING = "I hope that doesn't spread to the trees.",
GENERIC = "Looks like kindling.",
PICKED = "It's gone all nubbly.",
DISEASED = "It's caught a bit of a bug.", --unimplemented
DISEASING = "Lookin' a bit down.", --unimplemented
},
GRASSGEKKO =
{
GENERIC = "... | Lua |
制无产阶级的社会主义思想和文化,而让糜烂透顶的资产阶级思想和文化象洪水一样到处泛滥。他们大肆鼓吹军国主义、民族沙文主义和种族主义,把文学艺术作为推行社会帝国主义的工具。
</p>
<p>
列宁当年痛斥沙皇制度的黑暗统治时,曾经这样写道:警察的专横,野蛮的迫害,道德的败坏,“达到了如何登峰造极的地步,甚至顽石也将为之长叹”!(22)人们不妨把苏修叛徒集团的统治同列宁当时痛斥的沙皇制度比较一下吧。
</p>
<p>
赫鲁晓夫—勃列日涅夫叛徒集团的反革命政变,起了一切帝国主义和反动派所不能起的作用。正如斯大林所说:“堡垒是最容易从内部攻破的。”(23)十四国的武装干涉,白匪的叛乱,希特勒几百万军队的进攻,帝国主... | HTML |
UNIT_Y);
col[0] = ColourValue::Red;
col[0].a = 0.8;
// y-axis
quat[2].FromAxes(Vector3::UNIT_Y, Vector3::NEGATIVE_UNIT_X, Vector3::UNIT_Z);
quat[3].FromAxes(Vector3::UNIT_Y, Vector3::UNIT_Z, Vector3::UNIT_X);
col[1] = ColourValue::Green;
col[1].a = 0.8;
// z-axis
quat[4].FromAxes(Vector3::UNI... | C++ |
newPlot("96b5df9f-8e06-458f-9bfe-39be524772dd", [{"type": "histogram", "x": [152, 156, 157, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 161, 161, 162, 162, 162, 163, 163, 163, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 166, 166, 166, 166, 167, 167... | HTML |
0 010 1.6h-4a.8.8 0 01-.502-1.423l3.5-2.818a.815.815 0 01.024-.019c.14-.104.178-.214.178-.29Z"/><path fill-rule="evenodd" d="M16.753 35.241A.8.8 0 0117.3 36v3.2h.2a.8.8 0 010 1.6h-.2v.2a.8.8 0 01-1.6 0v-.2h-2.2a.8.8 0 01-.64-1.28l3-4a.8.8 0 01.893-.279ZM15.7 38.4l-.6.8h.6v-.8Z" clip-rule="evenodd"/><path d="M19.5 38.2a... | Dart |
.video-js.vjs-no-flex .vjs-menu-button-inline {
width: 12em;
}
.vjs-menu-button-inline .vjs-menu {
opacity: 0;
height: 100%;
width: auto;
position: absolute;
left: 4em;
top: 0;
padding: 0;
margin: 0;
transition: all 0.4s;
}
.vjs-menu-button-inline:hover .vjs-menu,
.vjs-menu-button-inline:focus .v... | HTML |
get permissions errors, because the populate-db script is trying to write to my database instead of yours. ');
console.log('Any issues please contact me, Thanks, Vasco\n\n\n');
initializeApp(firebaseConfig);
const coursesRef = database().ref('courses');
const lessonsRef = database().ref('lessons');
dbData.course... | Typescript |
ters-selector-label {
cursor: pointer;
float: left;
font-size: 0.625rem;
line-height: 0.9375rem;
padding: 0.25rem 0.625rem 0;
width: 100%;
}
.mejs-captions-selector-list-item:hover .mejs-captions-selector-label,
.mejs-chapters-selector-list-item:hover .mejs-chapters-selector-label {
text-decoration: underline;
... | CSS |
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
max-width: 400px;
width: 100%;
}
h2 {
text-align: center;
margin-bottom: 2rem;
}
label {
font-weight: bold;
display: block;
margin: 1rem 0 0.3rem;
}
input[type="text"],
inp... | HTML |
icw/640?wx_fmt=png&from=appmsg "")
4.
在入口机搭建隧道,将本地 445 端口入站流量转发到远程 VPS 主机的监听端口。
StreamDivert
配置文件如下:
```
tcp < 445 0.0.0.0 -> 192.168.56.10 445
```
```
5. 加载配置文件启动转发:
```
```
shell StreamDivert.exe config.txt
```
:</p>... | HTML |
} else {
int32_t runLength = (int32_t) c;
uint16_t runValue = src[++i];
int j=0;
for (; j<runLength; ++j) {
target[ai++] = runValue;
}
}
}
else {
target[ai++] = c;
... | C |
ba
/* 80096E08 00092A68 3A C0 00 92 */ li r22, 0x92
/* 80096E0C 00092A6C 3B 20 00 F3 */ li r25, 0xf3
/* 80096E10 00092A70 3B E0 00 A2 */ li r31, 0xa2
/* 80096E14 00092A74 38 A0 00 80 */ li r5, 0x80
/* 80096E18 00092A78 3A 80 00 79 */ li r20, 0x79
/* 80096E1C 00092A7C 3A E0 00 30 */ li r23, 0x30
/* 80096E20 00092A... | Assembly |
findView(R.id.icon_info);
TextView tv_update = (TextView) holder.findView(R.id.update);
tv_title.setText(item.getString("name"));
String des = item.getString("remark");
String reg = item.getString("regular");
boolean isAuto = false;
if (des != null) {
if (des... | Java |
ventAdjustHook(KindleGyroTransform)
self.input.handleMiscEv = function(this, ev)
if ev.code == C.MSC_GYRO then
return this:handleGyroEv(ev)
end
end
end
function KindleOasis3:init()
-- temporarily wake up awesome
if os.getenv("AWESOME_STOPPED") == "yes" then
os.execut... | Lua |
#region Copyright and License
/*
This file is part of PDFiumSharp, a wrapper around the PDFium library for the .NET framework.
Copyright (C) 2017 Tobias Meyer
License: Microsoft Reciprocal License (MS-RL)
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using PDFiumSharp.Types;
using Sy... | C# |
t; line-height: 1.25; margin-top: -0.5em;">SELECT substring(text, 1, position('\n' IN text) - 1) FROM articles;</code></p>
ClickHouse 23.7: 😎
<p><code style="font-size: 14pt; line-height: 1.25;">SELECT <b style="color: green;">firstLine</b>(text) FROM articles;</code></p>
<p style="color: gray; font-size: 14pt; marg... | HTML |
kVolatile);
}
}
private static void testField(Class<?> primType, Object wrappedValue,
boolean checkStatic, boolean checkVolatile)
{
String fieldName = primType.getName();
if (checkStatic) {
fieldName += "Static";
}
if (checkVolatile) {
... | Java |
e type)
{
return type switch
{
DamageType.Earth => ConditionType.Poisoned,
DamageType.Fire => ConditionType.Burning,
DamageType.Energy => ConditionType.Electrified,
_ => ConditionType.None
};
}
public static ConditionType Parse(string ... | C# |
eck(ObjectId.MAX.toString() == "ObjectId(ffffffffffffffffffffffff)")
check(ObjectId.MAX.timestamp == Instant.parse("2106-02-07T06:28:15Z"))
}
suite("Equality") {
test("Two ObjectId with the same data are equal") {
val timestamp = Instant.parse("2021-01-01T00:00:00Z")
val processId = 123456789012L
val co... | Kotlin |
ETAL_YELLOW.get(), 8)
.pattern("XXX")
.pattern("XYX")
.pattern("XXX")
.define('X', BuildInit.ROOF_METAL_GRAY.get())
.define('Y', Tags.Items.DYES_YELLOW)
.unlockedBy("has_metal_roof", has(BuildInit.ROOF_METAL_GRAY.get()))
.save(cons, "dcs_climate:build/metal_roof_yellow_1");
ShapedRecipeBu... | Java |
NTRY(0.022097),ENTRY(0.031250),ENTRY(0.044194),ENTRY(0.062500),
ENTRY(0.088388),ENTRY(0.125000),ENTRY(0.176777),ENTRY(0.250000),
ENTRY(0.353553),ENTRY(0.500000),ENTRY(0.707107),ENTRY(1.000000),
/*
// Measured from an AY-3-8910A chip with date code 8611.
// Direct voltages without any load (very linear)
ENTRY(0.... | C++ |
();
return SftpStatusPacket(
requestId: requestId,
code: code,
message: message,
language: language,
);
}
@override
Uint8List encode() {
final writer = SSHMessageWriter();
writer.writeUint8(packetType);
writer.writeUint32(requestId);
writer.writeUint32(code);
w... | Dart |
KHB}K|ǎw]=9t`ҽ^OC \F DP2ËFmVaKu-#X#]Yh_rnzC&i8h*ګV!x9]b-c9 e<(;nͶio`u|XG|DZ-*\Sk=Uσɕ1˚|GJClv%ERxLip3zN6K*oZ7lv/vkCW!ϥ6Wpq`&ֳ?@ПD0_8G-OĚDgHBC#NZrЯ[E3cV+{M@nnW?Xp/FP?YlӔͯ~A]W;4"?i=/G^]rm &_
N1.ED
^yB ۣx>ϯLzYLoSs$gSdՃd/k8z!ĄM-f3T++\mpŶfd'NH6ݺժdW$hq돿py^hl%}IV=*!֬HFⓤ~LIE... | HTML |
http://jnaerator.googlecode.com/">JNAerator</a>,<br>
* a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
* For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLi... | Java |
e.e.r = (varint_to_i32(pb[6][0].data) >>> 0) - 1;
if (range.e.r < 0)
throw new Error("Invalid row varint ".concat(pb[6][0].data));
range.e.c = (varint_to_i32(pb[7][0].data) >>> 0) - 1;
if (range.e.c < 0)
throw new Error("Invalid col varint ".concat(pb[7][0].data));
ws["!ref"] = encode_range(range);
va... | JavaScript |
700\u0026oewis=1\u0026oputc=1\u0026ofpcc=1\u0026siu=1\u0026msp=1\u0026odepv=1\u0026onvi=1\u0026id=7a57c20e7331dd48\u0026ip=2a09%3Abac3%3A4fb1%3A280a%3A0%3A0%3A3fd%3A26\u0026initcwndbps=2311250\u0026mt=1749757266\u0026oweuc=",
},
},
},
},
... | HTML |
ace in org.msgpack.type">Value</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/msgpack/type/Value.html" title="interface in org.msgpack.type">Value</A></CODE></FONT></TD>
<TD><CODE><B>UnpackerIterator.</B><B... | HTML |
TypeError(
`html-img-alt/alts(): [THROW_ID_02] Something is wrong with the code - there's an image tag within an image tag. First image tag was: ${str.slice(
imageTagStartedAt - 20,
imageTagStartedAt + 20,
)}, then before it was closed, we've got this: ${str.slice(
... | Typescript |
分:用户需要至少300积分才可以调取,具体请参阅积分获取办法
concept_detail: {
params: {},
fields: [],
},
// 限售股解禁
// 接口:share_float
// 描述:获取限售股解禁
// 限量:单次最大5000条,总量不限制
// 积分:120分可调取,每分钟内限制次数,超过5000积分频次相对较高,具体请参阅积分获取办法
share_float: {
params: {},
fields: [],
},
// 大宗交易
// 接口:block_trade
// 描述:大宗交易
// 限量:单次最大... | Typescript |
API = types.StringValue(*toJSON)
resp.Diagnostics.Append(resp.State.Set(ctx, &data)...)
}
package apidefinitions
import (
"fmt"
"regexp"
"testing"
"time"
"github.com/stretchr/testify/assert"
v0 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v12/pkg/apidefinitions/v0"
"github.com/akamai/AkamaiOPEN-edgegrid-g... | Go |
true
L["Are you sure you want to apply this font to all ElvUI elements?"] = true
L["Are you sure you want to reset all the settings on this profile?"] = "Tem certeza que quer redefinir todas as configurações desse perfil?"
L["Are you sure you want to reset every mover back to it's default position?"] = "Tem a certeza d... | Lua |
Cb {
display: flex;
flex-direction: column;
flex-wrap: wrap;
max-height: 100px;
}
div.NarrowRightPanel
._2jPMy2QZr8bWi6yrk5ZzHA
._3cntzF30xAuwn1ARWJjvCb
._2ZcNQxY8YknnhNa4ZvIoU4 {
margin-right: 5px;
}
._2jPMy2QZr8bWi6yrk5ZzHA ._3cntzF30xAuwn1ARWJjvCb ._1OWQ9x11PhUMMRAfAu4d_4 {
margin-bottom: 8px;
}
.B... | CSS |
'labels.inputs.Outstanding' | translate }}</th>
<td mat-cell class="r-amount" *matCellDef="let element">{{ element.amountOutstanding | formatNumber }}</td>
</ng-container>
<ng-container matColumnDef="Actions">
<th mat-header-cell class="center" *matHeaderCellDef>{{ 'labels.inputs.Actions' | transl... | HTML |
n(float(pos.y - (MESH_MIN_Y)) / (MESH_Y_DIST), 0, (GRID_MAX_POINTS_Y) - 1));
return search_from(grid_x, grid_y, func, data);
}
#endif // UBL_HILBERT_CURVE
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (... | C++ |
longBinaryOperator?.reference ?? jni$_.jNullReference;
_parallelPrefix$2(
_class.reference.pointer,
_id_parallelPrefix$2 as jni$_.JMethodIDPtr,
_$js.pointer,
_$longBinaryOperator.pointer)
.check();
}
static final _id_parallelPrefix$3 = _class.staticMethod... | Dart |
dd(currentContour);
currentContour = [];
}
}
}
return contours;
}
/// Converts a character into a Flutter [Path] you can
/// directly draw on a [Canvas]
Path generatePathForCharacter(cIndex) {
var svgPath = generateSVGPathForCharacter(cIndex);
var commands = svgPath.spli... | Dart |
.isEnabled&&e.fullscreen();break;case"presenter":e.openPresenterView()}}})),e.parent.appendChild(t),e.on("activate",(({index:t})=>{n("page",(n=>n.textContent=`Page ${t+1} of ${e.slides.length}`))})),e.on("fragment",(({index:t,fragments:r,fragmentIndex:a})=>{n("prev",(e=>e.disabled=0===t&&0===a)),n("next",(n=>n.disabled... | HTML |
AAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC)](https://p5.ssl.qhimg.com/t019a364ed949d2f9f5.png)
这个就是树莓派的界面啦。
有条件的可以自己接外接的VGA或者HDMI显示器。同时注意,如果显示有问题,请参考树莓派官方教程对于/boot/config.txt的配置。我们初学没必要再买一个显示器,用本机PC vnc view 玩一玩比较方便实惠.<br>最后 我们需要将vnc服... | Markdown |
* Returns a flow that will emit a [TimeoutCancellationException] if the upstream doesn't emit an item within the given time.
*
* Example:
*
* ```kotlin
* flow {
* emit(1)
* delay(100)
* emit(2)
* delay(100)
* emit(3)
* delay(1000)
* emit(4)
* }.timeout(100.milliseconds).catch {... | Kotlin |
x130(r26)
/* 803C2E64 003BEAC4 3B A0 00 01 */ li r29, 1
/* 803C2E68 003BEAC8 48 00 02 F8 */ b lbl_803C3160
/* 803C2E6C 003BEACC 7F 43 D3 78 */ mr r3, r26
/* 803C2E70 003BEAD0 7F 64 DB 78 */ mr r4, r27
/* 803C2E74 003BEAD4 4B FF CC A5 */ bl func_803BFB18
/* 803C2E78 003BEAD8 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 8... | Assembly |
3',
'\uFFF4',
'\uFFF5',
'\uFFF6',
'\uFFF7',
'\uFFF8',
'\uFFF9',
'\uFFFA',
'\uFFFB',
'\uFFFC',
'\uFFFD',
'\uFFFE',
'\uFFFF',
... | C# |
тянется узкий внешний мостик. Выйдя на свежий воздух, Хиро слушает Плот. Со всех сторон на него волнами накатывает смутный рев, но не волн или ветра, а множества вырвавшихся на волю человеческих языков. Истинное смешение языков.</p>
<p>Хуанита тоже выходит послушать. Хиро замечает, что за ухом у нее течет красная струй... | HTML |
EXP);
const groups = [];
let currentSelector = '';
let parts = [];
let match;
while ((match = regexp.exec(selector))) {
if (match[2]) {
const trimmed = match[2].trim();
parts.push(currentSelector);
currentSelector = '';
if (trimmed === ',') {
groups.push(parts);
parts = [];
... | Typescript |
(waitTime);
strip.showColor1(ColorSensorPixelColors1.Blue1);
control.waitMicros(waitTime);
let b: number = pins.analogReadPin(pinRead);
b = b * 100 / 402;
control.waitMicros(waitTime);
strip.showColor1(ColorSensorPixelColors1.Black1);
... | Typescript |
h, &offset);
switch (operation & ~LOCK_NB) { /* translate to LockFileEx() op */
case LOCK_EX: /* exclusive */
if (LockFileEx(hdl, LOCKFILE_EXCLUSIVE_LOCK +
((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
0, low, high, &offs... | C |
_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384", 0xc091)
// @JvmField val TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256 = init("TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256", 0xc092)
// @JvmField val TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384 = init("TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384", 0xc093)
// @JvmField val TLS_PSK_W... | Kotlin |
stop-color='%23fff' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='.15'/%3E%3C/linearGradient%3E%3Cfilter id='B' x='-.057' y='-.125' width='1.113' height='1.25'%3E%3CfeGaussianBlur stdDeviation='.07'/%3E%3C/filter%3E%3CradialGradient id='C' gradientTransform='matrix(0.01744715,0,0,0.01527197... | CSS |
LObjectProperty, OWLClassExpression> getObjectPropertyDomains() {
Map<OWLObjectProperty, OWLClassExpression> result = new HashMap<>();
for (OWLObjectProperty op : getObjectProperties()) {
OWLClassExpression domain = getDomain(op);
result.put(op, domain);
}
return result;
}
/**
* @return all ob... | Java |
断更新的名称是否属于自已
val obj = dataSourceDao.getById(dslContext, id)
if (null != obj && moduleCode != obj.moduleCode && dataSourceName != obj.dataSourceName) {
// 抛出错误提示
throw ErrorCodeException(
errorCode = CommonMessageCode.PARAMETER_IS_EXIST,
... | Kotlin |
dotp_u_h(vec8, const2);
reg9 = (v8i16)__msa_dotp_u_h(vec9, const0);
reg10 = (v8i16)__msa_dotp_u_h(vec10, const1);
reg11 = (v8i16)__msa_dotp_u_h(vec11, const2);
reg0 = __msa_srar_h(reg0, shft0);
reg1 = __msa_srar_h(reg1, shft1);
reg2 = __msa_srar_h(reg2, shft2);
reg3 = __msa_srar_h(reg3, shft... | C++ |
Retrieve the output of the layer after inputting this image.
values = session.run(layer_output, feed_dict=feed_dict)
# Get the lowest and highest values.
# This is used to correct the colour intensity across
# the images so they can be compared with each other.
values_min = np.min(values)
value... | Python |
default:switch(d(),n.constructor){case Uint8Array:case ArrayBuffer:o=new xA(a_(i,v_(a,i)),o,o&&o.lastId,l,l&&l.id,t,null,new KI(new Uint8Array(n))),o.integrate(e,0);break;case Fj:o=new xA(a_(i,v_(a,i)),o,o&&o.lastId,l,l&&l.id,t,null,new ZI(n)),o.integrate(e,0);break;default:if(!(n instanceof oI))throw new Error("Unexpe... | JavaScript |
.", --singleplayer
HOT = "Gah! Enough with the beeping!", --singleplayer
WARM = "This thing is getting noisier.", --singleplayer
WARMER = "Must be close!", --singleplayer
},
DIVININGRODBASE =
{
GENERIC = "Not sure what this does. Doesn't seem like it's fiery things.", --singleplayer
READY = "Just n... | Lua |
�器对css3 Media Query 的不识别-->
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
```
3. 引入相关样式文件
```html
<!-- Bootstrap 核心样式-->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
```
4. 书写内容
- 直接拿 Bootstrap 预先定义好的样式来使用
- 修改 Bootstrap 原来... | Markdown |
x([[5,-3],[6,-4]]))",
equals = "matrix([[5,6],[-3,-4]])") })
public static IMatrix transpose(final IScope scope, final IMatrix m) throws GamaRuntimeException {
return m.reverse(scope);
}
/**
* Inverse.
*
* @param scope
* the scope
* @param m
* the m
* @return the i matrix
... | Java |
/**************************************************************************/
/* stream_peer_gzip.h */
/**************************************************************************/
/* This file is part of: */
/* ... | C |
ument words
-4
tad 017777 i
dac 017777 i
sad d4 " Is the value 4, i.e. no args left?
jmp end " Yes, so exit
" Still an argument, so move up to the next filename argument
lac name
tad d4
dac name
jmp catfiles " and loop back to cat this file
end:
" exit
sys exit
" This section... | Assembly |
_str(6) // "NdQKOr"
```
上面代码中,`random_str`函数接受一个整数作为参数,返回变量`ALPHABET`内的随机字符所组成的指定长度的字符串。
### 三角函数方法
`Math`对象还提供一系列三角函数方法。
- `Math.sin()`:返回参数的正弦(参数为弧度值)
- `Math.cos()`:返回参数的余弦(参数为弧度值)
- `Math.tan()`:返回参数的正切(参数为弧度值)
- `Math.asin()`:返回参数的反正弦(返回值为弧度值)
- `Math.acos()`:返回参数的反余弦(返回值为弧度值)
- `Math.atan()`:返回参数的反正切(返回值为弧度值)... | Markdown |
return Err(Error::internal("FilePath::from_relative_path: empty path"));
}
Ok(FilePath { components })
}
pub(crate) fn name(&self) -> &str {
&self.components[self.components.len() - 1]
}
pub(crate) fn components(&self) -> &[String] {
&self.components
}
pub(crate) fn absolute(&self,... | Rust |
#8*2
bl inv_txfm_horz_dct_32x4_neon
.endr
b 2f
1:
vmov.i16 q2, #0
vmov.i16 q3, #0
.rept 8
vst1.16 {q2, q3}, [r6, :128]!
.endr
2:
mov r8, #2*32
mov r9, #0
1:
add r6, ... | Assembly |
background-image: url("chrome://devtools/skin/images/responsivemode/responsive-horizontal-resizer.png");
}
.devtools-responsiveui-resizehandle {
width: 16px;
height: 16px;
cursor: se-resize;
transform: translate(12px, 12px);
background-size: cover;
background-image: url("chrome://devtools/skin/images/respo... | CSS |
32e-17, -8.287620077899165e-19, -5.249325113747565e-20,
9.714011253163594e-01, -7.592841664833613e-03, 5.069347729717646e-05, 3.637216778971824e-08, -1.108666731277650e-08, 1.349421112077632e-10, 4.275789907717368e-12,
-1.539901592941549e-13, -7.692024556248887e-16, 1.319940515977357e-16, -1.624572061612104e-18... | C++ |
import binascii
import os.path
import sys
def tof(filepath):
with open(filepath, 'r') as f:
content = f.read()
content = content.replace("0x", "")
content = content.split(',')
for i in range(len(content)):
if len(content[i]) == 1:
content[i] = "0" + content[i]
content =... | Python |
.conf.test
import org.kodein.di.*
import org.kodein.di.bindings.ExternalSource
import org.kodein.di.bindings.Factory
import org.kodein.di.bindings.externalFactory
import org.kodein.di.conf.ConfigurableDI
import org.kodein.di.test.FixMethodOrder
import org.kodein.di.test.MethodSorters
import org.kodein.type.TypeToken
i... | Kotlin |
cs_climate.main.damage.desc"), null, FrameType.TASK, true, true, false)
.addCriterion("impossible", new ImpossibleTrigger.TriggerInstance()).save(t, "dcs_climate:main/damage");
Advancement a3 = Advancement.Builder.advancement().parent(a2).display(Items.LEATHER_HELMET, Component.translatable("advancements.dcs_cli... | Java |
osition: 1px 2px !important;
background-repeat: no-repeat !important;
}
/*noinspection CssOverwrittenProperties*/
.theme-windows-98 .emuos-window.ui-dialog .ui-dialog-titlebar .emuos-window-button-maximize-restore .ui-icon-newwin {
background-image: url(../../../../images/themes/icons/windows-9x/maximize.gif) !impor... | CSS |
*128 + 0*32>], load0A2;\n",
j3c12 => "--:3:-:-:1 \@P0 STS [writeAs + 4x<3*128 + 0*32>], load0A3;\n",
j5c6 => "08:-:-:-:1 \@P0 STS [writeAs + 4x<0*128 + 1*32>], load1A0;\n",
j5c8 => "--:-:-:-:1 \@P0 STS [writeAs + 4x<1*128 + 1*32>], load1A1;\n",
j5c10 => "--:-:-:-:1 \@P0 STS [w... | CSS |
.endif
.endr
# Post Index Vector-element form with replicate (Register offset)
# This could have been factored into Post-index multiple
# element macros but this would make this already-looking-complex
# testcase look more complex!
# Consecutive registers in reg list
.macro ldstn_index_rep_reg inst index typ... | Assembly |
%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 40%;
min-width: 350px;
}
.modal-content b {
padding: 6px 0;
colo... | HTML |
log_link_emote = "★"
else:
log_link_emote = "☆"
if log.url != "":
log_tag = f"{rank_str}[{log_link_emote}]({log.url}) {phasetime_str}"
else:
log_tag = f"{rank_str}{log_li... | Python |
[i].length; j++) {
// check if we encounter a ship
if (board[i][j] === 'X') {
ships++;
sink(i, j);
}
}
}
return ships;
}
import moment from 'moment'
import {TimeSlot} from '../src/types/TimeSlot'
import {getSlotFromTime, getRemaining... | Typescript |
return 2;
}
switch (curChar)
{
case 83:
return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x1000000000L);
case 97:
return jjMoveStringLiteralDfa3_0(active0, 0x200000000L, active1, 0xc800100800L);
case 98:
return jjMoveStringLiteralDfa3_0(active0, 0x8048000L, active1, 0x1001L);
cas... | Java |
sure that the vertex attribute storage type is changed.
if (iteration < 10) {
gl.drawArrays(gl.TRIANGLE_STRIP, 0, 2);
requestAnimationFrame(draw);
}
else {
// Update the buffer bound to the color vertex attribute to green and draw.
gl.bindBuffer(gl.ARRAY_BUFFER, colorBuffer);... | HTML |
4289e3, "00")
HOTKEY_ENDDEF();
HOTKEY_DEFINE(mInfPower, TH_INFPOWER, "F4", VK_F4)
PATCH_HK(0x428B7D, "00"),
PATCH_HK(0x428B67,"909090909090909090")
HOTKEY_ENDDEF();
HOTKEY_DEFINE(mTimeLock, TH_TIMELOCK, "F5", VK_F5)
PATCH_HK(0x412DD1, "eb")
... | C++ |
._self, this._then);
final _LoginState _self;
final $Res Function(_LoginState) _then;
/// Create a copy of LoginState
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? availableUsers = null,Object? selectedLoginCard = null,Object? effects... | Dart |
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from uvicorn import run
from utils.config import Config
from db.db import engine
from models.base import Base
from routes import dataset_router, preprocessing_historic_router, corpus_router, reviews_router,users_router, process_data_router, ... | Python |
import 'package:flutter/material.dart';
import 'package:charge_wallet_sdk/models/models.dart';
import 'package:fusecash/common/di/di.dart';
import 'package:fusecash/common/router/routes.dart';
import 'package:fusecash/constants/analytics_events.dart';
import 'package:fusecash/features/wallet/send_amount_arguments.dar... | Dart |
Pointer to the security information to apply to the GPO.
## -returns
<h3>JScript</h3>
Returns <b>S_OK</b> if successful. Returns a failure code if an error occurs.
<h3>VB</h3>
Returns <b>S_OK</b> if successful. Returns a failure code if an error occurs.
## -remarks
For more information about policy-related permis... | Markdown |
ing=!!b.isUpcoming;if(a=b.length_seconds)this.lengthSeconds="string"===typeof a?Number(a):a;this.lengthText=
b.lengthText||"";this.It=b.It||"";this.publishedTimeText=b.publishedTimeText||void 0;if(a=b.session_data)this.sessionData=Iu(a,"&");this.shortViewCount=b.short_view_count_text||void 0;this.ea=TH(b);this.title=b.... | JavaScript |
l install flagger in trafficRoutingProvider’s namespace
For example, If you use <code>istio</code> as a provider, flager will be installed in istio’s namespace <code>istio-system</code>.
And if you use <code>istio</code> as a provider, you need to install it manually.
Otherwise, you can configure it in Prov... | HTML |
70090392000);
expect(
date_format.formatDate(now: now, then: dec3_22, locale: "en_US"),
"12/3/2022",
);
expect(
date_format.formatDate(now: now, then: dec3_22, locale: "nb"),
"3.12.2022",
);
expect(
date_format.formatDate(now: now, then: dec3_22, locale: "fr"),
"0... | Dart |
LAG_ENC_SRC_UNCOMP)) {
is_uncomp = 1;
mfc_debug(2, "[SBWC] src is uncomp\n");
} else {
is_uncomp = 0;
}
mfc_core_set_enc_src_sbwc(core,
(is_uncomp ? MFC_ENC_SRC_SBWC_OFF : MFC_ENC_SRC_SBWC_ON));
mfc_set_linear_stride_size(ctx, &ctx->raw_buf,
(is_uncomp ? enc->uncomp_fmt : ctx->src_fmt));
mfc_c... | C |
using System.Reflection;
namespace Aevatar.Core.Abstractions.Plugin;
public interface IPluginGAgentManager
{
Task<Guid> AddPluginAsync(AddPluginDto addPluginDto);
Task<IReadOnlyList<Guid>> GetPluginsAsync(Guid tenantId);
Task<PluginsInformation> GetPluginsWithDescriptionAsync(Guid tenantId);
Task<Dict... | C# |
number }) {
return obj.X;
}
// Works, since 'E' has a property named 'X' which is a number.
fff(E);
// 反向映射
// 除了创建一个以属性名做为对象成员的对象之外,数字枚举成员还具有了 反向映射,从枚举值到枚举名字。 例如,在下面的例子中:
enum Enum {
A
}
let a = Enum.A;
let nameOfA = Enum[a]; // "A"
import { Request } from 'express'
import { normalizeInt } from '~/utilities/... | Typescript |
_9588\n0x95d4: LDR R1, =(aGenaHttpSocket - 0x5C9A8); \"%():GENA HTTP socket call failed.\\n\"\n0x95d8: MOV R0, #2\n0x95dc: MOV R2, R7\n0x95e0: ADD R1, R5, R1; \"%():GENA HTTP socket call failed.\\n\"\n0x95e4: BL sub_83E8\n0x95e8: MOV R0, #1\n0x95e... | HTML |
Dodger Blue
0XFF151060, // Dark Indigo
0XFFFE0089, // Strong Pink
0XFFDB291D, // Red
0XFF4FAA6D, // Sea Green
0XFFFAB301, // Yellow
0XFF0D6628, // Forest Green
0XFF33444E, // Slate Gray
0XFF776CB2, // Lavender
0XFF79963C, // Olive Green
0XFFE06287, // Dusty Pink
0XFFFCBC05, ... | Dart |
osMapViewOfFile(hMap, FILE_MAP_WRITE | FILE_MAP_READ,
0, iOffset - iOffsetShift, szRegion + iOffsetShift
);
#endif
OSTRACE(("SHM-MAP pid-%d map region=%d offset=%d size=%d %s\n",
(int)osGetCurrentProcessId(), pShmNode->nRegion, iOffset,
szRegion, pMap ? "ok"... | C |
t>"
+ XML.encodeAsXML(EDStatic.config.adminAddress)
+ "</sml:deliveryPoint>\n"
+ " <sml:city>"
+ XML.encodeAsXML(EDStatic.config.adminCity)
+ "</sml:city>\n"
+ " <sml:administrativeArea>"
+ XML.encodeAsXML(EDSt... | Java |
impl From<VmId> for VmOrSnapshotId {
fn from(id: VmId) -> Self {
VmOrSnapshotId(id.0)
}
}
/// Type representing snapshot of a VM
#[derive(serde::Deserialize, Debug)]
pub struct Snapshot {
pub id: SnapshotId,
pub name_label: String,
pub name_description: String,
}
impl_xo_object!(Snapshot ... | Rust |
using MailKit.Net.Smtp;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Options;
using MimeKit;
using Serenity.Abstractions;
using Serenity.Data;
using System;
using System.IO;
namespace SerExtraNet5.Common
{
public class EmailSender : IEmailSender
{
private IWebHostEnvironment host;
... | C# |
gif) no-repeat 50% 50%;
}
.mini-messagebox-waiting
{
width:40px;
height:30px;
background:url(images/messagebox/loading.gif) no-repeat 50% 50%;
}
.mini-messagebox-input
{
}
.mini-outlookbar
{
font-size:9pt;
font-family:Tahoma, Verdana, 宋体;
overflow:hidden;
}
.mini-outlookbar... | CSS |
**/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpa... | JavaScript |
SIMD_FORCE_INLINE int& operator[](int i) { return m_ints[i]; }
};
struct AssignConstraintsToGridBatchesParams
{
bool* bodyDynamicFlags;
btIntVec3* bodyGridCoords;
int numBodies;
btBatchedConstraintInfo* conInfos;
int* constraintBatchIds;
btIntVec3 gridChunkDim;
int maxNumBatchesPerPhase;
int numPhases;
int p... | C++ |
["left","right"]),Dm(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function km(t,e,i){var n,o={},a="toggleSelected"===t;return i.eachComponent("legend",function(i){a&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name)),d(i.g... | HTML |
mscrypto/crypto/tinkcrypto/primitive/proto/aes_cbc_hmac_aead_go_proto"
)
const (
aesCBCHMACAEADKeyVersion = 0
aesCBCHMACAEADTypeURL = "type.hyperledger.org/hyperledger.aries.crypto.tink.AesCbcHmacAeadKey"
minHMACKeySizeInBytes = 16
minTagSizeInBytes = 10
// maxTagSize.
maxTagSizeSHA1 = 20
maxTag... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.