for (var m = 0; m < oneList.length; m++) { $('#grid tr').find('td:eq('+oneList[m]+')').hide(); } 其中oneList里面存储的是指定列的列数,也就是列坐标 ...
分类:
Web程序 时间:
2020-11-07 16:39:59
阅读次数:
24
use think\Config; $config = Config::get('database2'); //读取第二个数据库配置 $connect = Db::connect($config); //连接数据库 $data = $connect->name('admin')->find(); / ...
分类:
数据库 时间:
2020-11-07 16:21:15
阅读次数:
22
1.需要先导入一个设置表结构 xxqcfg_mstr(用Data Administraton工具选择数据库导入) ADD TABLE "xxqcfg_mstr" AREA "CONTROL" DESCRIPTION "Config for xxqad program " DUMP-NAME "xxq ...
分类:
其他好文 时间:
2020-11-07 15:59:54
阅读次数:
19
上节课复习: ps aux | grep "T" kill -cont pid 今日内容: 1、hup信号 让进程脱离当前会话窗口session而运行: 原理一致是??? nohup setsid 在子shell中启动进程 screen 2、查看网络 3、proc文件系统 free lscpu 4、 ...
分类:
其他好文 时间:
2020-11-06 02:46:23
阅读次数:
25
Leetcode(easy Double pointer) Leetcode 双指针简单题目 26 删除排序数组中的重复项 class Solution{ public int removeDuplicates(int[] nums){ // step代表慢指针 int step = 0; // 这 ...
分类:
其他好文 时间:
2020-11-06 02:28:21
阅读次数:
24
题目: 字符串中有括号”()[]{}”,设计算法,判断该字符串是否有效括号必须以正确的顺序配对,如:“()”、“()[]”是有效的,但“([)]”无效 解法一: # coding=utf-8 from pythonds.basic.stack import Stack # 栈可以不用此包,入栈app ...
分类:
其他好文 时间:
2020-11-06 02:07:04
阅读次数:
20
cd ls pwd clear chmod chown chattr userdel groupadd vi wim cat more less mv cp rm rmdel touch ifconfig ip addr ping route echo wc expr bc ln head tail ...
分类:
其他好文 时间:
2020-11-04 19:25:23
阅读次数:
43
1906. 寻找比周围都大的点 给一个n*m大小的矩阵,寻找矩阵中所有比邻居(上下左右,对角也算,不考虑边界就是8个咯)都严格大的点。返回一个n*m大小的矩阵,如果原矩阵中的点比邻居都严格大,则该位置为1,反之为0。 样例 样例 1 输入: 1 2 3 4 5 8 9 7 0 输出: 0 0 0 0 ...
分类:
其他好文 时间:
2020-11-04 18:35:41
阅读次数:
14
#菜单模块 ##Controller package com.atguigu.atcrowdfunding.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired ...
分类:
其他好文 时间:
2020-11-02 10:21:42
阅读次数:
24
k8s故障处理6443是Kubernetes集群APIServer的端口,因此猜测是APIServer挂掉了,因此查看正在运行的进程$ps-aux|grep"kube"发现果然没有有关的进程,因此重启相关的服务systemctlrestartkube-apiserver启动失败kubelet.service失败,用journalctl-xefukubelet搜索报错日志可以看到
分类:
其他好文 时间:
2020-11-02 10:07:54
阅读次数:
27