content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/*
* When the focus is changed, we merely tell the table to redraw the
* affected row(s).
*/
if (newCell != null) {
newCell.getViewerRow().getControl().redraw();
}
if (oldCell != null) {
oldCell.getViewerRow().getControl().redraw();
}
... | Java |
git switch -C main origin/main")
307
</pre>
</div>
</div>
</div>
<div id="issue-10">
<div class="issue-block issue-sev-low">
<b>start_process_with_partial_path: </b> Starting a process with a partial executable path<br>
<b>Test ID:</b> B607<br>
<b>Severity: </b>LOW<br>
<b>Confidence: </b>HIGH<b... | HTML |
import os
import pytest
from conftest import GITHUB_ACTIONS
from deep_translator import GoogleTranslator
from lingua import IsoCode639_1
from llama_index.llms.groq import Groq
from src.translation import _detect_language, _translate, get_language_detector
from translators.llm import LLMTranslator
from translators.opu... | Python |
nProficiencyLines(buffer, pcClass);
}
}
private void appendWeaponProficiencyLines(StringBuilder buffer, CDOMObject source)
{
if (source == null)
{
return;
}
final List<? extends WeaponProf> profs = thePC.getBonusWeaponProfs(source);
if (profs == null || profs.isEmpty())
{
return;
}
// TODO ... | Java |
);
thin.setVariationCoordinates(new float[] { 0.0f, 200.0f });
thin.setStyleName("Thin");
thin.setFullName("Sudo Thin");
thin.setWeight(TypeWeight.EXTRA_LIGHT);
TypefaceInfo light = new TypefaceInfo(info);
light.setVariationCoordinates(new float[] { 0.0f, 309.375f });
... | Java |
generators-and-promises-for-node-js-async-fun-and-profit/" target="_blank">Harmony generators and promises for Node.js async fun and profit - Atlassian Blogs</a> - Error handling FTW</li>
<li><a title="Google Chromeに入ったジェネレータとPromiseで非同期処理に革命が起きた - 素人がプログラミングを勉強していたブログ" href="http://javascripter.hatenablog.com/entry/20... | HTML |
draggable(): boolean;
/**
* Sets the draggable state.
*/
set draggable(state: boolean);
/**
* Gets the selectable state.
*/
get selectable(): boolean;
/**
* Sets the selectable state.
*/
set selectable(state: boolean);
/**
* Gets the node element.
*/
... | Typescript |
Config = {port: config.PROD.PORT}
break;
case "DEV":
console.log("Using NODE_ENV=DEV")
serverConfig = {port: config.DEV.PORT}
break;
default:
throw "INVALID VALUE FOR NODE_ENV. MUST BE EITHER PROD OR DEV";
}
console.log("serverConfig: ", serverConfig)
const transportPath = "/xoxo-multiplayer... | Typescript |
thiserror::Error;
use super::Validator;
#[derive(Clone, Debug, PartialEq)]
pub struct LocalPart(String);
impl std::fmt::Display for LocalPart {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self.0)
}
}
impl std::str::FromStr for LocalPart {
type Err = InvalidLocalPart;
f... | Rust |
// and then verifies that they can bind with the raw password.
//
Entry userEntry = TestCaseUtils.makeEntry(
"dn: uid=test.user,o=test",
"objectClass: top",
"objectClass: person",
"objectClass: organizationalPerson",
"objectClass: inetOrgPerson",
... | Java |
块现已达成了协议。', '', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '1020223', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'1020223', '', '不过『戈里刻』如今光是板块的善后工作就忙得不可开交,目前只能提供资源和技术的援助。', '', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '... | Lua |
севдонима переопределения, запускающегося во время переопределения игры, и его параметра, который фактически содержит настройки, выполняемые псевдонимом переопределения.
- `shadows`: Использует `shadowlod_override` для управления качеством моделей теней.
- `shadowlod_low`: Использует самое низкое качества модели дл... | Markdown |
")
undelegations := s.app.StakingKeeper.GetAllUnbondingDelegations(s.ctx, s.address.Bytes())
Expect(undelegations).To(HaveLen(0), "expected no unbonding delegations")
})
It("should write to state if all operations succeed", func() {
cArgs := defaultCallArgs.
WithMethodName("testApproveAndThenUndelega... | Go |
,%rdi)
shrq $8, %rcx
addq $-1, %rdi
Ljade_hash_sha256_amd64_ref$4:
cmpq %rdx, %rdi
jnb Ljade_hash_sha256_amd64_ref$5
addq $9, %rdi
jmp Ljade_hash_sha256_amd64_ref$2
Ljade_hash_sha256_amd64_ref$3:
movb %sil, 48(%rsp,%rdi)
incq %rdi
Ljade_hash_sha256_amd64_ref$2:
cmpq $128, %rdi
jb Ljade_hash_sha256_amd64_r... | Assembly |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.TemplateEngine.Edge.Installers.NuGet
{
internal class DownloadException : Exception
{
public DownloadException(string packageIdentifier, string pa... | C# |
ill use, and what nasm uses
- AT&T syntax: what `g++ -S` uses by default
- To make clang++ use the Intel syntax, you need to add the <br>`-mllvm --x86-asm-syntax=intel` flags
```
clang++ -m32 -mllvm --x86-asm-syntax=intel -S \
test_abs.cpp -o test_abs.s
```
- For g++, use the `-masm=intel` flags:
```
g++ -m... | HTML |
x47.toByte(), 0xa1.toByte(), 0xfc.toByte(),
0x8f.toByte(), 0xf8.toByte(), 0xb8.toByte(), 0xd1.toByte(), 0x7a.toByte(), 0xd0.toByte(), 0x31.toByte(), 0xce.toByte(),
0x45.toByte(), 0xcb.toByte(), 0x3a.toByte(), 0x8f.toByte(), 0x95.toByte(), 0x16.toByte(), 0x04.toByte(), 0x28.toByte(),
0xaf.toByte(), 0xd7.toBy... | Kotlin |
.ifBlank { null }?.let { SeriesTitle(subject.nameCn, null, "zh") },
) + altTitles
val publishers = when (val publisherInfo = infoBox["出版社"]) {
is Infobox.SingleValue -> publisherInfo.value.split(',', ',', '、')
else -> emptyList()
}.map { Publisher(it, ORIGINAL) }
... | Kotlin |
ile *pTemp = m_Pipebombs[i];
if ( pTemp )
{
//This guy will die soon enough.
if ( pTemp->IsEffectActive( EF_NODRAW ) )
continue;
#ifdef GAME_DLL
if ( bFizzle )
{
pTemp->Fizzle();
}
#endif
if ( bFizzle == false )
{
if ( ( gpGlobals->curtime - pTemp->m_flCreationTime ) < pTemp->GetLi... | C++ |
3, [r2, #0x7e]
ldr r0, [r0]
str r1, [r0, #0x78]
bx lr
.align 2, 0
_0238B38C: .word OVERLAY17_UNKNOWN_POINTER__NA_238BE00
arm_func_end ov17_0238B36C
arm_func_start ov17_0238B390
ov17_0238B390: ; 0x0238B390
stmdb sp!, {r4, r5, r6, r7, r8, sb, sl, lr}
ldr r0, _0238B4CC ; =OVERLAY17_UNKNOWN_POINTER__NA_238BE00
ld... | Assembly |
QuerySnapshot querySnapshotMessage = await messageCollect.where("chat_id",isEqualTo:usersChat.id!).get();
// Afficher la liste
List<Message> messageList = querySnapshotMessage.docs.map((doc) =>
Message.fromJson(doc.data() as Map<String, dynamic>)).toList();
if (messageList.isEmpty) {... | Dart |
eached = true)
}
val start = if (loadType == REFRESH) 0 else lastRequestEnd
val limit = if (loadType == REFRESH) state.config.initialLoadSize else state.config.pageSize
val count: Int = runCatchingExceptCancel {
updateRecipes(start, limit, loadType)
}.getOrElse {
... | Kotlin |
ace{}) {
}
// getClaimPodName gets the name of the Pod associated with the Claim, or an empty string if this doesn't look matching.
func getClaimPodName(set *apps.StatefulSet, claim *v1.PersistentVolumeClaim) string {
podName := ""
statefulClaimRegex := regexp.MustCompile(fmt.Sprintf(".*-(%s-[0-9]+)$", set.Name))
... | Go |
using Elsa.Persistence.Elasticsearch.Common;
using Elsa.Persistence.Elasticsearch.Contracts;
using Elsa.Persistence.Elasticsearch.Features;
using Elsa.Features.Attributes;
using Elsa.Features.Services;
using Elsa.Workflows.Management.Entities;
using Elsa.Workflows.Management.Features;
using Microsoft.Extensions.Depende... | C# |
(X,Y) = sum(by: x<X,y<Y) image(x,y)</em></p>
*
*
*
* <p><em>sqsum(X,Y) = sum(by: x<X,y<Y) image(x,y)^2</em></p>
*
*
*
* <p><em>tilted(X,Y) = sum(by: y<Y,abs(x-X+1) <= Y-y-1) image(x,y)</em></p>
*
* <p>Using these integral images, you can calculate sum, mean, and standard
* deviation over a specific... | Java |
*factory.NewGaugeVec(prometheus.GaugeOpts{
Namespace: ns,
Name: "info",
Help: "Pseudo-metric tracking version and config info",
}, []string{
"version",
}),
up: factory.NewGauge(prometheus.GaugeOpts{
Namespace: ns,
Name: "up",
Help: "1 if the op-batcher has finished starti... | Go |
but had 'EOF' instead at path:")
&& encodeMode == DecodeSequenceMode.WHITESPACE_SEPARATED && decodeMode == DecodeSequenceMode.ARRAY_WRAPPED
) {
return
} else if (isJsonDecodingException(e)
&& e.message.orEmpty().startsWith("Unexpected JSON token a... | Kotlin |
, 0.15);
--pc-scrollable-shadow-bottom: 0 var(--pc-scrollable-shadow-size)
var(--pc-scrollable-shadow-size) var(--pc-scrollable-shadow-size)
var(--pc-scrollable-shadow-color);
--pc-scrollable-shadow-top: 0 calc(-1 * var(--pc-scrollable-shadow-size))
var(--pc-scrollable-shadow-size) var(--pc-scrollable-s... | CSS |
iId4x4 = 0; iId4x4 < 4; iId4x4++) {
WELS_READ_VERIFY (ParseResidualBlockCabac (pNeighAvail, pNonZeroCount, pBsAux, index,
iScanIdxEnd - WELS_MAX (iScanIdxStart, 1) + 1, g_kuiZigzagScan + WELS_MAX (iScanIdxStart, 1),
iMbResProperty, pCurLayer->pScaledTCoe... | C++ |
/th>
<th>Data</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=SPAWN_TYPE.LEVEL_GEN">LEVEL_GEN</a></td>
<td>SPAWN_TYPE_LEVEL_GEN</td>
<td>For any spawn happening during level generation, even if the call happened from the Lua API during a til... | HTML |
.tokens.generated.CompoundIcons
import io.element.android.features.login.impl.R
import io.element.android.libraries.designsystem.atomic.atoms.RoundedIconAtom
import io.element.android.libraries.designsystem.atomic.atoms.RoundedIconAtomSize
import io.element.android.libraries.designsystem.preview.ElementPreview
import i... | Kotlin |
(--fs-6);
font-weight: var(--fw-600);
padding: 3px 12px;
border: 2px dashed hsla(204, 91%, 53%, 0.4);
border-radius: var(--radius-14);
}
.featured-car-card .card-list {
display: grid;
grid-template-columns: 1fr;
gap: 15px;
padding-bottom: 15px;
border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
margin-... | CSS |
)
if err != nil {
cb.Done(ErrResp(err))
return
}
// Your Code Here (2B).
for len(msg.Requests) > 0 {
req := msg.Requests[0]
var key []byte
switch req.CmdType {
case raft_cmdpb.CmdType_Get:
key = req.Get.Key
case raft_cmdpb.CmdType_Put:
key = req.Put.Key
case raft_cmdpb.CmdType_Delete:
key =... | Go |
et; set; }
[JsonPropertyName("hostDocumentFilePath")]
public string? HostDocumentFilePath { get; set; }
[JsonPropertyName("changes")]
public required RazorTextChange[] Changes { get; set; }
[JsonPropertyName("previousWasEmpty")]
public bool PreviousWasEmpty { get; set; }
[JsonPropertyNam... | C# |
-family: "IBM Plex Sans", sans-serif;
}
.font-alegreya {
font-family: "Alegreya", serif;
}
.font-montserrat {
font-family: "Montserrat", sans-serif;
}
.font-fraunces {
font-family: "Fraunces", serif;
}
.font-work-sans {
font-family: "Work Sans", sans-serif;
}
.font-nunito {
font-family: "Nunito", sans-se... | CSS |
div class="OverlayItemContentWrapper-fOyeUo hMTDtk"><div class="RubricWrapper-dKmCNX fDLcZE rubric rubric--with-bg BaseWrap-sc-gjQpdd BaseText-ewhhUZ OverlaySummaryItemRubric-bFqsqT iUEiRd iRrzvL eUtfsq"><span class="RubricName-fVtemz cLxcNi rubric__name">cooking</span></div><div data-testid="ClampWrapper" class="Clamp... | HTML |
8333V20.7071C31.8333 21.7172 32.4999 22.3906 33.4999 22.3906H34.8333L29.8333 27.4411Z' fill='%23FFBB1C'/%3E%3C/svg%3E%0A");
}
.gta_advantages .vip_status:after {
width: 52px;
height: 49px;
background-image: url("data:image/svg+xml,%3Csvg width='52' height='49' viewBox='0 0 52 49' fill='none' xmlns='http://... | CSS |
kvm_on_ubuntu/">
Ubuntu环境KVM
</a>
<ul class="articles">
<li class="chapter " data-level="1.10.3.7.1" data-path="../kvm_on_ubuntu/installation.html">
... | HTML |
{0:>---}{c:^X} ✨{0:>}|
|
{0:~ }|
{0:~ }|
{sm:-- INSERT --} |
]])
end) -- level 2 - non wrapped (insert mode)
it('(level 2) click on wrapped lines', function()
feed_command('let &concea... | Lua |
"testing"
. "github.com/smartystreets/goconvey/convey"
)
var (
usersListResp = `{ "ok": true, "members": [ { "team_id": "HURFFDURF", "id": "AKDOGURTUE", "name": "bobbytables", "deleted": false, "status": null, "color": "3c989f", "real_name": "Bobby Tables", "tz": "America\/Los_Angeles", "tz_label": "Pacific Standar... | Go |
transaction.created_at)+"\n ")]),t._v(" "),e("td",{staticClass:"d-none d-sm-table-cell"},[e("span",{staticClass:"badge badge-pill",class:{"badge-success":"paid"==t.transaction.status,"badge-danger":"refund"==t.transaction.status}},[t._v(t._s(t.transaction.status))])]),t._v(" "),t.permissions.is_admin?e("td",{staticC... | JavaScript |
");var opts=_55b.options;if(!_55a&&opts.selectOnCheck){_53f(_558,_559,true)}var ck=opts.finder.getTr(_558,_559).find("div.datagrid-cell-check input[type=checkbox]");
ck._propAttr("checked",false);var dc=_55b.dc;var _55c=dc.header1.add(dc.header2);_55c.find("input[type=checkbox]")._propAttr("checked",false);var row=... | JavaScript |
=> {
const day20 = new Day20(lines);
it('solves part 1', () => {
expect(day20.solve()).toEqual(16937516456219);
});
it('has proper edge length', () => {
expect(day20.edgeLength).toEqual(12);
});
it('has 4 corners', () => {
expect(day20.tileTypes.corners.length).toEqual(4);
... | Typescript |
javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.... | HTML |
<meta property="al:ios:app_store_id" content="624946027">
<meta property="al:ios:app_name" content="Justdial">
<meta content="1b130189f0fc0b642c6a77d8df4ce85c497a24316724c83b94ff3ee811b93751" name="_csrft">
<style type="text/css">
* {box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: ... | HTML |
2375] = "破碎的皮手套",
[2376] = "用舊的尖頭盾",
[2378] = "骷髏的手指",
[2379] = "無光澤的鍊甲外衣",
[2380] = "無光澤的鍊甲腰帶",
[2381] = "無光澤的鍊甲護腿",
[2382] = "藏屍者的心臟",
[2383] = "無光澤的鍊甲靴",
[2384] = "無光澤的鍊甲護腕",
[2385] = "無光澤的鍊甲手套",
[2386] = "鐵銹鍊甲外衣",
[2387] = "鐵銹鍊甲腰帶",
[2388] = "鐵銹鍊甲護腿",
[2389] = "鐵銹鍊甲長靴",
[2390] = "鐵銹鍊甲護腕",
[2391] = "鐵銹鍊甲手套",
[2392] ... | Lua |
ontext->i[0];
in[15] = mdContext->i[1];
/* compute number of bytes mod 64 */
mdi = (int)((mdContext->i[0] >> 3) & 0x3F);
/* pad out to 56 mod 64 */
padLen = (mdi < 56) ? (56 - mdi) : (120 - mdi);
krb5int_MD4Update (mdContext, PADDING, padLen);
/* append length in bits and transform */
... | C |
"
)
var intLengthTests = []struct {
val, length int
}{
{0, 4 + 0},
{1, 4 + 1},
{127, 4 + 1},
{128, 4 + 2},
{-1, 4 + 1},
}
func TestIntLength(t *testing.T) {
for _, test := range intLengthTests {
v := new(big.Int).SetInt64(int64(test.val))
length := intLength(v)
if length != test.length {
t.Errorf("For... | Go |
a:hover { color: var(--link-color-hover); }
</style>
</head>
<body>
{{ content }}
</body>
</html>
<div class="s-main-slot s-result-list s-search-results sg-row">
<div class="s-result-item s-widget s-widget-spacing-large AdHolder s-flex-full-width" data-asin="" data-uuid="61c273f8... | HTML |
"]::before {
opacity: 0.6;
}
[data-overlay="7"]::before {
opacity: 0.7;
}
[data-overlay="8"]::before {
opacity: 0.8;
}
[data-overlay="9"]::before {
opacity: 0.9;
}/*!
* Bootstrap v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MI... | CSS |
s.com/f0f8fa7a03e5920e4ca30b8ebb91481e\",\"defer\":1},\"summary\":\"Eastern Aleppo has fallen, and military activities there have stopped, according to Russia&#39;s United Nations ambassador. &quot;The Syrian government has re-established control over eastern Aleppo,&quot; Vitaly Churkin told the U.N. Secu... | HTML |
: 2.0,
child: DataTable(columns: _getColumns(), rows: _getRows()),
),
),
],
),
),
),
),
);
}
void _inserir() {
var cteCarga = CteCarga();
widget.cteCabecalho!.listaCteCarga!.add(cteCarga);
Naviga... | Dart |
s.googleapis.com/css?family=Droid+Serif:400,700italic,700,400italic%7CLato:400,100,100italic,300,300italic,400italic,700,700italic,900,900italic%7COpen+Sans:Open+Sans:400,800italic,800,700italic,700,600italic,600,400italic,300italic,300%7CHandlee" />
<link rel="stylesheet" type="text/css" href="../style/megafish.c... | HTML |
slice[0].duration : b.slice[0].duration - a.slice[0].duration;
});
return tripOption;
}
}import axios from 'axios';
export interface ITodo{
id: number;
name: string;
}
export class TodoService {
constructor(private baseUrl: string) {
}
public async getAll(): Promise<ITodo[]> {... | Typescript |
{
title: {
text: 'RSI指标',
left: 'left'
},
tooltip: {
trigger: 'axis'
},
legend: {
data: ['RSI6', 'RSI12', 'RSI24'],
top: 30
},
grid: {
left: '3%',
right: '4%',
bottom: ... | HTML |
MEMORY_POOL_NAME,
JvmAttributes.JVM_MEMORY_TYPE,
poolBeans,
MemoryPoolMXBean::getCollectionUsage,
MemoryUsage::getUsed)));
return observables;
}
// Visible for testing
static Consumer<ObservableLongMeasurement> callback(
A... | Java |
.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight... | CSS |
/*
* Copyright (C) 2017 Mellanox Technologies Inc
*
* This 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 the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
... | C |
bool ret = false;
if (!String.IsNullOrEmpty(pFilePath))
{
string fullPath = Path.GetFullPath(pFilePath);
if (File.Exists(fullPath))
{
using (FileStream fs = File.OpenRead(fullPath))
{
... | C# |
E.1S(r,d)});I r},1y:G(c,d,a){H e=E.4a(c)?{}:E.5o;9(d=="29"&&E.V.1H)c.14.4z;9(e[d]){9(a!=11)c[e[d]]=a;I c[e[d]]}J 9(E.V.1g&&d=="R")I E.1y(c.R,"9g",a);J 9(a==11&&E.V.1g&&E.Y(c,"3B")&&(d=="9e"||d=="9d"))I c.9b(d).6x;J 9(c.34){9(a!=11){9(d=="N"&&E.Y(c,"49")&&c.14)6E"N 96 94\'t 93 92";c.90(d,a)}9(E.V.1g&&/6B|3g/.12(d)&&!E.4... | HTML |
sets(
top?.toDouble() ?: this.top,
right?.toDouble() ?: this.right,
bottom?.toDouble() ?: this.bottom,
left?.toDouble() ?: this.left
)
fun Insets.copy(
horizontal: Number? = null,
vertical: Number? = null
) = Insets(
vertical?.toDouble() ?: this.top,
hor... | Kotlin |
guages": AllNiceLangs})
return nil
}
package main
import (
"fmt"
"io/ioutil"
"net/http"
"os"
"strings"
. "github.com/Deleplace/programming-idioms/idioms"
"google.golang.org/appengine/log"
)
// Bad stuff started 2015-10...
// Had to take action.
var spammerSet = map[string]bool{}
func init() {
b1, err := ... | Go |
#region License notice
/*
This file is part of the Ceres project at https://github.com/dje-dev/ceres.
Copyright (C) 2020- by David Elliott and the Ceres Authors.
Ceres is free software under the terms of the GNU General Public License v3.0.
You should have received a copy of the GNU General Public License
... | C# |
{
get
{
return this.textBox_effect.Text;
}
set
{
this.textBox_effect.Text = value;
}
}
public string MoveSpeed
{
get
{
return this.textBox_moveSpe... | C# |
result = _$v ??
_$GFindPokemon._(
vars: vars.build(),
operation: BuiltValueNullFieldError.checkNotNull(
operation, r'GFindPokemon', 'operation'),
);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'vars';
vars.bui... | Dart |
margin-top:-10px;
background:#f0f0f0
}
.HomeEntry-item:first-child:after {
display:none
}
.HomeEntry-item a {
text-decoration:none
}
.HomeEntry-draft {
float:right;
margin-right:20px;
line-height:49px
}
.HomeEntry-draft a {
text-decoration:none;
color:#999
}
.HomeEntry-draft .zg-num... | CSS |
def main():
word = input("Input: ")
print("Output: ", shorten(word))
def shorten(word):
vowels = ["a", "A", "e", "E", "i", "I", "o", "O", "u", "U"]
for vowel in vowels:
word = word.replace(vowel, "")
return word
if __name__ == "__main__":
main()
| Python |
essage
}
throw new Error(`Failed to decrypt mnemonic: ${error.message}`);
}
}
function decryptPrivateKeyWithPassword(encryptedPrivateKey, password) {
try {
// Check if it's the new AES-256-GCM format (JSON string)
if (encryptedPrivateKey.startsWith('{')) {
// New for... | JavaScript |
document.
*
* The series does not necessarily form a simple linear chain. There
* may be many possible pathways forming the circular relationship.
* For example, if we consider a upward-pointing diamond-shaped
* dependency pattern, and then we further suppose that the top
* node of the diamond is connect... | Typescript |
lse
local endpoint_url = service.endpoints[1].url
if endpoint_url == '*' then
generic_path = "not available (services url is '*')"
else
generic_path = autoswagger.learn(req.method, service_id, req.host, req.uri, req.args, req.body, req.headers)
generic_path = generic_path or "n... | Lua |
dLink)
BugsnagKotlin.sendHandledException(feedAddResult.exception)
_state.update { it.copy(error = AddFeedErrorType.FailedToParseXML) }
}
is ConnectTimeoutException,
is SocketTimeoutException, -> {
_state.update { it.copy(error = AddFeedErrorType.Timeout) }
}
else -... | Kotlin |
__assertion: *const ::std::os::raw::c_char,
__file: *const ::std::os::raw::c_char,
__line: ::std::os::raw::c_uint,
__function: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn __assert_perror_fail(
__errnum: ::std::os::raw::c_int,
__file: *const ::std::os:... | Rust |
if StackNum > 0 then
if BuffID == 24110 then --双持
deltimer("斷雲勢")
deltimer("滅影追風")
print("-------------------- 双持")
end
if BuffID == 24029 then --单手
deltimer("孤鋒破浪")
print("-------------------- 单手")
end
end
end
end | Lua |
IpsecEncAlg;
/// <summary>
/// the SA lifetime that is determined by Phase 2 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.
/// </summary>
public readonly int? IpsecLifetime;
/// <summary>
/// the DH key exchange algorithm that is used in Ph... | C# |
篝火",
[191076] = "冒烟的叶子",
[191077] = "冒烟的叶子",
[191078] = "冒烟的叶子",
[191079] = "篝火",
[191080] = "冒烟的叶子",
[191081] = "篝火",
[191082] = "篝火",
[191083] = "恶魔法阵:召唤",
[191084] = "新阿瓦隆巡逻日程表",
[191085] = "火盆",
[191086] = "尖刺陷阱",
[191087] = "血色保险箱",
[191088] = "长者克苏克",
[191089] = "长者萨加尼",
[191090] = "长者塔克勒特",
[191091] = "WotLK Lig... | Lua |
r><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>7-45 浏览器对象(BOM)</title>
<style type="text/css">
body{background:#f8f8f8;font-size: 28px;}
h1{text-shadow: #A9A9A9 ... | HTML |
d="M0 57v57h195V0H0v57zm183 0v45H12V12h171v45z"/><path d="M21 31.5V39h15V24H21v7.5zM48 31.5V39h15V24H48v7.5zM75 31.5V39h15V24H75v7.5zM102 31.5V39h15V24h-15v7.5zM129 31.5V39h15V24h-15v7.5zM156 31.5V39h15V24h-15v7.5zM36 55.5V63h15V48H36v7.5zM63 55.5V63h15V48H63v7.5zM90 55.5V63h15V48H90v7.5zM117 55.5V63h15V48h-15v7.5zM14... | CSS |
8_bd .PIN_1701458894978_ct .PIN_1701458894978_col {
width: 12.5%;
}
span.PIN_1701458894978_embed_grid.PIN_1701458894978_c9 {
max-width: 2153px;
min-width: 560px;
}
span.PIN_1701458894978_embed_grid.PIN_1701458894978_c9 .PIN_1701458894978_bd .PIN_1701458894978_ct .PIN_1701458894978_col {
width: 11.11%;
}
s... | HTML |
_KEY) ?? "bearer";
state = await _storage.getString(_STATE_KEY);
refreshToken = await _storage.getString(_REFRESH_TOKEN_KEY);
if (accessToken == null || idToken == null) return null;
return OpenIdIdentity(
accessToken: accessToken,
expiresAt: DateTime.fromMillisecondsSinceEpoch... | Dart |
#ifndef BABYLON_MISC_ENVIRONMENT_TEXTURE_SPECULAR_INFO_V1
#define BABYLON_MISC_ENVIRONMENT_TEXTURE_SPECULAR_INFO_V1
#include <nlohmann/json_fwd.hpp>
#include <babylon/babylon_api.h>
#include <babylon/babylon_common.h>
#include <babylon/babylon_fwd.h>
#include <babylon/misc/buffer_image_data.h>
using json = nlohmann:... | C |
HE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
using System;
using System.Runtime.Serialization;
namespace IFi... | C# |
using System.Text;
using System.Xml;
using Microsoft.XmlDiffPatch;
namespace CSharpier.Core.Xml;
internal class XmlFormattingValidator(string originalXml, string formattedXml)
: IFormattingValidator
{
public Task<FormattingValidatorResult> ValidateAsync(CancellationToken cancellationToken)
{
try
... | C# |
parsed_command = parse_json(command)
if parsed_command is None:
return "Invalid input format. Input a json string with keys: source (str) and query (str)."
source = parsed_command["source"]
query = parsed_command["query"]
if self.injected_only:
on_now = []
... | Python |
5>
<pre>
<?xml version="1.0" encoding="UTF-8"?><br /><!DOCTYPE components PUBLIC<br /> "-//SEASAR//DTD S2Container 2.3//EN"<br /> "http://www.seasar.org/dtd/components23.dtd"><br /><components><br /> <component name="greeting"<br /> class="examples.di.impl.GreetingImpl"/><br /> ... | HTML |
MOV Reg8,[Mem]"
t095="MOV Reg,[Mem]"
t096="AND Reg,0FFh"
t097="OP Reg,Reg2"
t098="OP Mem,Reg2"
t099="OP Mem,Reg"
t100="OP Mem2,Reg"
t101="OP Mem2,Imm"
t102="CMP Reg,Reg"
t103="JO/JB/JNZ/JA/JS/JNP/JL/JG @xxx" - without Jcc
t104="JNO/JAE/JZ/JBE/JNS/JP/JGE/JLE @xxx" - without Jcc
t105="TEST Reg,Imm" + Jcc
t106... | HTML |
'''fastfcn_encnet_resnet50os32_cityscapes'''
import os
from .._base_ import REGISTERED_SEGMENTOR_CONFIGS, REGISTERED_DATASET_CONFIGS, REGISTERED_DATALOADER_CONFIGS
# deepcopy
SEGMENTOR_CFG = REGISTERED_SEGMENTOR_CONFIGS['FASTFCN_SEGMENTOR_CFG'].copy()
# modify dataset config
SEGMENTOR_CFG['dataset'] = REGISTERED_DATA... | Python |
u6c11\u51fa\u7248\u793e\u7f16,1958\u5e74\uff09", "type": "paragraph"}]}
</script>
<p>
<a href="index.htm">
[返回索引页面]
</a>
</p>
<h1>
个人主义的发展规律
</h1>
<p>
日期:1949-0-0 作者:吴芝圃
</p>
<em>
吴芝圃
</em>
<p>
对工作的厌倦疲蹋,个人享乐主义的发展,个人英雄主义与军阀思想的残余,自由主义的色彩,对战斗的畏缩,本位主义,对于革命的悲观、动摇、逃跑、叛变……等八种不良倾向,都是个人... | HTML |
� 학습법칙(정리 3.1)에 대한 보다 실증적 증거를 제시한다. 정리 3.1로부터 최적 학습 역학의 세 가지 성질을 도출한 후 실험을 통해 검증한다. **첫 번째 속성**은 비-양성 기여도를 갖는 예들이 \\(\\gamma_{n,t}=0\\)을 수신하도록 보장하며, 이는 각 시간 단계에서의 "시끄러운" 예들이 최적의 학습 정책에 의해 배제됨을 나타낸다:\n' +
'\n' +
'특성 4.1**.:_모델이 수렴하기 전에 \\(\\mathrm{CT}_{n,t}\\leq 0\\)이 \\(\\gamma_{n,t}=0\\)이 되는 학습예\\(x_{n}^{\... | HTML |
not signed.
*
* @version 1.0
* @author Wolfgang Christian
* @created October 06, 2005
*/
@SuppressWarnings("serial")
public class ApplicationApplet extends JApplet {
JFrame mainFrame = null;
JButton showFramesButton = new JButton("Show"); //$NON-NLS-1$
String targetClassName;
ArrayList<Frame> ne... | Java |
RootCA>CC BE BE 24 B4 BB 06 BE 5C EA 51 55 6D 12 42 2C 72 51 CF AA</TrustedRootCA></ServerValidation><DifferentUsername>false</DifferentUsername><PerformServerValidation xmlns=\"http://www.microsoft.com/provisioning/EapTlsConnectionPropertiesV2\">true</PerformServerValidation><AcceptServerName xmlns=\"http://www.micros... | C# |
𝑟𝑜𝑚 𝑃𝑀
• /del - 𝑑𝑒𝑙𝑒𝑡𝑒 𝑎 𝑓𝑖𝑙𝑡𝑒𝑟
• /delall - 𝑑𝑒𝑙𝑒𝑡𝑒 𝑎𝑙𝑙 𝑓𝑖𝑙𝑡𝑒𝑟𝑠
• /deleteall - 𝑑𝑒𝑙𝑒𝑡𝑒 𝑎𝑙𝑙 𝑖𝑛𝑑𝑒𝑥𝑒𝑑 𝑓𝑖𝑙𝑒𝑠.
• /delete - 𝑑𝑒𝑙𝑒𝑡𝑒 𝑎 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐 𝑓𝑖𝑙𝑒 𝑓𝑟𝑜𝑚 𝑖𝑛𝑑𝑒𝑥.
• /info - 𝑔𝑒𝑡 𝑢𝑠𝑒𝑟 𝑖𝑛𝑓𝑜
• /id - 𝑔𝑒𝑡 𝑡𝑔 𝑖𝑑𝑠.
• /imdb - 𝑓𝑒𝑡𝑐ℎ 𝑖�... | Markdown |
defect 6497629 present");
}
// Confirm that max priorities out of range on both ends have no
// effect.
for (int badPriority : new int[] {Thread.MIN_PRIORITY - 1,
Thread.MAX_PRIORITY + 1}) {
int oldPriority = tg.getMaxPriority();
... | Java |
"собака"}'
response = self.client.post("/test_client_regress/parse_unicode_json/", json,
content_type="application/json; charset=utf-16")
self.assertEqual(response.content, json.encode('utf-16'))
def test_unicode_payload_non_utf(self):
"A non-ASCII unico... | Python |
(--wp--style--gallery-gap-default,var(--gallery-block--gutter-size,var(--wp--style--block-gap,.5em)))}.wp-block-gallery.wp-block-gallery-3{--wp--style--unstable-gallery-gap:var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) );gap:var(--wp--style--gallery-gap... | HTML |
submit GKE clusters to communicate with
// Google Cloud APIs. Workload Identity is not required but can be used if available.
func TestCloudLoggingStatusEventRepoSync(t *testing.T) {
bsNamespace := "bookstore"
repoSyncID := core.RepoSyncID(configsync.RepoSyncName, bsNamespace)
nt := nomostest.New(t, nomostesting.Rec... | Go |
delete(db.hashKeys[opts.key], f)
deleted++
}
c.WriteInt(deleted)
// Nothing left. Remove the whole key.
if len(db.hashKeys[opts.key]) == 0 {
db.del(opts.key, true)
}
})
}
// HEXISTS
func (m *Miniredis) cmdHexists(c *server.Peer, cmd string, args []string) {
if !m.isValidCMD(c, cmd, args, exactly(2)... | Go |
{
Log.e(exception, "Cannot unsubscribe to feature");
}
});
}
private FeatureHelper() {
throw new AssertionError("No instances");
}
}
/*
* Copyright (c) 2016. Pedro Diaz <igoticecream@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... | Java |
p in $e { f.write_fmt($crate::xml!{$($body)*})?; } Ok(()) }),; $($tail)*)
};
// term
(; concat!($($fmt:expr,)*), $($args:expr,)*;) => {
format_args!(concat!($($fmt,)*) $(,$args)*)
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! _format_tag2_ {
(; concat!($($fmt:expr,)*), $($args:expr,)*; > $($tail:tt)*) => {
... | Rust |
24.641572829947375,44.42381853397169]]]},"properties":{"countyId":"Movileni", "scoring":"0","procente":"</br>Populatie: 3359</br> Total consilieri: 13</br> Procent USRPLUS: 5.24% </br> Necesar consilieri USRPLUS: 0.68 </br> Necesar rotunjit: 0" }},
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[... | JavaScript |
ation; keep going until the counter is 0
2:
ret # Return the running total, which is already in a0
.globl _start
_start:
ld a0, input
call print_uns
la a0, text
call print_string
ld a0, input
call factorial
... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.