• 2024-07-01xlua 原理浅析(Wrap文件形式)
    对xluaCSharpCallLua和LuaCallCSharp以Wrap文件注册形式的大致流程梳理。废话不多说,我们要提出两个问题C#是如何调用lua的lua是如何调用C#的前置知识资料lua参考手册https://cloudwu.github.io/lua53doc/manual.htmlxluahttps://github.com/Tencent/xLuaxlua源码
  • 2024-06-20Web应用课 2.4 CSS——flex、响应式布局
    flex布局主轴方向flex-directionCSSflex-direction属性指定了内部元素是如何在flex容器中布局的,定义了主轴的方向(正方向或反方向)。/*文本排成行的方向*/flex-direction:row;/*类似于<row>,但方向相反*/flex-direction:row-reverse;/*文本排成列的方向*/f
  • 2024-06-19软工日报4.17
    今日,我主要负责实现应用中的登录注册功能。然而,在开始编码之前,我发现了一个关键的问题——数据库中的用户表尚未建立。因此,我首先决定先创建这个用户表,以支持后续的登录注册操作。在创建用户表时,我考虑了用户所需的基本信息,如用户名、密码(通常我们会存储密码的哈希值而非明文密
  • 2024-06-166.1
    今日总结今日适合敲代码学习时间好久请看代码<?xmlversion="1.0"encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.
  • 2024-06-16CV_WRAP和CV_EXPORTS_W
    CV_EXPORTS_Wisdefinedinmodules/core/include/opencv2/core/types_c.hasaliasforCV_EXPORTS,CV_EXPORTSisdefinedas:#if(definedWIN32||defined_WIN32||definedWINCE)&&definedCVAPI_EXPORTS#defineCV_EXPORTS__declspec(dllexport)#el
  • 2024-05-29request to https://registry.npm.taobao.org/cnpm failed, reason: certificate has expired
    换华为的,否则会出问题:cnpmconfgsetregistryhttps://mirrors.huaweicloud.com/repository/npm/npmERR!codeCERT_HAS_EXPIREDnpmERR!errnoCERT_HAS_EXPIREDnpmERR!requesttohttps://registry.npm.taobao.org/cnpmfailed,reason:certificatehasexpirednpmER
  • 2024-05-24flex弹性布局2
    /*当flex容器无法包裹住flex项目时我们可以通过一些调整来实现包裹*//*允许换行,转为多行容器*/flex-wrap:wrap;/*主轴方向,也就是水平方向*//*flex-direction:row;是默认值也就是从左向右排列*//*flex-direction:row-reverse;表示从右向左排
  • 2024-05-24flex弹性布局及应用
    <!--flex的弹性布局--><template> <divclass="box">  <divclass="box1">1</div>  <divclass="box1">2</div>  <divclass="box1">3</div>  <divclass=&qu
  • 2024-05-13css-flex布局 space-between最后一行向左对齐
    首先我们实现的是如下图<template><divclass="father"><divclass="child"></div><divclass="child"></div><divclass="child"></div><divclass="child
  • 2024-04-25SSTI.
    SSTI晚上学长讲了ssti我好像要长脑子了..源于一道ssti的签到题sstissti:服务器端模板注入漏洞{为什么利用{{}}来执行ssti语句a=''.__class__.__base__.__subclasses__()‘’一个实例例如print('i')//打印字符串__class__类的内置属性,返回该实例的类型__base__
  • 2024-04-21微信小程序图----图片排列展示
    下面是我们需要实现内容的效果图 下面开始布置页面结构<viewclass="content-info-list"><viewclass="list-title">推荐歌曲</view><viewclass="list-inner"><viewclass="list-item"><image
  • 2024-04-172024.4.8
    <?xmlversion="1.0"encoding="utf-8"?><ScrollViewxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.androi
  • 2024-04-172024.4.7
    <?xmlversion="1.0"encoding="utf-8"?><ScrollViewxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.androi
  • 2024-04-152024.4.15学习记录
    锚点链接<ahref="#Cat"></a>点击这个链接将为跳转到这个页面上id为Cat的页面利用这个功能,我们可以实现给一个页面插眼的功能。比如我们想建一个动物园的网站<!--动物园导航栏--><header><ul><li><ahref="cat">Cats</a></li><li><ahref="d
  • 2024-04-141.Html、CSS
    HTMLdiv块状元素(独占一行)Span行H1-h6标题i斜体Strong加粗a超链接Img图片Video视频Textarea表单域(多行)Button按钮input输入框placeholder框内灰色提示字CSS上右下左margin外边距padding内边距word-wrap:break-word自动换行border边框solid实线、radius边框弧
  • 2024-04-05第三单元学校里所讲控件
    第三单元学校里所讲控件1.ImageView图片考点1:src和backgroundbackground是背景图片当设置长宽matchparentbackground会铺满而src不会,他会按原图的比例<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android&qu
  • 2024-03-24时间监听
    对每一个按钮设置事件监听考点:接口activity_main文件<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_height="match_parent"android:layout_width="
  • 2024-03-20| [0/8] Installing [email protected][npminstall:get] retry GET https://registry.npm.taobao.org/jwebdriver a
    昨天用开源项目UIRecorder初始化时报错,查看日志发现是淘宝的源证书过期,如下:PSE:\20231213\uirecorder\uirecorder_test>PSE:\20231213\uirecorder\uirecorder_test>uirecorderinit____________
  • 2024-03-17第二讲 布局
    第二讲布局重要:在安卓布局里有且只有一个根布局所以最外层只能有一个Layout但是内部可以嵌套多个类似于树!在activity_main.xml里面写布局线性布局元素按比重划分大小,注意标红的地方不能改1:1:2划分线性布局里面的控件只能水平摆或者垂直摆,看orientationhorizonta水平ver
  • 2024-03-11vscode-verilble
    参数名称说明默认值--column_limit目标行长度限制,用于指定格式化后的代码每行的最大字符数100--indentation_spaces每个缩进级别增加的空格数2--line_break_penalty每引入一行换行符的惩罚值2--over_column_limit_penalty超出列限制的基线惩罚值,超出此
  • 2024-03-01NPM install报错certificate has expired
    Installfail!Error:certificatehasexpiredError:certificatehasexpiredatTLSSocket.onConnectSecure(_tls_wrap.js:1515:34)atTLSSocket.emit(events.js:400:28)atTLSSocket._finishInit(_tls_wrap.js:937:8)atTLSWrap.ssl.onhandshakedone(_
  • 2024-02-29Fop xsl wrap-option 不生效,fop版本1.1
    1.问题描述及原因昨天遇到了一个问题,打印的内容如果超过了宽度,有的会自动换行,有的不会,调查后发现,未自动换行的使用了,keep-together="always"属性导致的。 2.解决方案方案1.添加属性故在需要换行的fo:block中添加了keep-always="auto",此时问题解决。 https://www.w3.o
  • 2024-02-282.07
    <?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"
  • 2024-02-22安卓家庭记账本开发笔记5(补2月1日)
    完成自定义软键盘的编写以及软键盘上面的备注和时间在记录页面的代码底下加上下面的代码<android.inputmethodservice.KeyboardViewandroid:id="@+id/frag_record_keyboard"android:layout_width="match_parent"android:layout_height="wrap_content"
  • 2024-02-21Go - wrap an error