Tag:original text

  • [Go] GO-FLY customer service project is recommended by the official account “corner GitHub”.


    Suddenly, there were many visitors. A visitor told me that I was recommended by the official account. I saw that a simple exercise program was accepted by everyone. You can also pay attention to “meet GitHub at the corner” Original address: https://mp.weixin.qq.com/s/QhOsBV2y5DXeC7yCCxH-uA  

  • Basic knowledge of graph theory (III)


    This article is published in the official account of the self. The original is written by Lee, and has been authorized by the original author. This issue brings you the last part of the summary of the basic knowledge of graph theory. Most of the production materials of slides come from the Internet, and most […]

  • [tools] use Google like a big man


    Original address:Use Google like a pro Original author:Marko Denic Translator: gopal Translator’s note: This article is very short, but I think it will help me, so I’m going to share it. As for the problems inside and outside the wall, the author can solve them because he is currently working in a small foreign enterprise. […]

  • It is easy to be blocked by Google browser when using window.open


    When using Google browser and using window. Open (), it is found that it is always blocked. Here is the solution recorded. When the window. Open () method is not triggered by the user, it is usually intercepted due to Google’s security mechanism, unless the interception is cancelled manually. For example, the following two examples: […]



    Basic concepts Symmetric encryption Both communication parties use the same key for encryption and decryption.Example: AES. Asymmetric encryption The server uses the private key to encrypt and the client uses the public key to decrypt.The data encrypted by the public key can only be decrypted by the private key, and the data encrypted by the […]

  • Save and exit some tedious text editing


    Execute some edit file commands, save after insertion and exit the process Known commands: Not all, the landlord encountered a summary of a ha. crontab -e git config –global –edit git commit –amend Steps: After writing what you want to write, press:Ctrl + o; appearFIile Name to Write :{file_path}, type:Enter; Last typeCtrl + x, save […]

  • SSL certificate combined with nginx to build HTTPS site (free certificate)


    Create SSL certificate Original linkhttps://segmentfault.com/a/11… $ mkdir -p /etc/nginx/ssl $ cd /etc/nginx/ssl $ openssl genrsa -idea -out server.key 1024 $ openssl req -new -key server.key -out server.csr $ openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt Note that the expiration time should be added. The default validity period is very short Nginx […]

  • Specific steps for Linux to install OpenSSL, swoole and other extensions


    Author: White Wolf origin:http://www.manks.top/linux-in…The copyright of this article belongs to the author. Reprint is welcome, but this statement must be retained without the consent of the author, and the original connection must be given in an obvious position on the article page, otherwise the right to investigate legal responsibility is reserved.Compile and installLet’s first look […]

  • Extension end data tecdat: R language Bass model for sales forecast


    Original link:http://tecdat.cn/?p=3937 Original source:Tuo end data tribal official account Bass diffusion model Bass diffusion modelThree parameters: total number of people who finally purchased products m; Innovation coefficient P; And imitation coefficient Q, nls(Sales~M*(((P+Q)^2/P)\*exp(-(P+Q)\*T79))/(1+(Q/P)\*exp(-(P+Q)\*T79))^2, ## Parameters: ## Estimate Std. Error t value Pr(>|t|) ## M 6.80e+04 3.13e+03 21.74 1.1e-07 *** ## P 6.59e-03 1.43e-03 4.61 0.0025 ** ## Q 6.38e-01 4.14e-02 15.41 1.2e-06 *** ## — ## Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ‘ 1 ## ## Residual standard error: 727 on 7 degrees of freedom ## ## Number of iterations to convergence: 8 ## Achieved convergence tolerance: 7.32e-06 #   Gain coefficient Bcoef <- coef(Bass.nls) m <- Bcoef\[1\] p <- Bcoef\[2\] q <- Bcoef\[3\] Set the […]

  • Rust code compilation that can be shared with Android, IOS and fluent platforms [turn]


    Original link– https://robertohuertas.com/2019/10/27/rust-for-android-ios-flutter/Original author – Roberto Huertas What if I told you that you could use the same very performant code inAndroid,iOSor even inFlutter. In this article, we’ll see how to achieve this withRust. But, why would we want something like this? Imagine that you have a mobile app that needs to process some audio […]

  • Phpspreadsheet memory overflow processing | memory optimization


    Phpspreadsheet memory overflow processing | memory optimization Set cache Save memory:https://phpspreadsheet.readth… Here we use use Symfony\Component\Cache\Adapter\FilesystemAdapter; use Symfony\Component\Cache\Psr16Cache; … $adapter = new FilesystemAdapter(‘excel’, 60*60*10, storage_path(‘framework/cache/data’)); $cache = new Psr16Cache($adapter); \PhpOffice\PhpSpreadsheet\Settings::setCache($cache); Specify read sheet Because by default, we only need to read one worksheet. If you have multiple worksheets but do not need to load them […]

  • The solution of calling Vue mounted twice


    Because the after-sales project is a Vue framework, but there is no real experience in Vue, so it has been debugging from the beginning. Finally, I found that when I annotated the initialization method above, I found that the request result was a bit value. Realize whether it is called twice? A search on the […]