LeetCode 680. Verify palindrome string II
My LeetCode: https://leetcode-cn.com/u/ituring/
My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii
LeetCode 680. Verify palindrome string II
subject
Given a non empty string s, delete at most one character. Determine whether it can be a palindrome string.
Example 1:
Enter: "aba"
Output: True
Example 2:
Enter ...
Posted by Ghostgator on Mon, 18 May 2020 23:55:33 -0700
Understanding Go language object-oriented programming: interface and polymorphism
Hi, Hello, this is Mingo.
During my time of learning Golang, I wrote detailed study notes on my personal WeChat official account "Go programming time". For Go language, I am also a beginner, so writing things should be more suitable for students who are just in contact. If you are just learning Go language, do not pay close attention ...
Posted by elementaluk on Mon, 18 May 2020 21:49:47 -0700
UglifyJs problem in vue packaging
Today, I'm going to pack a vue project that I've been working on recently. I'll run it to the test environment and test it by the way, but it appears when I don't want to pack it
ERROR in static/js/vendor.6ee331eab7d8c9bf1876.js from UglifyJs
Unexpected token name «i», expected punc «;» [static/js/vendor.6ee331eab7d8 ...
Posted by pulkit123 on Mon, 18 May 2020 08:45:29 -0700
Git advanced usage, take it if you like!
If you think git is confusing, then this copy is for you!
Please note that I intentionally skipped basic commands such as git commit and git pull/push. The theme of this short copy is some "advanced" uses of GIT.
Navigation - jump to previous branch
git checkout -
View history
# Each submission is shown on a single line
git log --on ...
Posted by dwest on Sun, 17 May 2020 23:59:35 -0700
Cool!! I can import packages in Python in eight ways. How about you?
WeChat official account: Python programming time.
Original link: https://mp.weixin.qq.com/s/7F4pyDVObJBt-3XrxxYxLQ
Today, I'd like to introduce eight methods of Python package import that I've used.
1. Direct import
A well-known method, which can be imported directly
>>> import os
>>> os.getcwd()
'/home/wangbm'
Similarly, l ...
Posted by kenshintomoe225 on Sun, 17 May 2020 20:51:12 -0700
a slap in the face! The extended swagger support document enumerates all enumeration values automatically
Take on the previous article "One stop solution to various pain points of enumeration" At the end of the paper, it is mentioned that when using swagger to write interface documents, you need to tell the front-end enumeration types what values they have. After each increase of values, you need to not only change the code, but also find ...
Posted by daniel_grant on Sun, 17 May 2020 19:33:16 -0700
Java learning path: day18 multithreading
Article catalog
Reprinted from atguigu.com video
Chapter 8 multithreading
Basic concepts: program, process, thread
Process and thread
Advantages of using multithreading
When multithreading is needed
Creation and use of threads
Thread creation and startup
Thread class
Two ways to create threads in ...
Posted by igorek on Sun, 17 May 2020 18:31:19 -0700
C × WinForm custom control - rotor
Official website
http://www.hzhcontrols.com/
premise
It's been 7 or 8 years since I started, I always want to make a set of beautiful custom controls, so I have this series of articles.
GitHub: https://github.com/kwwwvagaa/NetWinformControl
Code cloud: https://gitee.com/kwwwvagaa/net_winform_custom_control.git
If you think it's OK, pleas ...
Posted by kaeRock on Sun, 17 May 2020 08:38:32 -0700
Spring Boot email
How to use Spring Boot to send mail?
Spring Boot provides a starter: Spring Boot starter mail for sending mail.
Next, let's see how to send mail using Spring Boot.
1, Configure mailbox
Here we use 163 Netease email
1. Open SMTP service
2. Set / reset client authorization password
2, Coding implementation
1. Add dependency
1 <!--mail-- ...
Posted by ComputerChip on Sun, 17 May 2020 08:10:16 -0700
Simple timeline effect of mobile H5
Recently, I wrote the interface to the mobile terminal and told me that two of the pages are H5, which needs to be done by me. In line with the principle of "I'm a brick of the company, where I need to move", let's do it. As soon as the results look at the prototype, there is also a timeline effect. The first reaction: find Du Niang, ...
Posted by Richard on Sun, 17 May 2020 08:01:03 -0700