Tag:Blogger
-
Ios13 wkwebview click does not jump, no response.
Since ios13, wkwebview has removed the automatic push function of cookies and can be added by itself.The code is as follows: if (@available(iOS 11.0, *)) { NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies]; WKHTTPCookieStore *cookieStore = [WKWebsiteDataStore defaultDataStore].httpCookieStore; if (cookies.count > 0) { for (NSHTTPCookie *cookie in cookies) { [cookieStore setCookie:cookie completionHandler:^{ }]; } } } […]
-
Excel complex header export
In our work, we often encounter some requirements of Excel import and export. We can usually use the API provided by POI, etc. But when it comes to processing, the code is very bloated and not elegant.Inadvertently, I checked the code of a long time ago and saw a former colleague and elder. In view […]
-
JS · dispatchEvent method simulates the solution of invalid mouse click and pop-up
Reading time |0.16 minutes word count |265.6 characters primary coverage |1. Introduction & background “JS · dispatchEvent method simulates the solution of invalid mouse click and pop-up” Author | SCscHero Writing time | 2021/7/19 PM8:24 Article type |Series Degree of completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & backgroundDegree of […]
-
Cloud development of wechat applet development
Create a cloud development applet project Open Cloud Development Interface after opening Select development environment Enable NPM module Install Wx server SDK npm install –save [email protected] Create cloud function //Cloud function entry function exports.main = async (event, context) => { console.log(event) console.log(context) return { sum: event.a + event.b } } Local debugging cloud function Contact […]
-
CSS generated by sass in vscode
Today, I was watching a CSS3 animation video. The blogger used sass language. With curiosity, I checked the basic usage and tried to install the environment in vscode. HMM ~ it’s still very convenient 1. First, the first step is to install sass globally. There are several ways. The NPM I use here is based […]
-
Excel custom format thousand separator
Reading time |0.64 minutes word count |1028 characters primary coverage |1. Introduction & background “Excel custom format thousand separator” Author | Writing time | 2021/12/19 AM12:9 Article type |Series Degree of completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & backgroundDegree of completion: 100% a) Dealing with problems How to set […]
-
After reading the articles you like, don’t copy tips and simplify if writing
Bloggers are not very good, so they often look at the great gods’ technology blog, but sometimes it’s hard to see good articles, and it’s hard not to copy the code, so I’ll teach you a practical skill document.designMode=’on’So you can copy it The second practical tip is if simplification. Just change it if you […]
-
C # thread lock and single multithreading are easy to use
preface: The blogger encountered a problem when writing the settings with c# yesterday, that is, the blogger’s sending command needs to be sent circularly, but there is a 1-second delay in my receiving, so it appeared. I sent the command circularly, and finally only received the values of the last two commands, so I asked […]
-
Golang implements automatic downloading of all dependent packages
statement1) This article collates the selfless dedication materials of Daniel and experts on the Internet. Please see the references for the specific cited materials.2) This article is for academic exchange only, not for commercial use. If a certain part accidentally infringes upon everyone’s interests, please wait for Haihan and contact the blogger to delete it.3) […]
-
JS get the current time, month, day, hour, minute and second
//Get current time getNowTime: function () { let dateTime let yy = new Date().getFullYear() let mm = new Date().getMonth() + 1 let dd = new Date().getDate() let hh = new Date().getHours() let mf = new Date().getMinutes() < 10 ? ‘0’ + new Date().getMinutes() : new Date().getMinutes() let ss = new Date().getSeconds() < 10 ? ‘0’ […]
-
There are 1000 reasons to choose the IT industry!
You want me to make it up I can’t make up a thousand Now switch to it Do you need 1000 more reasons? no Unnecessary Just one Early October CSDN bloggers “have some evidence” Released Salary of domestic programmers in October 2020 That’s what he said himself Details of the data are as […]