using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:
其他好文 时间:
2020-11-24 12:42:10
阅读次数:
9
关于isNaN() 判断是否是非数字(如果不是number类型,先隐式类型 转换成number类型,在判断是否非数字) 是非数字,返回true,不是非数字(是非数字 =》false) console.log(isNaN(100)); //false console.log(isNaN(100.55) ...
分类:
其他好文 时间:
2020-11-24 12:41:51
阅读次数:
10
HDU2030 汉字统计 题目链接 Problem Description 统计给定文本文件中汉字的个数。 Input 输入文件首先包含一个整数n,表示测试实例的个数,然后是n段文本。 Output 对于每一段文本,输出其中的汉字的个数,每个测试实例的输出占一行。 [Hint:]从汉字机内码的特点考 ...
分类:
其他好文 时间:
2020-11-24 12:06:56
阅读次数:
7
CONCATENATE '无权限' p_str INTO msg. p_str = |{ p_str1 }'啊'|. LEAVE TO TRANSACTION sy-tcode. SELECTION-SCREEN: BEGIN OF BLOCK b01 WITH FRAME TITLE TEXT-0 ...
分类:
其他好文 时间:
2020-11-24 12:05:51
阅读次数:
9
jboss 漏洞复现 服务探测 响应头的 X-Powered-By: 根据页面报错来判断 一些默认目录也可以判断一二 未授权访问Getshell 影响版本 Jboss 4.x 以下 漏洞复现 访问:http://192.168.64.129:8080/jmx-console/ 找到 jboss.de ...
分类:
Web程序 时间:
2020-11-23 12:25:54
阅读次数:
10
1、引入fs模块 const fs = require('fs'); 2、常用方法 1、fs.stat 检测是文件还是目录 检测文件or目录是否存在 检测是文件还是目录 fs.stat('./test.html',(err,data)=>{ if(err){ console.log(err); re ...
分类:
Web程序 时间:
2020-11-23 12:21:53
阅读次数:
12
#include "stdafx.h" #include <stdio.h> int main(int argc, char* argv[]) { char a,b,c,d,e; scanf("%c%c%c%c%c",&a,&b,&c,&d,&e); putchar(a); putchar(b); ...
分类:
其他好文 时间:
2020-11-23 12:14:20
阅读次数:
5
C# 中大端序与小端序 static void Main(string[] args) { uint value = 0x12345678; Console.WriteLine("原始字节序:0x12345678"); byte[] bigLittleEndian = BitConverter.Ge ...
Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity shou ...
分类:
编程语言 时间:
2020-11-21 12:37:58
阅读次数:
15
JS:关系运算符的隐式转化 JS:关系运算符的隐式转化 关系运算符 > 、 >= 、 1. 字符串,布尔值 和数字进行比较时,会先隐式的转化为数字类型,之后再比较 console.log("5" > 3); // true console.log(true == 1); // true consol ...
分类:
Web程序 时间:
2020-11-21 12:22:01
阅读次数:
17