When using split to segment text and write items, one function is to cut the text into space by space or line changing.
var phone = "110119120";
phone.split (/[\s\n]/); / / [, "119", "120"] the effect is as follows: Read the full text.
3 weeks ago (08-23) 46 browse 0 comment
Product manager for the known size of the product: I have a picture of 200 x 200. You help me display it in the browser. [method 1] after positioning, the positions of the upper and lower positions are set to 0, and finally set margin to auto.
top:... Read the full text.
1 months ago (08-06) 59 browse 0 comment
For example, I have a web page. When I open it, I play a bulletin or an advertisement. Anyway, I want to play a window. If you don't click "next time no longer remind" or something like that, it will still play for you next time!!! Who is it like? Why do you want to beat him? Implementation method: user click "no longer pop-up", then write a value, for example: butanchuang = true, every time the page is loaded, butanchuang will be judged. Read the full text.
3 months ago (06-11) 141 browse 0 comment
Remember last week when you used Baidu to translate API, you need to submit the following fields.
translation source language, for example: zh Chinese, en English, can be set to auto automatic detection of
translation language, for example: zh Chinese, en English, can not be set to auto automatic detection of
. Read the full text.
4 months ago (05-30) 180 browse 0 comment
Today is another day of fishing at home. I want to knock BUG to write an online translation function. Then he took off the sample interface address in Baidu translate open platform technical document, and tried to ask for normal request. Axios request,
axios.get is true ('http://api.fanyi.baidu.com/api/trans/vip/translate? Q=apple&from=en&to=zh&... Read the full text.
4 months ago (05-19) 194 browse 0 comment
Since mobile OTA has been upgraded to IOS12.3, it has been consuming electricity like water. However, it is said that the problem of power consumption can be solved by using the computer to brush the machine again.
iTunes 22.214.171.124 Crashed
iTunes 126.96.36.199 has collapsed. The minidump file has been created at the following locations:
C:\Users\Bourbon-Bear\Desktop\iTunes Crash Logs\i... Read the full text.
5 months ago (05-03) 350 browse 0 comment
Yesterday, the manager visited the company again, saying that the company's website was hung up. Since I don't understand penetration, I can only touch it. Look at what is in the home page file. The three major labels that are appalling are: there is also a section of JS code, copied to Baidu, found that this code basically appears on the blackened website, but I do not know what it is.