上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 118 下一页
摘要: 背景 通过ubuntu官方apt安装工具安装的node是最新LTS版本的,而本人是个有点强迫症的人,喜欢追求新的东西,也就是想方设法想要去安装最新版本的node,所以本文也就产生了,附上ubuntu安装node和npm的命令行命令: 最新版本安装方法 1、安装npm 2、升级npm为最新版本 此时通 阅读全文
posted @ 2018-05-01 13:03 NAVYSUMMER 阅读(297) 评论(0) 推荐(0)
摘要: 在github新建了一个空的库,然后到本地文件夹下,git init了一下,将remote和本地的关联起来了,然后git pull了一下,本地的项目源码全没了,用以下命令可以帮你恢复 git reflog: 查看历史提交 git reset --hard id 阅读全文
posted @ 2018-04-25 13:44 NAVYSUMMER 阅读(275) 评论(0) 推荐(0)
摘要: 错误一: 1 使用 2 3 $ git push -u origin master 4 出现如下错误: 5 6 error: src refspec master does not match any. 7 error: failed to push some refs to 'git@github 阅读全文
posted @ 2018-04-22 15:38 NAVYSUMMER 阅读(331) 评论(0) 推荐(0)
摘要: 1.首先安装jdk: sudo apt install java 结果: [root@controller bin]# java -version openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-b11 阅读全文
posted @ 2018-04-16 18:43 NAVYSUMMER 阅读(216) 评论(0) 推荐(0)
摘要: 由于centos7原本就安装了Python2,而且这个Python2不能被删除,因为有很多系统命令,比如yum都要用到。 [root@VM_105_217_centos Python-3.6.2]# python Python 2.7.5 (default, Aug 4 2017, 00:39:18 阅读全文
posted @ 2018-04-16 17:31 NAVYSUMMER 阅读(110) 评论(0) 推荐(0)
摘要: 1 from bs4 import BeautifulSoup 2 import requests 3 import sys 4 5 class Zabbix(object): 6 def __init__(self, headers): 7 self.session = requests.Sess 阅读全文
posted @ 2018-04-16 16:31 NAVYSUMMER 阅读(306) 评论(0) 推荐(0)
摘要: 1 from bs4 import BeautifulSoup 2 import requests 3 4 class Zabbix(object): 5 def __init__(self, headers): 6 self.session = requests.Session() 7 self. 阅读全文
posted @ 2018-04-16 15:30 NAVYSUMMER 阅读(1069) 评论(0) 推荐(0)
摘要: 1 from selenium import webdriver 2 dirver = webdriver.Firefox() 3 dirver.get('https://music.douban.com/') 4 for i in dirver.find_elements_by_css_selec 阅读全文
posted @ 2018-04-12 15:57 NAVYSUMMER 阅读(1242) 评论(0) 推荐(0)
摘要: 前言: 以下内容根据zabbix 3.2官方文档总结:https://www.zabbix.com/documentation/3.2/manual/api 此文档只是简单的介绍API的基本使用,关于一些完整功能或高级功能将在后续的博文中展现 调用Zabbix api使用的是HTTP的POST请求方 阅读全文
posted @ 2018-04-10 14:03 NAVYSUMMER 阅读(791) 评论(0) 推荐(0)
摘要: 在使用VScode编辑器vue开发过程中,v-for在Eslint的规则检查下出现报错:Elements in iteration expect to have ‘v-bind:key’ directives Eslint规则检查显示如下: 报错信息如下: [eslint-plugin-vue] [ 阅读全文
posted @ 2018-03-30 15:51 NAVYSUMMER 阅读(438) 评论(0) 推荐(0)
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 118 下一页
交流群 编程书籍