码迷,mamicode.com
首页 > 2019年12月08日 > 全部分享
linux的netstat查看端口是否开放见解(0.0.0.0与127.0.0.1的区别)
原文链接:https://www.cnblogs.com/lemon-flm/p/7396536.html linux运维都需要对端口开放查看 netstat就是对端口信息的查看 #netstat -nltp p查看端口挂的程序 看到 查询的有Local、Address、Foregin、Progra ...
分类:Web程序   时间:2019-12-08 10:41:40    阅读次数:125
计算机网络-OSI
计算机网络概述 局域网:覆盖范围小,一个机房里的机器通过一个接入层交换机和汇聚层交换机相连,机房里的网线不超过100米,接入层交换机与汇聚层交换机的网线长度也不超过100米,信号不会衰减,接入层交换机出去的数据宽带要大,如果接入的都是100M的端口,出去到汇聚层的端口就需要1000M的端口,这样构成 ...
分类:其他好文   时间:2019-12-08 10:41:25    阅读次数:104
redis分布式锁深度剖析
转自https://www.jianshu.com/p/d0caf5d99e56 redis分布式锁的实现主要是基于redis的setnx 命令(setnx命令解释见:http://doc.redisfans.com/string/setnx.html),我们来看一下setnx命令的作用: redi ...
分类:其他好文   时间:2019-12-08 10:41:13    阅读次数:82
爱上面试的凑弟弟--你再问我单例模式试试?
本系列博客以情景对话形式,用一个又一个的小故事或者编程实例来组织,对于实际开发尤其是面试中经常遇到的知识点进行深入探讨。 ...
分类:其他好文   时间:2019-12-08 10:40:59    阅读次数:84
第五周训练 | 二叉树+线段树
A - Binary Tree Traversals 记一个模板 #include<iostream> using namespace std; typedef struct Tree{ Tree *left; Tree *right; int value; }Tree; Tree *root; T ...
分类:其他好文   时间:2019-12-08 10:40:35    阅读次数:64
【leetcode】1275. Find Winner on a Tic Tac Toe Game
题目如下: Tic-tac-toe is played by two players A and B on a 3 x 3 grid. Here are the rules of Tic-Tac-Toe: Players take turns placing characters into empt ...
分类:Windows程序   时间:2019-12-08 10:40:21    阅读次数:113
java生成二维码
jsp代码 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePat ...
分类:编程语言   时间:2019-12-08 10:40:01    阅读次数:94
22.括号生成
题目: 给出 n 代表生成括号的对数,请你写出一个函数,使其能够生成所有可能的并且有效的括号组合。 例如,给出 n = 3,生成结果为: [ "((()))", "(()())", "(())()", "()(())", "()()()" ] 来源:力扣(LeetCode) 链接:https://l ...
分类:其他好文   时间:2019-12-08 10:39:44    阅读次数:94
排序机械臂
FHQ Treap解法 这道题当然用好写的fhq解决啦(~~其实是不会splay~~) 一开始, 感觉无法同时权值分裂又排名分裂 所以我按排名分裂, 维护子树最小值, 设计一个类似求第k大的函数, 找出区间最小值的位置 详见代码, 还是很好懂的(除get_rk函数, 其他部分和文艺平衡树一样) ...
分类:编程语言   时间:2019-12-08 10:39:27    阅读次数:98
Python中CSV模块
CSV csv文件格式是一种通用的电子表格和数据库导入导出格式。最近我调用RPC处理服务器数据时,经常需要将数据做个存档便使用了这一方便的格式。 简介 Python csv模块封装了常用的功能,使用的简单例子如下: # 读取csv文件 import csv with open('some.csv', ...
分类:编程语言   时间:2019-12-08 10:39:12    阅读次数:80
【leetcode】1276. Number of Burgers with No Waste of Ingredients
题目如下: Given two integers tomatoSlices and cheeseSlices. The ingredients of different burgers are as follows: Jumbo Burger: 4 tomato slices and 1 chees ...
分类:其他好文   时间:2019-12-08 10:38:57    阅读次数:73
MySQL 索引
转自:https://www.cnblogs.com/fengqiang626/archive/2019/09/04/11459434.html MySQL索引 目录 1.介绍 2.索引的原理 2.1索引原理 2.2索引的影响 2.3磁盘IO与预读 3.索引的数据结构 4.聚集索引与辅助索引 4.1 ...
分类:数据库   时间:2019-12-08 10:38:37    阅读次数:128
Python网络爬虫(上)
Python网络爬虫(上) 概述 预备知识 1、如何处理包含大量 JavaScript(JS)的页面以及如何处理登录问题 2、screen scraping(网页抓屏)、data mining(数据挖掘)、web harvesting(网页收割)、网页抓取、web crawler(网络爬虫)、bot ...
分类:编程语言   时间:2019-12-08 10:38:22    阅读次数:229
git公司远程提交
新入手git,差点搞崩溃,老是冲突 以下操作都在我本地master分支上进行 0. 先将代码copy保存到本地 1. git stash //缓存当前修改 2. git pull origin master //拉取远程主master分支内容 3. git stash pop //释放修改的内容 4 ...
分类:其他好文   时间:2019-12-08 10:37:50    阅读次数:99
Hadoop原生搭建
版本:(centos7.6) 在开始搭建平台前我已经预装了MySQL ps:MySQL创建用户并授权: 1 grant all privileges on *.* to 'root'@'localhost' identified by '123456' with grant option 好了,不多 ...
分类:其他好文   时间:2019-12-08 10:37:34    阅读次数:102
P1964 【mc生存】卖东西
P1964 【mc生存】卖东西 题解 很简单, 暴力 注意一个小点就好 代码 #include<iostream> #include<cstdio> #include<cstdlib> #include<algorithm> #include<cmath> #include<string> #inc ...
分类:其他好文   时间:2019-12-08 10:37:01    阅读次数:75
Couldn't find preset "es2015" relative to directory
在引入element-ui引发的问题,解决如下: 1.npm install babel-preset-es2015 --save-dev 2.修改.babelrc { "presets": [ ["es2015", { "modules": false }], ["env", { "modules ...
分类:其他好文   时间:2019-12-08 10:36:44    阅读次数:117
922条   上一页 1 ... 39 40 41 42 43 44 45 ... 55 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!