****打开 vim /etc/profile vim /etc/profile 追加配置 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))# and Bourne compatible shells (ba ...
分类:
系统相关 时间:
2019-12-22 18:48:13
阅读次数:
155
1、部署GitLab [root@ci-node03 ~]# wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-12.0.3-ce.0.el7.x86_64.rpm [root@ci-node03 ~]# yu ...
分类:
系统相关 时间:
2019-12-22 18:18:46
阅读次数:
82
设置淘宝镜像 (这一步可以省略) npm config set registry https://registry.npm.taobao.org global npm config set disturl https://npm.taobao.org/dist global1 然后安装完 yarn ...
分类:
其他好文 时间:
2019-12-22 18:10:27
阅读次数:
104
scrapy框架(三) CrawlSpider类 创建CrawlSpider # 创建项目后 $ scrapy genspider -t crawl spider_name website_domain ? url 就是你想要爬取的网址 注意:分析本地文件是一定要带上路径,scrapy shell默 ...
分类:
其他好文 时间:
2019-12-22 18:04:35
阅读次数:
74
#include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; ...
分类:
其他好文 时间:
2019-12-22 18:01:24
阅读次数:
76
今天使用npm安装插件时出现了以下错误: 经查,原因:现用执行策略是 Restricted(默认设置) 解决办法: 1.win+X键,使用管理员身份运行power shell 2.输入命令:set-executionpolicy remotesigned 3.输入”Y“,回车,问题解决。 ...
分类:
Web程序 时间:
2019-12-22 17:58:53
阅读次数:
1600
★题目描述 有n块长度不同的木板,他想用这些木板拼成一个等边三角形的围栏。 现在,给你这n块木板的长度,洪尼玛想知道他能否拼成这个围栏? 要求:n块木板都得用上。 ★输入格式 第一行为一个正整数T,表示有T组测试数据。 对于每组测试数据,第一行为一个正整数n,表示木板个数; 第二行包含n个正整数,表 ...
分类:
编程语言 时间:
2019-12-22 16:41:59
阅读次数:
95
输入命令adb devices 查看系统是否识别设备. List of devices attached 是没有识别到设备。 解决方案:添加真机设备硬件ID(注:这里手机必须要连接到电脑才会出现设备ID) 1、右击我的电脑,然后找到设备管理器打开。 2、找到设备(硬件)ID 3、D:\Program ...
分类:
数据库 时间:
2019-12-22 14:24:28
阅读次数:
283
原文链接https://www.cnblogs.com/sunmmi/articles/6709125.html shell 批量重命名 1.把文件名的第一字母批量改成a 方法一: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ...
分类:
系统相关 时间:
2019-12-22 14:22:09
阅读次数:
89