自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

转载 SSH登录很慢问题的解决方法

用ssh连其他linux机器,会等待10-30秒才有提示输入密码,严重影响工作效率。登录很慢,登录上去后速度正常,这种情况主要有两种可能的原因:注:ssh -v user@server 可以看到debug信息,能够获知当前阻塞在哪.1. DNS反向解析的问题OpenSSH在用户登录的时候会验证IP,它根据用户的IP使用反向DNS找到主机名,再使用DNS找到IP地址,最后匹配一下登录的IP是否...

2019-05-26 23:36:36 852

原创 [LeetCode-26]-Remove Duplicates from Sorted Array(从有序数组中删除重复元素)

文章目录题目相关Solution题目相关【题目解读】从有序数组中删除重复元素,并返回数组的长度。【原题描述】原题链接Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not alloc...

2019-05-26 23:21:56 166

原创 Safari不能浏览网页的一种解决方法

最近Safari不能浏览网页,不清楚是什么原因,尝试修改编码方式以及设置cookie,即如下方法,但是都不能解决问题:高级 — 默认编码 – utf-8cookie设置问题,「隐私」–> 「cookie」设置。后来尝试,选中「安全性」中的「启用JavaScript」,刷新Safari,问题解决,正常浏览网页。...

2019-05-20 22:43:31 4424

原创 [LeetCode-21]-Merge Two Sorted Lists(有序列表合并)

文章目录题目相关Solution题目相关【题目解读】合并两个有序列表,并返回新列表。【原题描述】原题链接Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.E...

2019-05-20 20:22:47 201

原创 [LeetCode-20]-valid parentheses (括号匹配)

文章目录题目相关Solution题目相关【题目解读】检查输入的括号字符串中的括号是否匹配【原题描述】原题链接Given a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.An input string is val...

2019-05-12 23:21:21 172

原创 [读论文]Adversarial Examples: Attacks and Defenses for Deep Learning

对抗样本:深度学习的攻击和防御内容来源于论文:Adversarial Examples: Attacks and Defenses for Deep Learning,发表在IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS。 论文地址:Adversarial Examples: Attacks and Defens...

2019-05-06 20:36:36 3710

原创 [LeetCode-14]-Longest Common Prefix (最长公共前缀)

文章目录题目相关Solution题目相关【题目解读】查找一个字符串数组的公共前缀。【原题描述】原题链接Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string “”....

2019-04-28 23:43:53 122

原创 [读论文]Delving into Transferable Adversarial Examples and Black-box Attacks

本文内容来源于论文:Delving into Transferable Adversarial Examples and Black-box Attacks论文地址:arxiv: 1611.02770非目标攻击方法约束条件:fθ(x⋆)≠yd(x,x⋆)≤B\begin{aligned} f_{\theta}\left(x^{\star}\right) & \neq y ...

2019-04-28 23:25:48 1341

原创 [LeetCode-13]-Roman to Integer (将罗马数字转换为整数)

文章目录题目相关Solution题目相关【题目】原题链接Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L ...

2019-04-21 23:10:21 198

原创 [LeetCode-09]-Palindrome Number (判断是否为回文数字)

文章目录题目相关Solution转换为字符串进行判断通过整数翻转判断题目相关【题目】原题链接Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: true...

2019-04-13 21:32:44 192

原创 [LeetCode-07]-整数翻转(Reverse Integer)

文章目录题目相关Solution总结题目相关【题目】原题链接Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21...

2019-04-13 20:59:04 187

原创 [LeetCode-03]-Longest Substring Without Repeating Characters

文章目录题目相关Solution每周完成一个ARTS:(Algorithm、Review、Tip、Share, ARTS)Algorithm: 每周至少做一个 leetcode 的算法题Review: 阅读并点评至少一篇英文技术文章Tip: 学习至少一个技术技巧Share: 分享一篇有观点和思考的技术文章题目相关【题目】原题链接Given a string, find th...

2019-04-07 22:40:03 209

原创 [LeetCode-02]-Add Two Numbers-性能极好

文章目录题目相关Solution1. 错误的解法2. 正确解法后记每周完成一个ARTS:(Algorithm、Review、Tip、Share, ARTS)Algorithm: 每周至少做一个 leetcode 的算法题Review: 阅读并点评至少一篇英文技术文章Tip: 学习至少一个技术技巧Share: 分享一篇有观点和思考的技术文章题目相关【题目】原题链接You ar...

2019-03-31 22:17:43 163

原创 全面介绍Python多版本管理工具-pyenv

文章目录Python多版本管理工具 -- pyenvpyenv介绍pyenv安装pyenv命令pyenv常见命令pyenv 和 virtualenv,anaconda有什么区别相关问题Python多版本管理工具 – pyenvpyenv介绍pyenv lets you easily switch between multiple versions of Python. It’s simp...

2019-03-24 16:43:02 361

原创 [LeetCode-01]-Two Sum

文章目录题目相关Solution1. 暴力求解2. 暴力求解方法改进3. 不可行的方案后记每周完成一个ARTS:(Algorithm、Review、Tip、Share, ARTS)Algorithm: 每周至少做一个 leetcode 的算法题Review: 阅读并点评至少一篇英文技术文章Tip: 学习至少一个技术技巧Share: 分享一篇有观点和思考的技术文章题目相关【题目...

2019-03-24 13:06:15 156

原创 修改CSDN博客上传图片大小、显示情况等操作

文章目录1. 如何更改CSDN上传图片大小2.图片并排显示参考1. 如何更改CSDN上传图片大小方法一:只显示原始大小![图片描述](简化的url只包含数字之前,例如,https://img-blog.csdn.net/20170715113106843)方法二:按比例调整大小按照正常上传的方式得到网址url改变图片索引链接代码,修改百分比<img src="url&amp

2019-02-24 14:34:49 1204 1

原创 Source Insight 4.0字体、主题修改方法

文章目录SI4.0 设置**文件**字体大小和样式的方法:SI4.0 设置**面板**字体大小和样式的方法主题设置Source Insight 4.0相对SI3做了很大的改变,多了修改主题等操作。SI4.0 设置文件字体大小和样式的方法:Options --> File Type Options(Alt + Y) 即可打开字体设置页面,也可以直接使用快捷键「Alt + Y」打开,如...

2019-02-24 14:06:19 9937

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除