当前位置:网站首页>Li Chi's work and life summary in June 2022
Li Chi's work and life summary in June 2022
2022-07-04 18:54:00 【Li Chi】
This paper is about 2022 year 6 Monthly work life summary .
R & D code
front end
demand : An input box is automatically completed , With Chinese name , But the back end only processes numbers , It is necessary to analyze the numbers and sequence them . Such as the Wuzhou Cenxi 001 Change it to 001, But the page still shows the former . The analytic function is as follows :
function dealParam(form, id) {
var staOrg = $(id).val();
var staNew = staOrg
var staList = staOrg.split(" ")
if (staList.length == 2) {
staNew = staList[1]
}
$(id).val(staNew)
datas = $(form).serialize()
$(id).val(staOrg)
datas = decodeURIComponent(datas, true)
return datas
}
Ideas : Get the original value of the control , preservation , Divide the string with spaces , Get numbers , Set control value , serialize , Then change the control value to the original value ( To keep the page unchanged ).
It should be done on the back end , But the front and back ends are too tightly combined . At present, the front and back ends are all done by ourselves , So there won't be much problem .
Work records
Encountered a download timeout problem , In a production environment , The network is poor in some periods , There is a download module to use curl Library implementation , Larger files , exceed 100MB, The analysis found that the download took about 6 minute , After discussion , Change the timeout to 10 minute . The core code statement is as follows :
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 600); // Set the maximum number of seconds
This also taught me a lesson , Never assume that the network is smooth and stable .
Life records
Call the gas customer service to ask for the consumption bill , Reply does not support , We can only see how many cubic meters the gas meter has used . The applet only sees this year 1 In the , There is no one in the back . So I can only record it manually at the end of each month . I feel that the technology level of the gas company in Nanning should not be so low .
Mom's phone bill hasn't been refunded , At the end of the month, I called mobile again , Finally retired , There are about 60 Yuan . But I bought a new mobile phone , Don't know how to set mobile traffic , It is estimated that the refund money will be spent . Move something APP Only support login with verification code , And the login status cannot be recorded all the time , Therefore, it is not necessary to check the phone bill consumption in time . But old people have old people's lives , The major APP Various ingenious traps have been made for the elderly , impossible to guard against , I think there is nothing I can do to intervene .
Physical examination this month , There is still fatty liver , High blood pressure . Because I kept a light diet for the first two weeks , I don't eat much , The weight is a few kilograms less than last year , Three high is also missing, one high . It would be better if we could continue to lose weight .
Ideologically
Late one night, my thoughts about home changed , To be exact, it is to improve . I saw the floor dirty that day , The bowl hasn't been washed , Cockroach crawling , The gas stove is not cleaned , I heard the sound of guessing outside the door , I feel I have to work . I tried not to wash the dishes , The bowl will always be , Don't throw garbage , Garbage will always be . Every time I come home from work , I think of the near 5 A thousand yuan mortgage , I don't think this is my home . But still need to adjust their mentality , But after all, children are growing , After all, create an environment for children , If there is an old man , I can free myself from the chores of buying vegetables, washing clothes and mopping the floor , Return to reality after imagination , Someone in this family has to do these things .
I am familiar with some food markets and supermarkets in Nanning , Which stall has a large amount of scallions and is cheap , Where bones are cheap , Where can I buy pork at night , They all know better . If you spend time studying these things on Technology , It is estimated that it can be improved a lot , After all, age is there , We must keep a certain amount of study time .
Amateur research
Geng Wen
This month, the Nuggets platform held more activities , The prize has a small fan 、 slippers 、 Juicer 、 Rice cooker , Prize plan allocation : Fan to sledgehammer , Give me slippers , Juicer to big hammer mother , Send the rice cooker back to your hometown . So I decided to stick to the daily change , There are about 10 There are many unpublished articles on stock , Others are new , After work 、 Thinking on the way to commute by bike , Take time to write . Review at the end of the month , What seems impossible , Finally, we can achieve .
边栏推荐
- LD_LIBRARY_PATH 环境变量设置
- [HCIA continuous update] WAN technology
- 完善的js事件委托
- .NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
- vbs或vbe如何修改图标
- TCP waves twice, have you seen it? What about four handshakes?
- Scala基础教程--14--隐式转换
- VMware Tools和open-vm-tools的安装与使用:解决虚拟机不全屏和无法传输文件的问题
- With the stock price plummeting and the market value shrinking, Naixue launched a virtual stock, which was deeply in dispute
- mysql5.7安装教程图文详解
猜你喜欢

华为云ModelArts的使用教程(附详细图解)

How to improve development quality

vbs或vbe如何修改图标

Scala基础教程--13--函数进阶

力扣刷题日记/day6/6.28

How is the entered query SQL statement executed?

提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像
![[go language question brushing chapter] go conclusion chapter | introduction to functions, structures, interfaces, and errors](/img/7a/16b481753d7d57f50dc8787eec8a1a.png)
[go language question brushing chapter] go conclusion chapter | introduction to functions, structures, interfaces, and errors

Reptile elementary learning

如何提高开发质量
随机推荐
Numpy 的仿制 2
Just today, four experts from HSBC gathered to discuss the problems of bank core system transformation, migration and reconstruction
[2022 Jiangxi graduate mathematical modeling] curling movement idea analysis and code implementation
What if the self incrementing ID of online MySQL is exhausted?
Scala basic tutorial -- 13 -- advanced function
删除二叉搜索树中的节点附图详解
Weima, which is going to be listed, still can't give Baidu confidence
Tutorial on the use of Huawei cloud modelarts (with detailed illustrations)
Scala基础教程--17--集合
How to modify icons in VBS or VBE
Li Kou brush question diary /day1/2022.6.23
File processing examples of fopen, FREAD, fwrite, fseek
力扣刷题日记/day5/2022.6.27
How is the entered query SQL statement executed?
蓝桥:合根植物
Li Kou brush question diary /day6/6.28
Scala基础教程--13--函数进阶
Blue bridge: sympodial plant
一直以为做报表只能用EXCEL和PPT,直到我看到了这套模板(附模板)
ISO27001 certification process and 2022 subsidy policy summary