When working with Web applications, use a context instance per request. Install-Package EntityFramework -Version using System.Data.Entity; public clas ...
分类:
其他好文 时间:
2020-07-16 11:45:43
阅读次数:
67
##基本查看 查看端口,得到连接端口为 0xd3d,转换后为 3389: REG QUERY "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /V PortNumber ...
解法:分情况:1、缺开头。 2、缺的元素在中间部位。 3、缺的元素在最后一个位置。 class Solution { public int missingNumber(int[] nums) { int len=nums.length; for(int i=1;i<len;i++){ if(nums ...
分类:
其他好文 时间:
2020-07-15 23:17:24
阅读次数:
73
In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking ascend ...
分类:
其他好文 时间:
2020-07-15 15:50:01
阅读次数:
61
var exp=undefinded; if(typeof(exp)=="undefined") { //变量是undefined的处理 } typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"、"function"、"undefined ...
分类:
编程语言 时间:
2020-07-15 15:38:30
阅读次数:
72
题目描述 给定一组非负整数,重新排列它们的顺序使之组成一个最大的整数。 示例: 输入: [10,2] 输出: 210 输入: [3,30,34,5,9] 输出: 9534330 说明: 输出结果可能非常大,所以你需要返回一个字符串而不是整数。 题目链接: https://leetcode-cn.co ...
分类:
编程语言 时间:
2020-07-14 21:51:01
阅读次数:
79
行列式使用如下性质定义 1 单位矩阵行列式值为 1,,对于任意单位矩阵均成立; 2 当矩阵交换一行后,行列式值改变符号,如置换矩阵的行列式值为 (根据行交换次数决定); 3 矩阵任意行线性变换导致行列式值产生线性变换: , ; 使用以上三条基本性质,可以推导更多性质: 4 如果矩阵两行相等,行列式值 ...
分类:
其他好文 时间:
2020-07-14 18:17:10
阅读次数:
100
一月份=JAN. Jan.=January 二月份=FEB. Feb.=February 三月份=MAR. Mar.=March 四月份=APR. Apr.=April 五月份=MAY May=May 六月份=JUN. Jun.=June 七月份=JUL. Jul.=July 八月份=AUG. Au ...
分类:
其他好文 时间:
2020-07-14 13:06:33
阅读次数:
757
字符串和字节数组String str = "罗长"; byte[] sb = str.getBytes();//字符串转字节数组byte[] b={(byte)0xB8,(byte)0xDF,(byte)0xCB,(byte)0xD9}; String str= new String (b);//字 ...
分类:
其他好文 时间:
2020-07-13 21:48:59
阅读次数:
61
视频的播放:在HTML5中定义了Video(视频)标签可用于实现视频的播放, 标签也可以在 HTML 页面中嵌入多媒体元素, 标签的也可以是在 HTML 页面中嵌入多媒体元素。在这里主要使用:Video标签实现视频播放: <video width="320" height="240" control ...
分类:
其他好文 时间:
2020-07-13 18:36:21
阅读次数:
88