content
stringlengths
2
6.21k
label
stringclasses
16 values
from markitdowngui.utils.translations import get_translation, get_available_languages, TRANSLATIONS def test_get_translation_english(): """Test retrieving a standard English translation.""" assert get_translation('en', 'app_title') == "MarkItDown GUI Wrapper" def test_get_translation_chinese(): """Test re...
Python
e rules') for _, fname in ipairs(embedded) do if path.getextension(fname) == ".resx" then _p('%s: %s', getresourcefilename(prj, fname), _MAKE.esc(fname)) _p('\t$(SILENT) $(RESGEN) $^ $@') end _p('') end end -- -- Write a block of configuration settings. -- function premake.gmake_cs_config(...
Lua
: number; handler(h: CallHandler): this { this._handler = h; return this; } current(user: RespData.UserMessage): this { this._user = user; return this; } other(other: RespData.UserMessage | RespData.GroupMessage): this { this._other = other; return ...
Typescript
/ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } /* Typography */ html { font-size: 22px; } body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #111; font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamon...
CSS
wDescriptor: file_cmd_protoc_gen_loggingtags_internal_test_sample_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_cmd_protoc_gen_loggingtags_internal_test_sample_proto_goTypes, DependencyIndexes: file_cmd_protoc_gen_loggingtags_internal...
Go
'1'); @include vendor('flex-shrink', '1'); width: 100%; > * { width: 100%; } } &.stacked { width: 100%; } } @include breakpoint('<=xsmall') { &:not(.fixed) { @include vendor('flex-direction', 'column'); margin-left: 0; width: 100% !important; li { @incl...
CSS
KEY_S, KEY_T, KEY_U, KEY_V, KEY_W, KEY_X, KEY_Y, KEY_Z, KEY_LEFT_BRACE, KEY_BAR, KEY_RIGHT_BRACE, KEY_TILDE, KEY_EURO, KEY_POUND, KEY_YEN, KEY_MIDDLE_DOT, KEY_SEARCH, KEY_DPAD_LE...
C
13f, 0.98f) lineToRelative(-0.07f, 0.08f) lineToRelative(-2.0f, 2.0f) arcToRelative(0.75f, 0.75f, 0.0f, false, true, -0.98f, 0.07f) lineToRelative(-0.08f, -0.07f) close() moveTo(11.0f, 3.25f) arcToRelative(0....
Kotlin
hintKeywordList = emptyList(), isFocused = false ) private fun makeExtractableNode( autofillId: AutofillFieldId? = newAutofillFieldId(), text: String? = null, autofillHints: List<String> = emptyList(), htmlAttributes: List<Pair<String, String>> = emptyList(), ...
Kotlin
onfig["json_path"]) processed_ids = set() if os.path.exists(os.path.join(config["output_dir"], config["result_files"]["full"])): with open(os.path.join(config["output_dir"], config["result_files"]["full"]), 'r', encoding='utf-8') as f: for line in f: data = json.loads(li...
Python
{ return; } TablixCornerRowCollection rowCollection = corner.RowCollection; TablixCornerRow tablixCornerRow = null; for (int i = 0; i < rowCollection.Count; i++) { tablixCornerRow = rowCollection[i]; for (int j = 0; j < tablixCornerRow.Count; j++) { if (tablixCornerRow[j] != null...
C#
{ m_invokeStartCallEvent.signal(); return; } callList.removeHead(); } if (head.isNotNull()) { // start asynchronous call m_call = head; callList.autoUnlock(); invoke(head, FALSE); } } else { // synchronous -> signal other thread m_invokeStartCallEvent.sign...
C++
using System; using System.Numerics; namespace Maple2.Tools.Collision; // Point is not a prism but allows us to intersect points with polygons polymorphically. public readonly struct PointPrism : IPrism { private readonly Vector3 origin; private readonly Point point; public IPolygon Polygon => point; ...
C#
VERSION_MAJOR 2 VERSION_MINOR 0 VERSION_MICRO 0 */ /* API */ GLEWAPI GLenum GLEWAPIENTRY glewInit (void); GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name); #define glewIsExtensionSupported(x) glewIsSupported(x) #ifndef GLEW_GET_VAR #define GLEW_GET_VAR(x) (*(const GLboolean*)&x) #endif #ifndef GLEW_...
C
2`` and ``BrcmPatchRAM2`` kexts to ``/Volumes/EFI/EFI/CLOVER/kexts/Other/``. * Now reboot and if you have a compatible network card Wifi and Bluetooth will work! * **DON'T DO THIS IF YOU DON'T HAVE UPGRADED YOUR WIFI/BLUETOOTH CARD!!!** ### Integrated graphics * Download [Lilu](https://github.com/acidanthera/Lilu/rel...
Markdown
"l": 5, "f": 8798}, { "h": "鏱", "p": "zhang", "sp": "zhang", "r": "金", "sc": 19, "l": 5, "f": 8799 }, {"h": "隺", "p": "hú", "sp": "hu", "r": "隹", "sc": 10, "l": 5, "f": 8800}, {"h": "饜", "p": "yàn", "sp": "yan", "r": "食", "sc": 23, "l": 5, "f": 8801}, { "h": "荘", "p": "zhu...
Dart
isSharedPassword, connToken: connToken, forceRelay: forceRelay); } else { await rustDeskWinManager.newRemoteDesktop(id, password: password, isSharedPassword: isSharedPassword, forceRelay: forceRelay); } } /// Connect to a peer with [id]. /// If [isFileTransfer], starts a...
Dart
/* * Copyright (C) 2016-2018, Nils Asmussen <nils@os.inf.tu-dresden.de> * Economic rights: Technische Universitaet Dresden (Germany) * * This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores). * * M3 is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
C
.0f - smooth); } } } } for (r = 0; r < gca->ninputs; r++) { free(means[r]); } free(wts); free(means); return (NO_ERROR); } int GCArenormalizeToFlash(GCA *gca, char *tissue_parms_fname, MRI *mri) { FILE *fp; char *cp, line[STRLEN]; int labels[MAX_GCA_LABELS], nlabels; float int...
C++
/* * Copyright 2007 ZXing authors * * 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 applicable law or agreed to in wri...
C#
�推理速度 [¶](#comparing-inference-speed "永久链接到此标题") 要查看四种模型(原始模型、脚本化模型、量化和脚本化模型、优化量化和脚本化模型)的推理速度有何不同,请运行以下代码: ```python with torch.autograd.profiler.profile(use_cuda=False) as prof1: out = model(img) with torch.autograd.profiler.profile(use_cuda=False) as prof2: out = scripted_model(img) with torch.autograd.pro...
Markdown
nlyPerson as WritablePerson).name = 'John'; // OK * * // Error: Correctly detects that `Person` did not have `age` property. * (readonlyPerson as WritablePerson).age = 30; * ``` */ export type Writable<T> = { -readonly[K in keyof T]: T[K]; }; /// <reference path="../scripts/typings/jasmine/jasmine.d.ts" /> /// ...
Typescript
*/ -webkit-box-flex: @v; -moz-box-flex: @v; /* New Syntax */ -webkit-flex: @v; flex: @v; -ms-flex: @v; height: auto; width: auto; } /* ___ _ ___ ___ ___ ___ ___ | _ \/_\ | \| \| __| _ \/ __| | _/ _ \| |) | |) | _|| /\__ \ |_|/_/ \_\___/|___/|___|_|_\|___/ -----------------...
CSS
/lib/epoch.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports) => { eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = (date)=>Math.floor(date.getTime() / 1000);\n//# sourceURL=[module]\n//# sourceMappingURL=...
JavaScript
author Ttt */ private class MovieDetailResultCallback( tag: String, private val _movieDetail: MutableLiveData<MovieDetailBean> ) : ResponseHelper.RequestResultStageCallback<MovieDetailBean>(tag) { override fun onSuccess( uuid: UUID, data: Base.Result<MovieDe...
Kotlin
指定値が現れる場所から、前の部分を返します。 use Illuminate\Support\Str; $slice = Str::of('This is my name')->beforeLast('is'); // 'This ' <a name="method-fluent-str-between"></a> #### `between` {.collection-method} `between`メソッドは、2つの値の間にある文字列を返します。 use Illuminate\Support\Str; $converted = Str::of('This is my name...
Markdown
oud.dataplex.v1.DeleteDataAttributeRequest (*CreateDataAttributeBindingRequest)(nil), // 15: google.cloud.dataplex.v1.CreateDataAttributeBindingRequest (*UpdateDataAttributeBindingRequest)(nil), // 16: google.cloud.dataplex.v1.UpdateDataAttributeBindingRequest (*GetDataAttributeBindingRequest)(nil), // 17: google...
Go
## $a1 = 00000810 /* 00044 80892BA4 24010032 */ addiu $at, $zero, 0x0032 ## $at = 00000032 /* 00048 80892BA8 1441000A */ bne $v0, $at, .L80892BD4 /* 0004C 80892BAC AE02014C */ sw $v0, 0x014C($s0) ## 0000014C /* 00050 80892BB0 860E001C */ lh $t6, 0x001C($s0) ...
Assembly
**时间线**  Timeline  **07‍** 12月7日 官方发布补丁公告12月19日 互联网公开漏洞情报12月19日 长亭应急响应实验室漏洞分析与复现12月20日 长亭安全应急响应中心发布通告 参考资料: [1].https://www.apusic.com/view-477-113.html **长亭应急响应服务** 全力进行产品升级 及时将风险提示预案发送给客户 检测业务是否收到此次漏洞影响 请联系长亭应急团队 7*24小时,守护您的安全 第一时间找到我们: ...
Markdown
ery downward step. */ // @ts-ignore radiusDecrement(radius: number): org.spongepowered.api.world.gen.populator.EndIsland.Builder; /** * Sets the block state ...
Typescript
�大地四段が「大志」と揮毫した扇子だ。 *※局後の感想※ *△4三銀右に代えて△3三金が調べられる。以下▲7五歩△同歩▲7四歩△6五桂▲7三歩成△7七桂成▲同金△8一飛▲7二と△4一飛▲7三角△4二飛▲9一角成△8八角▲5六香が盤上に並ぶ。「ちょっと雑ですかね。△3三金は考えていませんでした」と糸谷。「本譜よりはいいですかね」と深浦。 43 3六歩打 (13:00/00:32:00) *11時42分の着手。 *じっと3筋に歩を打った。先手にもう1歩入れば、▲3五歩△同歩▲3六歩で、後手の銀を逮捕できる。 *先手は歩を打ったので、▲7五歩の攻め筋はなくなった。「先手は右玉にする可能性があります。好みだけでいうと、少し先手...
Typescript
layMan.RemoveOverlay<RadiationDebugOverlay>(); } private void OnOverlayToggled(OnRadiationOverlayToggledEvent ev) { if (ev.IsEnabled) _overlayMan.AddOverlay(new RadiationDebugOverlay()); else _overlayMan.RemoveOverlay<RadiationDebugOverlay>(); } private void...
C#
PartialEq, ::prost::Message)] pub struct GetOperatorResponse { #[prost(message, optional, tag = "1")] pub header: ::std::option::Option<ResponseHeader>, #[prost(uint64, tag = "2")] pub region_id: u64, #[prost(bytes, tag = "3")] pub desc: std::vec::Vec<u8>, #[prost(enumeration = "OperatorStat...
Rust
Sender: global.G_Component.UUID, Accepter: protocol.ADMIN_UUID, MessageType: protocol.CHILDUUIDREQ, RouteLen: uint32(len([]byte(protocol.TEMP_ROUTE))), Route: protocol.TEMP_ROUTE, } cUUIDMess := &protocol.ChildUUIDReq{ ParentUUIDLen: uint16(len(global.G_Componen...
Go
4, [readBs + 4x<%d*128 + 64>];\n", $rsPred, $nOdd, $rsOffset; $insert{"j${j}c59"} = sprintf "-:G:D:-:01 %s LDS.64 j%dBx6, [readBs + 4x<%d*128 + 66>];\n", $rsPred, $nOdd, $rsOffset; $insert{"j${j}c23"} = sprintf "-:G:D:-:01 %s LDS.64 j%dAy0, [readAs + 4x<%d*128 + 00>];\n", $rsPred, $nOdd, $rsOffset; ...
CSS
active_time_format_0="%dని", active_time_format_1="%dగం", active_time_format_2="%dగం %dని", activie_run_format_0="%s పరిగెత్తారు. అభినందనలు!", activie_run_format_1="%s పరిగెత్తారు. మీరు బాగా పరిగెడుతున్నారు!", activie_run_format_2="%s పరిగెత్తారు.", activie_run_consumed="Burned %dcal. %s", ...
Lua
_cmd(UaContext* ua, const char* cmd); static bool DotHelpCmd(UaContext* ua, const char* cmd); static bool MemoryCmd(UaContext* ua, const char* cmd); static bool MountCmd(UaContext* ua, const char* cmd); static bool noop_cmd(UaContext* ua, const char* cmd); static bool ReleaseCmd(UaContext* ua, const char* cmd); static ...
C++
* tmp1 * tmp1; let res0 = minor0 * det; let res1 = minor1 * det; let res2 = minor2 * det; let res3 = minor3 * det; let mut m = m; m[0] = res0.to_array(); m[1] = res1.to_array(); m[2] = res2.to_array(); m[3] = res3.to_array(); Some(Matrix4x4(m)) } #[cfg(test)] #[rustfmt::ski...
Rust
t"] #live-view:fullscreen h2 { color: #111; } body[data-theme="light"] #live-view:fullscreen .live-preset-title { color: #111; } body[data-theme="light"] #live-view:fullscreen .cell { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.18); } body[data-theme="light"] #live-view:fullscreen .label, body[data-theme="...
CSS
Rica', 9.3920, -84.1307, 'America/Costa_Rica'), City('San Juan, Puerto Rico', 18.4655, -66.1057, 'America/Puerto_Rico'), City('St. Thomas, U.S. Virgin Islands', 18.3358, -64.8963, 'America/St_Thomas'), City('Virgin Gorda, British Virgin Islands', 18.4861, -64.4419, 'America/Tortola'), City('St. Barts', 17.9000...
Dart
кентавров и отдайте Фелгуру Бью-Двоих."; ["name"] = "Награда за кентавров"; }; [1370] = { ["objective"] = "Принесите 6 мешков недосушенного мяса в деревню Гелкис и отдайте Уте Мудрой."; ["name"] = "Похищение припасов"; }; [1374] = { ["objective"] = "Принесите голову вождя Джена Уте Мудрой в ...
Lua
0685D4 000653D4 7C 08 02 A6 */ mflr r0 /* 800685D8 000653D8 C8 42 84 50 */ lfd f2, lbl_805DEB50@sda21(r2) /* 800685DC 000653DC 90 01 00 84 */ stw r0, 0x84(r1) /* 800685E0 000653E0 C8 22 84 58 */ lfd f1, lbl_805DEB58@sda21(r2) /* 800685E4 000653E4 93 E1 00 7C */ stw r31, 0x7c(r1) /* 800685E8 000653E8 7C FF 3B 78 *...
Assembly
.blog-card--right { flex-direction: column; align-items: flex-start; } } @media (max-width: 767px) { .blog-card--right { flex-direction: column; align-items: flex-start; } } .blog-card--right .blog-card__image { margin-bottom: 0; } .blog-card--right .blog-card__content { padding: 0; } @media...
CSS
): HttpServletRequest { val request = Mockito.mock( HttpServletRequest::class.java ) if (username != null) { Mockito.`when`(request.getHeader(Mockito.eq(Authentication.AUTHENTICATION_USERNAME))).thenReturn(username) } if (password != null) { ...
Kotlin
border-radius: 1000px; -moz-border-radius: 1000px; -o-border-radius: 1000px; } .q_circles_holder .q_circle_inner2 i, .q_circles_holder .q_circle_inner2, .q_circles_holder .q_circle_inner2 .q_text_in_circle { -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: a...
CSS
Person | schlendern | schlurfen | wandern Mann | Männersymbol | Symbol | Zeichen ', hasSkinTone: true), Emoji('🚶‍♀️', 'Fußgänger | Fußgänger(in) | Fußgängerin | gehen | gehend | Person | schlendern | schlurfen | wandern Frau | Frauensymbol | weiblich | Zeichen ', hasSkinTone: true), Em...
Dart
usb_get_pollfds( ctx, ); } late final _libusb_get_pollfdsPtr = _lookup< ffi.NativeFunction< ffi.Pointer<ffi.Pointer<libusb_pollfd>> Function( ffi.Pointer<libusb_context>)>>('libusb_get_pollfds'); late final _libusb_get_pollfds = _libusb_get_pollfdsPtr.asFunction< ffi...
Dart
.0); assert_relative_eq!(c2.z(), 0.0); assert_relative_eq!(c2.Y(), 1.0); } #[test] #[should_panic] fn test_neg_set_panic() { let mut c1 = XyY::new(0.2, 0.3, 0.9); c1.set_y(-0.3); } #[test] #[should_panic] fn test_too_high_set_panic() { let mut c1...
Rust
height); // let rgb = nannou::color::IntoLinSrgba::into_lin_srgba(spacebrush.col()); // float_delaunay.insert(Vertex { // position: [spacebrush.pos.x, spacebrush.pos.y, 0.0], // color: [rgb.red, rgb.blue, rgb.green, rgb.alpha], // }); // th...
Rust
iz[2]<GetMinZSol() || rphiz[2]>GetMaxZSol() || rphiz[0]>GetMaxRSol()) {for (int i=3;i--;) b[i]=0; return;} b[0] = b[1] = b[2] = 0; fieldCylindricalSolenoid(rphiz, b); } /// Converts field in cylindrical coordinates to cartesian system, point is in cyl.system inline void MagneticWrapperChebyshev::cylindricalToCarte...
C
nsions(); float num2 = dimensions.Width + 1f; Vector2 vector2 = new Vector2(dimensions.X, dimensions.Y); Vector2 baseScale = new Vector2(0.8f); Color baseColor = Color.Lerp(this.IsMouseHovering ? Color.White : Color.Silver, Color.White, this.IsMouseHovering ? 0.5f : 0.0f); Color color = th...
C#
�� **2025-09-13**: The Boeing defense workers strike will still be ongoing on 2025-09-30 (no ratified agreement announced by that date). (Confidence: 57%) ⏳ **2025-09-12**: University of Michigan 5-year inflation expectations (prelim) for September 2025 will be between 2.8% and 3.1%, reported on 2025-09-13. (Confidenc...
Markdown
document.querySelector('#topUi'); } @override Element getUIElement(String selectors) => _ui.getShadowDomElement(selectors); // Dialogs are located inside <spark-polymer-ui> shadowDom. @override Element getDialogElement(String selectors) => _ui.getShadowDomElement(selectors); @override Dialog c...
Dart
ChatRoomManager(roomContext, waitingRoomManager); return _chatRoomManager!; } ValueNotifier<int>? _memberTotalCountNotify; final _meetingBarrageHelper = MeetingBarrageHelper(); final _emojiResponseHelper = EmojiResponseHelper(); final _handsUpHelper = HandsUpHelper(); ValueListenable<int> get member...
Dart
} cfg, ok = scm[bound.Source] // ok == false means we have got source bound but there is no source config, this shouldn't happen if !ok { // this should not happen. return bound, cfg, 0, terror.ErrConfigMissingForBound.Generate(bound) } return bound, cfg, rev2, nil } return bound, cfg, 0, terror....
Go
Converter.doForward(map.get(key)) : defaultValue; } /** * <code>map&lt;uint32, .GCGDiceSideType&gt; HLOGPOGEMKE = 10;</code> */ @java.lang.Override public emu.grasscutter.net.proto.GCGDiceSideTypeOuterClass.GCGDiceSideType getHLOGPOGEMKEOrThrow( int key) {...
Java
) { for (method in requiredMethods) { val response = client(Request(method, baseUrl + "/" + method.name)) assertThat(response.status, equalTo(OK)) if (method == Method.HEAD) assertThat(response.body, equalTo(Body.EMPTY)) else assertThat(response.bodyString(), eq...
Kotlin
return { "stevearc/oil.nvim", opts = {}, dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() vim.keymap.set("n", "-", "<CMD>Oil<CR>") -- Esc to close -- vim.keymap.set("n", "<ESC>", function() -- oil.close() -- end) require("oil").setup({ default_file_explorer = true, columns ...
Lua
etOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=i,l._l=n,l._i=e,l._f=t,l._strict=r,(s=new w(gt(Dt(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function At(e,t,...
JavaScript
b(13,"lock"),r(),h(14,"input",8),r(),m(15,"div",9),h(16,"input",10),r()()()()),i&2&&(s(5),E("formGroup",d.myForm),s(5),u(10,d.isValidField("email")?10:-1))},dependencies:[J,Z,Ze,Ye,Xe,Qe,$,$e],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0;box-sizing:border-box}body[_ngcontent-%COMP%]{background:#1abc9c;overflow:hidd...
JavaScript
red_power); ESP_LOGI(DEMO_TAG, "RSSI of packet: %d dbm", scan_result->scan_rst.rssi); } break; default: break; } break; } case ESP_GAP_BLE_SCAN_STOP_COMPLETE_EVT: if ((err = param->scan_stop_cmpl.status) != ESP_BT_STATUS_SUCCES...
C
xcc.XE_LISTBOX_SELECT, onXE_LISTBOX_SELECT, pFun, allowAddingMultiple...) } // onXE_LISTBOX_SELECT 列表框项选择事件. func onXE_LISTBOX_SELECT(hEle int, iItem int32, pbHandled *bool) int { cbs := xc.EleEventHandler.GetCallBacks(hEle, xcc.XE_LISTBOX_SELECT) var ret int for i := len(cbs) - 1; i >= 0; i-- { if cb, ok := cbs[...
Go
/* * Copyright (c) 2010-2012 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file ex...
C
one: download_codeplug(dfu, firmware) print('Write complete') elif sys.argv[1] == 'sign': filename = sys.argv[2] f = open(filename, 'rb') firmware = f.read() f.close() data = dfu_suffix...
Python
function on_activate(parent, ability) local targets = parent:targets() local targeter = parent:create_targeter(ability) targeter:set_selection_radius(ability:range()) targeter:set_free_select(ability:range()) -- targeter:set_free_select_must_be_passable("1by1") if parent:ability_level(ability) > 1 then ...
Lua
------------------- // %%Function: MetaDataGetDispenser // This function gets the Dispenser interface given the CLSID and REFIID. // Exported from coreclr and used by external profilers. // --------------------------------------------------------------------------- STDAPI DLLEXPORT MetaDataGetDispenser( // Return HRES...
C++
9::ChannelSettings::CH4SET as u8, ads1299::BIAS_DRN | ads1299::Gain::X1 as u8, ) .map(map_status)?; self.wreg( ads1299::ChannelSettings::CH5SET as u8, ads1299::BIAS_DRP | ads1299::Gain::X1 as u8, ) .map(map_status)?; self.wreg( ...
Rust
oidTags[h] = true end end)([[ area base br col embed hr img input link meta param source track wbr ]]) local default500 = [[<!doctype html><title>{%& status %} {%& reason %}</title> <h1>{%& status %} {%& reason %}</h1> {% if message then %}<pre>{%& message %}</pre>{% end %}]] --[[-- route path generation --]]-- loc...
Lua
break; /* */ default: /* 2763 */ throw new IllegalStateException("Internal ICU error in resolveImplicitLevels"); /* */ } /* */ /* */ } /* */ } /* 2768 */ if ((limit == this.length) && (this.epilogue != null)) { /* 2769 */ byte fi...
Java
blush | zu etwas werden, sich zu etwas veranlassen; z. B. pal´ blass — palíĝérblassen; sidśitzen — sidíĝśich setzen | длаться чмъ нgбудь, заставgть себя...; напр. pal´ блдный — palíĝ´ блднть; sid´ сgдть — sidíĝ´ ссть | stawać się czemś; np. pal´ blady — palíĝ´ blednąć; sidśiedzieć — sidíĝúsiąść. iĥtiokolćolle de p...
Markdown
-ui-typography-h1: 2.75rem; --ui-typography-h2: 2.1875rem; --ui-typography-h4: 1.4375rem; /* MARGIN */ --ui-typography-margin-heading: 1rem; --ui-typography-margin-body : 1.75rem; /*---------------------------------------------------------- | | LAYOUT | ---------------------...
CSS
ed * a bogus value and set DL to 0x80, since this is the only * possible boot drive. If GRUB is installed into a floppy, * this does nothing (only jump). */ boot_drive_check: jmp 1f testb $0x80, %dl jnz 1f movb $0x80, %dl 1: /* * ljmp to the next instruction because some bogus BIOSes * jump to 07C0:...
Assembly
tingHandler(bool dropChannelActive) { this.dropChannelActive = dropChannelActive; } public override void ChannelActive(IChannelHandlerContext context) { if (!dropChannelActive) { context.FireChannelActiv...
C#
689)).toContainEqual(payment) }) it('should return undefined if payment does not exist', () => { expect(client.getPayment(-1)).toBe(undefined) }) it('should contain payment added', () => { client.addPayment(newPayment) expect(client.getPayments(17689)).toContainEqual(newPayment) }) it('should de...
Typescript
from django.contrib import admin from .models import NamesWoman, NamesMan admin.site.register(NamesWoman) admin.site.register(NamesMan)
Python
_pathManager); await excelObject.CreateExcelFileForUsersAsync(filePath, request.DepartmentId); var downloadUrl = _pathManager.GetRootUrlByPath(filePath); return new StringResult { Value = downloadUrl }; // const string fileName =...
C#
tiveAttributeWindowsDialogOrAlert}, ExpDirs: []ExpDir{ExpDirRight, ExpDirDown}}, {Width: 728, Height: 90, ID: "1234567893-2", Position: AdPositionAboveFold, BlockedAttrs: []CreativeAttribute{CreativeAttributeUserInitiated, CreativeAttributeWindowsDialogOrAlert}}, }, Placement: VideoPlacementInStream, APIs...
Go
0-alt .g-first, .g-tpl-300-alt .g-first { margin: 0; width: 300px; float: right; }body { background : black ; color : white ; font-family : arial, helvetica, sans-serif ; } td { font-family : arial, helvetica, sans-serif ; background : black ; color : white ; } center { font-family : arial, helvetica, sans...
CSS
d:0 0;transform:translateY(.4em)}.wj-viewer-menu>.wj-listbox-item .checkIcon{width:20px;margin-right:5px;visibility:hidden}.wj-viewer-menu>.wj-listbox-item.checked .checkIcon{visibility:visible}.wj-viewer-menu>.wj-listbox-item.hidden{display:none;visibility:hidden}.wj-viewer svg.wj-svg-btn,.wj-viewer-menu svg.wj-svg-bt...
CSS
""" INF601 - Advanced Programming in Python Sam Boutros Prof. Zeller FHSU - Fall 2022 11/1/2022 https://samsclass.info/124/proj14/VP100.htm """ # Find the eight-character Unicode code point for a capital Sigma, covered by a green box in the image below. """ for x in range(0, 0xfff+1): if chr(x).isprintable(): ...
Python
mo" language "C++" kind "WindowedApp" includedirs { "../RecastDemo/Include", "../RecastDemo/Contrib", "../RecastDemo/Contrib/fastlz", "../DebugUtils/Include", "../Detour/Include", "../DetourCrowd/Include", "../DetourTileCache/Include", "../Recast/Include" } files { "../RecastDemo/Include/*.h", ...
Lua
call("The quick bröwn föx", "(?<first_wörd>[^ ]+) ([^ ]+) (?<third_wörd>[^ ]+)", "n", { { "The quick bröwn", groups = { "The", "quick", "bröwn" }, named_groups = { ["first_wörd"] = "The", ["third_wörd"] = "bröwn" }, }, }) test_call("𝄞𝄞 𐐷", "(?<word>[^ ]+)", "ng", { { "𝄞𝄞", groups = { "𝄞𝄞" }, named_group...
Lua
ore_horiz), iconSize: 24 * scale), const VerticalDivider( width: 0, thickness: 2, indent: 10, endIndent: 10, ), Icon...
Dart
if 1=1 macro addpath if developerpath dc.b "c:\\\\utils\\\\devpac\\\\s\\\\tlktlk2\\\\diskdata\\\\" else dc.b "tlktlk2.d8a\\\\" endif endm else macro addpath if developerpath dc.b "c:\\utils\\devpac\\s\\tlktlk2\\diskdata\\" else dc.b "tlktlk2.d8a\\" endif endm endif macro...
Assembly
`A`, an identification `p : x = y` in `A` and two functions ```text f : B x → C x g : B y → C y. ``` Then the type of dependent identifications from `f` to `g` over `p` can be computed as ```text ((b : B x) → tr C p (f b) = g (tr B p b)) ≃ dependent-identification (x ↦ B x → C x) f g. ``` ```agda module _ ...
Markdown
:uppercase}.badgeStandard{background-color:#999}.badgePrimary{background-color:#ff5c00}.badgeSecondary{background-color:#5eab1f}.badgeTertiary{background-color:#cc2114}button{background:0;border:0}.btn{padding:.5em 1em;margin:0;display:inline-block;font-weight:normal;line-height:normal;font-size:14px;font-size:.875rem;...
CSS
gew\xE4hlten Men\xFCelements im Men\xFC.","Farbe eines Trenner-Men\xFCelements in Men\xFCs.","Hervorhebungs-Hintergrundfarbe eines Codeausschnitt-Tabstopps.","Hervorhebungs-Rahmenfarbe eines Codeausschnitt-Tabstopps.","Hervorhebungs-Hintergrundfarbe des letzten Tabstopps eines Codeausschnitts.","Rahmenfarbe zur Hervorh...
JavaScript
ull), MONSTERPROJECTILE)); put(-1879048038, PatchBoom.State.create(DEHState.create(-1879048163, 4, false, -1879048037, 4, 0, 0, new int[]{0, 0, 0, 0, 0, 0, 0, 0}, 1, null), null)); put(-1879048037, PatchBoom.State.create(DEHState.create(-1879048163, 5, false, -1879048036, 2, 0, 0, new int[]{35, 0, 0, 0, 0, 0, 0, ...
Java
6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*\])" #define REGEX_IPV4_ADDR ...
C++
#define _XOPEN_SOURCE 700 #include <stdint.h> #include <stdio.h> #include "mtest.h" static struct d_d t[] = { #include "sanity/y0.h" #include "special/y0.h" }; int main(void) { #pragma STDC FENV_ACCESS ON double y; float d; int e, i, bad, err = 0; struct d_d *p; for (i = 0; i < sizeof t/sizeof *t; i++) { p ...
C
length).toBe(2); expect(styles[1].trim()).toMatchInlineSnapshot(` "/* STITCHES */ ./*X*/_fMYPIB/*X*/{transition-property:margin-right;} ./*X*/_dkQnca/*X*/{transition-duration:2s;} ./*X*/_cYJUVx/*X*/{transition-timing-function:ease-in-out;}" `); }); test("should handle font shorthand...
Typescript
.hover-rotate { transition: transform 0.2s ease; } .hover-rotate:hover { transform: rotate(5deg); } .hover-scale { transition: transform 0.2s ease; } .hover-scale:hover { transform: scale(1.05); } /* 页面加载动画 */ .page-transition { transition: all 0.3s ease; } .page-enter { opacity: 0; transform: tran...
CSS
",0 dc.b " Ins (F10)rappelle ligne sauve",0 dc.b " garder Shift=autres lignes",0 dc.b " edit passe sous l'diteur",0 dc.b " system quitte l'interprteur",0 dc.b " loadb charge un fichier",0 dc.b " saveb sauve un fichier",0 dc.b " buf! efface texte dit",0 dc.b...
Assembly
n(tr("&SSB Demodulator"), this); connect(action, SIGNAL(triggered()), this, SLOT(createInstanceSSB())); m_pluginAPI->registerChannel("de.maintech.sdrangelove.channel.ssb", this, action); } PluginGUI* SSBPlugin::createChannel(const QString& channelName) { if(channelName == "de.maintech.sdrangelove.channel.ssb") { ...
C++
- Automation Policy (`automation_policy.yaml`) - Dependabot (pip + actions) - Release workflow (build + publish на PyPI по main через OIDC trusted publishing) - Makefile и PowerShell скрипт для Windows - VSCode задачи и настройки - ADR и архитектурная документация - Политика безопасности (SECURITY.md) ### Саамообучен...
Markdown
ml)** (from Google Research and the Toyota Technological Institute at Chicago) released with the paper [ALBERT: A Lite BERT for Self-supervised Learning of Language Representations](https://arxiv.org/abs/1909.11942), by Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, Radu Soricut." l...
Python
/w>\nthiru van\nsteve austin\nni azi</w>\ngg anu</w>\nem w</w>\nd itt\nbuff ering</w>\nam ma\nðŁĨ ķ\nwha aaat</w>\nvs gb</w>\nspe ight</w>\nre sis</w>\nm se\nj ho\nib aka</w>\nfro ot</w>\nevalon goria</w>\ndin klage</w>\nbio hazard</w>\nbeli a</w>\nac as</w>\nðŁij ķ\nÐ º</w>\ntw r</w>\nsysad min</w>\nsun burn\nrrrr rrrr...
JavaScript
import numpy as np from gym import spaces from rl.utils.vec_env import VecEnvWrapper class VecFrameStack(VecEnvWrapper): """ Frame stacking wrapper for vectorized environment :param venv: (VecEnv) the vectorized environment to wrap :param n_stack: (int) Number of frames to stack """ def...
Python
/* 800107C8 0000BD08 88 0B 00 09 */ lbz r0, 9(r11) /* 800107CC 0000BD0C 39 21 01 30 */ addi r9, r1, 0x130 /* 800107D0 0000BD10 88 AB 00 08 */ lbz r5, 8(r11) /* 800107D4 0000BD14 39 01 01 20 */ addi r8, r1, 0x120 /* 800107D8 0000BD18 7C 8B 02 14 */ add r4, r11, r0 /* 800107DC 0000BD1C 54 17 10 3A */ slwi r23, r0,...
Assembly
-picker__time-label { float: left; cursor: pointer; line-height: 30px; margin-left: 10px; } /** * Scrollbar Style */ /** * Variables */ /** * Default Variables */ /** * Mixins */ /* library */ /** * BEM Mixins * From https://github.com/alphasights/paint/blob/812fb33c54a50277071f547a3e191cf5fe4fcb3f/s...
CSS