private void txtMaxCount_TextChanged(object sender, EventArgs e) { //替换非数字 this.txtMaxCount.Text = Regex.Replace(this.txtMaxCount.Text, @"[^\d]*", "") ...
因为某种应用场景我需要将特定目录下的txt文件进行清理,核心命令如下: find 目录 -name '*.txt' -type f -print -exec rm -rf {} \; 例如: find /home/tech/data_log -name '*.txt' -type f -print ...
分类:
系统相关 时间:
2021-06-05 17:53:08
阅读次数:
0
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Data.SqlClient; 6 using System. ...
一、数组扁平化 有数组:let arr = [[2, 3, 1],[4, 3, 6, 5],[6, 2, 4, 9, [4, 11, 12, [12, 13, [10], 15]]], 20]1. reduce //若值为数组则递归遍历,否则concat function flatten(arr) ...
分类:
编程语言 时间:
2021-06-05 17:40:20
阅读次数:
0
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Data.SqlClient; 6 using System. ...
分类:
其他好文 时间:
2021-06-05 17:38:06
阅读次数:
0
? 1 训练时 model = Word2Vec(x, size=250, window=5, min_count=5, workers=12, iter=10, sg=1) 这句代码一直报错 查了发现 size和iter依然是时代的眼泪了。改成下面 model = Word2Vec(x, vect ...
分类:
其他好文 时间:
2021-06-04 19:54:36
阅读次数:
0
还是老规矩,QScopedPointer概念性的东西我就不赘述了,网上百度一抓一大把。 这里主要用实际的例子来说明一下QScopedPointer这个智能指针中data()和take()的用法,这里面是有坑的。 我们先来说一下data()和take()分别表示的是什么意思? 首先你可以把QScope ...
分类:
其他好文 时间:
2021-06-04 19:48:15
阅读次数:
0
<template> <el-table :data="tableData2" style="width: 100%"> <el-table-column prop="address" label="地址" :render-header="renderHeader"> <!--渲染render事件 ...
分类:
其他好文 时间:
2021-06-04 19:42:04
阅读次数:
0
namespace TestQuestionaire { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void bt_ok_Click(object sender, Eve ...
[Vue warn]: Property "visible" must be accessed with "$data.visible" because properties starting with "$" or "_" are not proxied in the Vue instance t ...
分类:
其他好文 时间:
2021-06-04 19:40:27
阅读次数:
0