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
1 请求和响应 1.1 Request REST framework 传入视图的request对象不再是Django默认的HttpRequest对象,而是REST framework提供的扩展了HttpRequest类的Request类的对象。 REST framework 提供了Parser解析器 ...
分类:
其他好文 时间:
2020-07-09 00:43:35
阅读次数:
70
C:\WINDOWS\system32>npm install vue-cli -g npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm W ...
分类:
其他好文 时间:
2020-07-06 12:56:06
阅读次数:
289
#!/bin/bashsrc=/test/dest=testrsync_secret_file=/etc/rsync_pwdfiledest_ip=192.168.37.133user=test/usr/local/bin/inotifywait -mrq --format '%Xe %w %f' ...
分类:
其他好文 时间:
2020-06-30 18:56:32
阅读次数:
44
1 protected static string DecryptAes(string input, string key) 2 { 3 var encryptedBytes = Convert.FromBase64String(input); 4 5 byte[] pwdBytes = getKe ...
分类:
编程语言 时间:
2020-06-22 19:16:36
阅读次数:
91
前言在一开始基础面的时候,很多面试官可能会问List集合一些基础知识,比如:ArrayList默认大小是多少,是如何扩容的?ArrayList和LinkedList的底层数据结构是什么?ArrayList和LinkedList的区别?分别用在什么场景?为什么说ArrayList查询快而增删慢?Arrays.asList方法后的List可以扩容吗?modCount在非线程安全集合中的作用?Array
分类:
其他好文 时间:
2020-06-18 19:06:07
阅读次数:
56
双指针 思路: 双指针覆盖多余重复项,一个指针i负责遍历,一个指针j负责要覆盖的重复项位置。 用count记录重复项的个数,则不用覆盖的情况是nums[i]==nums[j]并且count>2,那么需要覆盖的情况就是nums[i] != nums[j] 或者 count<=2,这里我们可以在nums ...
分类:
编程语言 时间:
2020-06-14 15:00:47
阅读次数:
63
Windows 程序原理 一,CPU的保护模式和windows操作系统 windows 是多任务实现 虚拟内存和 各个进程的地址空间安排:2G系统空间,2G用户空间,2G用户空间是各个进程私有的,很少被其他应用打断,保证系统稳定 内核模式和用户模式:虽然用户模式下是独立4G空间,但是内核模式的系统和 ...
1、卸载 [root@node1 ~]# rpm -qa|grep mariadb mariadb-5.5.56-2.el7.x86_64 mariadb-libs-5.5.56-2.el7.x86_64 mariadb-server-5.5.56-2.el7.x86_64 [root@node1 ...
分类:
数据库 时间:
2020-05-26 12:41:08
阅读次数:
92
[TOC] HTTP和HTTPS的区别 HTTP 的 URL 以 http:// 开头,而 HTTPS 的 URL 以 https:// 开头 HTTP 是不安全的,? HTTPS 是安全的 HTTP 标准端?是 80 ,? HTTPS 的标准端?是 443 在 OSI ?络模型中,HTTP ?作于 ...
分类:
Web程序 时间:
2020-05-14 22:15:54
阅读次数:
101