git安装 1. 检查apt包是否最新 $sudo apt-get update -y 2. 安装git $sudo apt install git Reading package lists... Done Building dependency tree Reading state inform ...
分类:
Web程序 时间:
2020-07-12 01:09:19
阅读次数:
96
目录 1. 单例模式 1.饿汉式 2.懒汉式 2. 工厂设计模式 1. 普通工厂模式 2. 多个工厂方法模式 3. 静态工厂方法模式 3. 建造者模式 4. 适配器设计模式 1. 类的适配器模式: 2. 对象的适配器模式 3. 接口的适配器模式 5. 装饰模式 6. 策略模式 7. 代理模式 1. ...
分类:
编程语言 时间:
2020-07-11 23:04:22
阅读次数:
78
Intro Yeah I know sometimes, things may not always make sense to you right now [^1] [^1]: Hailie and Laney (Eminem’s daughters) are, at this point in ...
分类:
其他好文 时间:
2020-07-11 22:57:33
阅读次数:
126
DjangoRestFramework开发实践 在这之前我写过一篇关于Django与Drf快速开发实践的博客,Django快速开发实践:Drf框架和xadmin配置指北,粗略说了一下Drf配置和基本使用,不过里面只是涉及到最基本的CRUD,在正常的后端开发中涉及的诸如认证和权限、消息队列、缓存之类的 ...
分类:
其他好文 时间:
2020-07-11 22:47:55
阅读次数:
56
1.DR/BDR 1.1 采用默认的NBMA,同时HUB设备(R1)成为DR,路由完整,路由的下一跳是分支的IP地址,但是由于分支间没有地址映射,所以无法通信 dis fr map-info 1.2 采用广播,自动发现邻居,照样要使得R1成为DR [R4-Serial1/0/0]dis ip rou ...
分类:
其他好文 时间:
2020-07-11 22:42:42
阅读次数:
74
给定一个数组 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合。 candidates 中的每个数字在每个组合中只能使用一次。 说明: 所有数字(包括目标数)都是正整数。 解集不能包含重复的组合。 示例 1: 输入: cand ...
分类:
其他好文 时间:
2020-07-11 21:11:18
阅读次数:
43
classmethod class Classmethod: def __init__(self,func): self.func=func def __get__(self, instance, owner): def test(*args,**kwargs): return self.func( ...
分类:
其他好文 时间:
2020-07-11 19:44:00
阅读次数:
64
本系列主要关于Jenkins-CI实操记录与问题解决方案 概述 采用的环境以VMware中的虚拟机Cento610为基准,以Jdk1.8.0_231、mvn3.3.9、dotnetcore2.1/2.2/3.0/、git、svn作为基础环境,以java应用、dotnetcore两大方向进行就开发中的 ...
分类:
其他好文 时间:
2020-07-11 19:24:42
阅读次数:
72
供应商原生开发套件,Vendor Native Development Kit,简称VNDK. 问题引发:vndksupport:Could not load demo.so from default namespace:dlopen failed: library “libstdc++.so” n ...
分类:
移动开发 时间:
2020-07-11 14:21:21
阅读次数:
166
Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. Th ...
分类:
其他好文 时间:
2020-07-11 12:41:31
阅读次数:
54