In this lesson, we create a set of tabs with Alpine JS, where only the content of the currently active tab is visible. To do this, we define an active ...
分类:
Web程序 时间:
2020-05-14 19:45:34
阅读次数:
73
转自 https://www.jianshu.com/p/5841df465eb9 我们来聊聊GZIPOutputStream 和 GZIPInputStream, 如果不关闭流会引起的问题,以及GZIPStream申请和释放堆外内存的流程, Let's do it! 引子 在我的工程里面又一个工具 ...
分类:
编程语言 时间:
2020-05-14 15:11:19
阅读次数:
92
while循环# 求1~100间奇数和num = 0my_num = 0while num < 100: if num % 2 == 1: my_num += num#乘积可以修改加号为乘号,上面的my_sum开始时改为1即可 num += 1print("1~100奇数求和:%d" % my_nu ...
分类:
编程语言 时间:
2020-05-14 13:26:24
阅读次数:
76
Share Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appe ...
分类:
其他好文 时间:
2020-05-14 11:11:27
阅读次数:
60
第一步先解压jar, 得到如下三个目录 依赖库位于:BOOT-INF\lib 下,此时我们发现大量jar文件,只能批量解压了。 批处理搞定: @echo off for %%I in (*.jar) do jar -xvf %%Ipause 解压后,利用findstr命令即可搜索特定字符串: fin ...
分类:
编程语言 时间:
2020-05-14 01:58:42
阅读次数:
120
P2949 [USACO09OPEN]Work Scheduling G 题目描述 Farmer John has so very many jobs to do! In order to run the farm efficiently, he must make money on the job ...
分类:
其他好文 时间:
2020-05-14 01:53:04
阅读次数:
115
1、显示占用系统内存最多的进程,并排序psaux--sout=-%mem2、编写脚本,使用for和while分别实现192.168.0.0/24网段内,地址是否能够ping通,若ping通则输出“success!”,若不通则输出“fail!”使用for循环:#!/bin/bashNETID=192.168.0forHOSTIDin{1..254};do{ping-c1-W1$NETID.$HOST
分类:
其他好文 时间:
2020-05-13 09:45:05
阅读次数:
71
Do the Real Thing May, 2020 | Comments | Share Success largely boils down to a simple distinction. It’s glaringly obvious once you see it, but also ea ...
分类:
其他好文 时间:
2020-05-13 09:41:28
阅读次数:
83
Abstract: What do you think about the question? Does the 64 bits always do better? The answer is NO. When we talk about 64 bit vs. 32 bit we mean two ...
分类:
其他好文 时间:
2020-05-12 20:12:53
阅读次数:
84
1.安装nginx依赖的程序 yum install gcc;yum install pcre-devel;yum install zlib zlib-devel;yum install openssl openssl-devel;2.下载nginx wget http://nginx.org/do ...
分类:
Web程序 时间:
2020-05-12 13:51:12
阅读次数:
69