ICode9

精准搜索请尝试: 精确搜索
  • 用vue写一个清单2021-11-04 20:03:11

    用vue写一个清单 清单功能 可以实现本地存储 有完成和未完成 可以增加删除 可以修改内容 html部分 <div id="app"> <div class="top"> <div> <label>ToDoList</label> <input type="text"placeholder="添加ToDo" v-model.trim="

  • 代码质量管理工具-SonarQube2021-11-04 01:00:06

    代码质量管理工具-SonarQube 一、前期准备 1.1 JDK 11.0安装 可参考JDK 1.8的安装教程:https://blog.csdn.net/weixin_41668084/article/details/111147667 1.2 PostgreSQL安装 参考链接:https://blog.csdn.net/weixin_41668084/article/details/113865237 注意:SonarQube 7.9起不

  • linux系统shell实现统计 plink文件基因频率2021-10-30 16:06:59

      1、 [root@centos79 test]# cat test.sh #!/bin/bash #step1 check consistence of columns temp1=`head -n 1 $1 | awk '{print NF}'` for i in $(seq `sed -n "$=" $1`) do temp2=$(sed -n "$i"p $1 | awk '{print NF}') if [ $

  • linux系统shell实现统计 plink文件基因频率2021-10-30 16:06:55

      1、 [root@centos79 test]# cat test.sh #!/bin/bash #step1 check consistence of columns temp1=`head -n 1 $1 | awk '{print NF}'` for i in $(seq `sed -n "$=" $1`) do temp2=$(sed -n "$i"p $1 | awk '{print NF}') if [ $

  • shell for2021-10-29 23:02:29

    工作中总是有很多工作需要重复性来完成,比如每天都需要执行一次备份、每天都需要分析一次业务的access.log日志,每分钟都需要监测一次主机的状态等等工作,这些重复性的工作我们一般都是使用脚本来完成,对于不需要频繁执行的任务,可以结合计划任务➕脚本完成,但是系统的计划任务只能精确

  • Iterator2021-10-26 15:34:31

    Itertator:遍历器(迭代器) const it=[1,2]Symbol.iterator; console.log(it.next()); //{value:1,done:false} console.log(it.next()) //{value:2,done:false} console.log(it.next()) //{value:1,done:true} 什么是Iterator Symbol.iterator(可遍历对象的生成方法)->it(可遍历对

  • Js Get 检测是否4042021-10-25 17:36:01

    $.get( "http://img12.360buyimg.com/n1/jfs/t1/207023/2/4302/290376/61613c6eEc2e68f8b/51c92e09054c4001.jpg", function() { debugger;alert( "success" );}) .done(function() { debugger;alert( "second success" ); }) .fail(fun

  • Git - GitLab - Jenkins - maven项目构建2021-10-24 23:03:02

    在上次实验的基础上,增加maven编译java过程 ------------------------------------------------------ 1> maven  插件- maven intergration -  修改maven镜像加速 [22:27:21 root@jenkins ~]#vim /etc/maven/settings.xml <mirrors> <!-- mirror | Specifies a repo

  • git出现OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054错误2021-10-24 17:05:48

    解决方案一:将https替换成git 第一次克隆的错误信息: Administrator@WIN-QIJ6CH8JVRR MINGW64 /f/BookProject $ git clone https://github.com/fenixsoft/microservice_arch_springcloud.git Cloning into 'microservice_arch_springcloud'... fatal: unable to access 'https:/

  • 毕业设计基于nodejs开发的电商购物商城系统.rar含源码项目2021-10-22 20:30:46

    本框架是基于nodejs express框架二次开发的,本框架包含数据库操作示例和注解。 适合nodejs入门学习或者nodejs开发人员开发中小型web项目。直接在命令窗口运行:npm start,就可启动程序!访问地址:http://127.0.0.1:3000/ nodejs数据库链接相关命令 sqlHelper.js //封装数据操作模块

  • shell中的for循环语句2021-10-22 15:03:48

    一:for语法 (1)语法一 for var in value1 value2 ...... do commands done  例1:直接赋值,循环输出1-9数字 for i in 1 2 3 4 5 6 7 8 9 do echo $i done  例2:命令赋值,循环输出1-9数字 for i in `seq 1 9` #seq是一

  • [Shell]For大括号{}2021-10-21 08:32:27

    1. Shell for循环跳跃不连续数 for i in {"172.15.7."{101..106},"172.15.7."{109..111},"160.168.103."{191..192}};do ssh ${i} "date";done # 进一步整合 for i in {"172.15.7."{{101..106},{109..111}},"160.168.103."{19

  • 循环遍历清理Kubernetes中异常的pod2021-10-20 13:33:58

    循环遍历清理异常的pod #!/bin/bash namespace=`kubectl get ns -o jsonpath="{.items[*].metadata.name}"` pod_status=("Evicted" "ImagePullBackOff" "ContainerCreating" "ErrImagePull" "ContainerCreating" "

  • 在命令行循环执行2021-10-19 09:34:08

    用watch命令,如:1秒定时执行ls命令。 watch -n 1 ls 用while do done语句,如:每隔1秒打印Hello world。 while true;do echo "Hello world";sleep 1;done

  • shell基本语法2021-10-19 09:05:56

    脚本以#!/bin/(指定解释器)通常以 #!/bin/bash 1.基本语法 1.定义变量: 变量=值 A=1 查看值echo A 2.撤销变量:unset 变量 3.声明静态变量:readonly B=3 注意,readon变量不能unset 2.变量定义规则 1.变量名称可以由字母,数字下划线组成,但不能以数字开头,环境变量建议大写 2.等号俩测不

  • 【cmake】B-hello-headers2021-10-18 23:04:00

        # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the project name project (hello_headers) # Create a sources variable with a link to all cpp files to compile set(SOURCES src/Hello.cpp src/main.cpp) # Add an executable with the above s

  • Shell学习(四):流程控制2021-10-17 18:33:41

    目录 一、if判断 1.基本语法 2.实例 二、case语句 基本语法 三、for循环 1.基本语法1 2.基本语法2 3.  实例 四、while循环  1.基本语法 2.  实例 一、if判断 1.基本语法         if [ 条件判断式 ];then           程序         fi        

  • 一、模块/包 与 CommonJS2021-10-12 16:34:54

    1、模块/包分类 Node.js 有三类模块,即内置的模块、第三方的模块、自定义的模块。 1.1 内置的模块 Node.js 内置模块又叫核心模块,Node.js安装完成可直接使用。如: const path = require('path') var extname = path.extname('index.html') console.log(extname) 1.2 第三方的N

  • ES6学习---迭代器的运用,自定义遍历数据--for of2021-10-10 15:00:07

    //声明一个对象 const banji = { name: "终极一班", stus: [ 'xiaoming', 'xiaoning', 'xiaotian', 'knight'

  • Linux 脚本:冒泡排序2021-10-10 08:33:36

    #!/bin/bash arr=(3 2 5 4 1) len=${#arr[@]} for i in $(seq 1 $len) ; do index=$(($len - $i - 1)) for j in $(seq 0 $index) ; do if [[ ${arr[j]} > ${arr[j+1]} ]]; then tmp=${arr[j]}

  • Linux查找当前目录下包含部分内容的文件,并且copy到指定路径的简单方法2021-10-08 21:02:45

    1 获取文件列表 find . -name "*.data" |xargs grep -i 'yearvariable' | uniq | awk '{print $1}' |cut -d : -f 1 2 将结果放置到一个txt 里面然后执行操作 注意 需要在当前目录下 for i in `cat 1.txt` ; do scp $i /root/20211008/ ; done 感觉还是比较简单的.

  • 迭代器2021-10-08 19:33:49

    嘿,hxd,你知道什么是迭代器吗?你知道迭代器有什么用吗?我就不知道,然后就有了它。

  • done 活久见美国航空白人毫无技术的面试2021-10-07 02:31:14

    Java优缺点,lambda优缺点,喜欢用什么ide,用过什么dev ops 合同工居然还问bq:自己当领导,完不成任务的经历 我说我北京人,他说好有趣哦。   这哥们在房子外面晒太阳?活久见 卧槽这种悠闲没技术又名声大的公司才是dream company好吗!    

  • linux shell 批量操作2021-10-06 00:03:01

    #! /bin/bash homework 1 create------ #- dir=/home/acs/homework/lesson_1/homework_0 for i in dir_a dir_b dir_c do >--- mkdir ${dir}/${i} done dir1=/home/acs/h

  • allegro 镂空铜皮1022021-10-05 18:33:01

    allegro    镂空铜皮102           鼠标有件done。    

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有