* branch master -> FETCH_HEAD error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fa ...
分类:
数据库 时间:
2020-07-18 22:35:47
阅读次数:
88
在官网下载源码包 https://mirrors.edge.kernel.org/pub/software/scm/git/ 编译安装,此处演示2.27.0版本。 tar xf git-2.27.0.tar.gz cd git-2.27.0 yum install gcc zlib-devel.x8 ...
分类:
其他好文 时间:
2020-07-18 22:34:06
阅读次数:
133
1 什么是链表 link(链表)就是将自定义的结构体类型链接在一起,方便使用。就好比自定义类型的数组。 2 为什么需要链表 当想要申请自定义类型类似数组功能的时候就出现了 3 链表的数据结构 struct link{ int a; struct link* next; } 中间的next指针是核心功 ...
分类:
其他好文 时间:
2020-07-18 22:22:37
阅读次数:
73
# coding: utf-8 import arcpy class Toolbox(object): def __init__(self): """Define the toolbox (the name of the toolbox is the name of the .pyt file)." ...
分类:
编程语言 时间:
2020-07-18 22:16:15
阅读次数:
119
原题链接 题解 利用双指针算法,直接让后面一个指向前面一个 代码如下 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x ...
分类:
其他好文 时间:
2020-07-18 22:12:35
阅读次数:
56
一、下载源码包 1 官网下载 下载带有jdk的elasticsearch https://elasticsearch.cn/download/ 2 网盘下载 https://pan.baidu.com/share/init?surl=zmVDZLZ1KJyQUdQDgJwKPw 提取码:mtvl 3 ...
分类:
其他好文 时间:
2020-07-18 22:04:05
阅读次数:
95
全局Response对象和全局异常捕获和日志 1. 全局Response对象 from rest_framework.response import Response class APIResponse(Response): def __init__(self, code=100, msg='成功' ...
分类:
其他好文 时间:
2020-07-18 21:51:44
阅读次数:
72
前端编辑器 vscode:免费开源的现代化轻量级代码编辑器,支持大部分主流的开发语言的语法高亮、智能代码补全、自定义热键、代码对比DIFF、GIT等特性,支持插件扩展,软件跨平台支持Win、Mac以及Linux 其他:sublime、hbuilder、webstorm vscode安装地址:http ...
分类:
其他好文 时间:
2020-07-18 20:01:57
阅读次数:
81
根文件系统制作过程大致分为两步: 1)用busybox构建基本的框架 2)添加必要目录及文件,比如etc目录及目录中的配置文件 内核挂载根文件系统到进入命令行的过程: 1)内核找到根文件系统路径后,首先加载运行init参数指定的进程1,如init=/linuxrc,运行根文件系统中的/linuxrc ...
分类:
其他好文 时间:
2020-07-18 19:52:07
阅读次数:
80
前言 不管是在brew的安装过程还是升级更新过程中,国内的环境brew都会卡在这里 解决方案 cd /usr/local/Homebrew/Library/Taps/ mkdir homebrew cd homebrew git clone https://mirrors.ustc.edu.cn/h ...
分类:
其他好文 时间:
2020-07-18 16:07:56
阅读次数:
356