当前位置:网站首页>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 .
边栏推荐
- I always thought that excel and PPT could only be used for making statements until I saw this set of templates (attached)
- 删除二叉搜索树中的节点附图详解
- ESP32-C3入门教程 问题篇⑫——undefined reference to rom_temp_to_power, in function phy_get_romfunc_addr
- Redis master-slave replication
- 完善的js事件委托
- Machine learning concept drift detection method (Apria)
- Esp32-c3 introductory tutorial questions ⑫ - undefined reference to ROM_ temp_ to_ power, in function phy_ get_ romfunc_ addr
- 【2022年江西省研究生数学建模】冰壶运动 思路分析及代码实现
- 输入的查询SQL语句,是如何执行的?
- [go ~ 0 to 1] read, write and create files on the sixth day
猜你喜欢
How is the entered query SQL statement executed?
Li Kou brush question diary /day7/2022.6.29
Halcon模板匹配
Scala basic tutorial -- 13 -- advanced function
Scala基础教程--15--递归
力扣刷题日记/day8/7.1
力扣刷题日记/day2/2022.6.24
TCP waves twice, have you seen it? What about four handshakes?
ByteDance dev better technology salon was successfully held, and we joined hands with Huatai to share our experience in improving the efficiency of web research and development
Load test practice of pingcode performance test
随机推荐
[209] go language learning ideas
TCP两次挥手,你见过吗?那四次握手呢?
How to modify icons in VBS or VBE
Principle and application of ThreadLocal
Basic tutorial of scala -- 16 -- generics
中国农科院基因组所汪鸿儒课题组诚邀加入
PB的扩展DLL开发(超级篇)(七)
输入的查询SQL语句,是如何执行的?
How is the entered query SQL statement executed?
Li Kou brush question diary /day5/2022.6.27
Li Kou brush question diary /day1/2022.6.23
Li Kou brush question diary /day2/2022.6.24
. Net ORM framework hisql practice - Chapter 2 - using hisql to realize menu management (add, delete, modify and check)
Esp32-c3 introductory tutorial questions ⑫ - undefined reference to ROM_ temp_ to_ power, in function phy_ get_ romfunc_ addr
Lua emmylua annotation details
SIGMOD’22 HiEngine论文解读
Scala基础教程--18--集合(二)
What types of Thawte wildcard SSL certificates provide
力扣刷題日記/day6/6.28
【Go语言刷题篇】Go完结篇|函数、结构体、接口、错误入门学习