Tag:Somewhat

  • Python 3 web crawler Development Practice pdf

    Time:2021-4-7

    A series of articles: WSL 2 installation is incomplete Python 3 web crawler Development Practice pdf As you can see from the previous articles, I’m learning crawler recently. Although this is useless, it won’t be useful in the future, but I really want to learn it. Then, I consulted some big bulls and consulted a […]

  • Git new get

    Time:2021-2-2

    Git new get This article is only written for the convenience of reference Delete remote merged local branches 1. View local branches and tracking: git remote show origin You can find branches whose remote branches have been deleted.You can use the following command to delete these branches git remote prune origin Git 2.23 We notice […]

  • No terminal for rstudio in win10?

    Time:2021-1-24

    Terminal under rstudio is a function launched in 2017, which is quite practical, but the newly installed rstudio may have problems that cannot be found. For example: It’s understandable without bash, but it’s a bit weird without PowerShell.In fact, the problem lies in the setting. Click Tools > Global Options > terminal The default value […]

  • Ubuntu install sublime-text3

    Time:2020-11-8

    I often use sublime in my work. The current version is a little low and looks ugly, so I simply upgrade it and record the steps: 1. Uninstall the old version sudo apt remove sublime-text 2. Install the new version wget -qO – https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add – echo “deb https://download.sublimetext.com/ apt/stable/” | sudo […]

  • Method to obtain the object object property, Reflect.ownKeys , Object.getOwnPropertyNames , Object.getOwnPropertySymbols , Object.keys ,for in

    Time:2020-10-22

    let triangle={ a:1, b:2, c:3 }   function coloTriangle(){ this.color=’red’; }   coloTriangle.prototype=triangle; let color=new coloTriangle(); Object.defineProperty(color,’auto’,{ value:’auto’ }) let symbolProp=Symbol(‘symbol’); color[symbolProp]=’symbol’ /** * Reflect.ownKeys:Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols) *None of them come from inheritance. They are all own *It can be traversed regardless of enumeration or not *You can also get the symbol type attribute */ Reflect.ownKeys(color) //[“color”,”auto”,Symbol(symbol)] […]

  • “serve”: ” node_modules/.bin/vue-cli-service serve –open”

    Time:2020-8-23

    In the Vue cli3 project, start with this configuration “serve”: “node –max_old_space_size=4096 node_modules/.bin/vue-cli-service serve –open”, “build”: “node –max_old_space_size=4096 node_modules/.bin/vue-cli-service build –open”, It is recognized in MAC and Linux, but not in windows? Just change the command or add another line manually to avoid affecting others”dev”: “vue-cli-service serve”Some people get up by NPM run dev,Some people […]

  • The tar command under Linux is decompressed to the specified directory

    Time:2020-8-9

    Unzip the tar command under Linux to the specified directory: #tar zxvf xx.tar.gz -C /xx//Put the xx.tar.gz Unzip it to / XX / if the directory / XX existsThis is a little different from the CP command. If the CP command does not exist, the directory will be created automatically!  

  • Interviewing a 31 year old IOS developer touched me a little. Where should programmers over 30 go?

    Time:2020-7-24

    preface Recently HR gave me a resume. I just saw my resume at the age of 31? I’m a little surprised. In fact, development tends to be younger now. Most of them are post-90s and post-95s. After all, software development is not like hardware development. The higher the age, the more popular it is. 31 […]

  • Promise and Reduce

    Time:2020-7-20

    Promise organization code Promise Ajax version promise, to solve the problem of asynchronous. ajax1().then(ajax2).then(ajax3).then(()=>{}) Comments: it always makes people feel that promise exists for Ajax Some people cleverly encapsulate promise on the pop-up components. //Callback mode Alert (‘are you sure you want to delete this data ‘, () = >{ console.log (‘deleted successfully’) },()=>{ console.log […]

  • Unknown character set: ‘GBK’ application exception caused by database migration

    Time:2020-6-7

    https://blog.csdn.net/u013415591/article/details/82692242https://blog.csdn.net/gx_1_11_real/article/details/81066336 There is no such problem before the migration, but there is no lower after the migration_ case_ table_ Names plus, MySQL is a bit pretentious, strictly case sensitive…12:08:19,494 [ERROR]-[com.alibaba.druid.filter.logging.Log4jFilter statementLogError 152]-{conn-10088, pstmt-169279} execute error. SELECT t.region_id, t.region_name, t.region_name_en, t.region_code2, t.region_code3 FROM t_region t WHERE t.is_black = 0 AND t.parent_id = ? order by t.sort_order, […]

  • wx-all

    Time:2020-3-13

    I learned a lot of code when I was learning this part. It’s a little bit to write on it one by one~~~ Directly deploy the code to the place where the code should be, ha ha ha ha This is the URL. It’s much better to put the code on it. I’m not afraid […]

  • Is the code displayed inaccurately when querying version differences?

    Time:2020-3-8

    Please see the screenshot~ The code of red border is deleted by me, and the code of blue border is changed according to SVN~This should be determined by SVN judgment. It seems strange to me, although the result is the same~