• Detailed explanation of Java code block and code loading sequence principle


    This article mainly introduces the detailed explanation of Java code block and code loading sequence principle. The example code is introduced in detail in this article, which has a certain reference learning value for your study or work. You can refer to the following for friends who need it This paper first introduces several basic […]

  • Ajax asynchronous load resolution


    Ajax (asynchronous JavaScript and XML, asynchronous JavaScript and XML). It is not a new programming language, but a new method using the existing standards. It is the art of exchanging data with the server and updating some web pages without reloading the whole page.So let’s go into the world of Ajax. Basic grammar Before learning […]

  • A minute to learn about JSON web token


    JSON web token (JWT) is an open standard (RFC 7519), which defines a compact and self-contained way to securely transfer information between parties as JSON objects. Because this information is digitally signed, it can be verified and trusted. Today, let’s get to know JSON web token. The difference between JWT authentication and session authentication First […]

  • JWT realizes authorization authentication


    Catalog 1、 What is JWT 2、 JWT Standard Specification 3、 Analysis of core code 4、 Login authorization example 5、 JWT usage 6、 JWT considerations 1、 What is JWT JSON Web Token(JWT) is the most popular cross domain authentication solution.In short, OAuth is a kind of authorization mechanism. The owner of the data told the system […]

  • JWT authentication


    Reprinted from Terry ton 1. Because JSON is universal, JWT can be universal in most platforms, such as Java, python, PHP,. Net, etc 2. Based on the fact that JWT is stateless, JWT can be used in some popular frameworks such as distributed. 3. JWT itself is not encrypted, so the security is not very […]

  • How to deal with the problem of computer hard disk overload


    Reduce hard disk loadThe first step is to stop unnecessary applications in the computer, press “Win + R” key to open and run, and enter “services. MSc” in the input box Step 2: click OK. After entering the service, find the “windows search” service, as shown in the following figure: Step 3: double click in […]

  • Using CSS to implement loading animation of Android system


    There are two kinds of loading icons commonly used on the web, one is the “Chrysanthemum” of IOS, the other is the “ring” of Android. Today, we use SVG to realize the “ring” animation of Android, and the next lesson realizes the “Chrysanthemum” of IOS Be careful: the reason for the low number of GIF […]

  • Method Analysis of Loading CSS and JS Files in Yii2 Framework


    This paper illustrates the method of loading CSS and JS files by Yii2 framework. Share for your reference, as follows: 1. The first step is to put our CSS and JS files in the web directory. Step 2: Modify the assets/AppAsset.php file <?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC […]

  • No such file to load — readLine solution after Ruby upgrade


    Upgrade Ruby and rails and enter script/consle: Copy codeThe code is as follows: /usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require’: no such file to load — readline (LoadError)          from /usr/local/lib/ruby/1.8/irb/completion.rb:10          from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require’          from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules’          from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `each’          from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules’          from /usr/local/lib/ruby/1.8/irb/init.rb:21:in `setup’          from /usr/local/lib/ruby/1.8/irb.rb:54:in `start’          from /usr/local/bin/irb:13  Terms of […]

  • How to Use U Disk under Linux and FreeBSD


    How to Use U Disk under Linux/FreeBSD 1. First of all, we need to know a concept: any storage device with USB interface can be regarded as a U disk, which includes USB external hard disk, CF card with USB interface, MMC card and so on.   2. Under Linux/FreeBSD, the U-disk unification is simulated as […]

  • Introduction to the Differences of Requirement, Load, Inclusion and Extension in Ruby


    Require, load is used for files at the end of a file, such as. rb, etc. Include, load is used to contain modules in a file.Requirement is generally used to load library files, while load is used to load configuration files. 1、require:Load a library and load it only once. If you load it many times, […]

  • Running and debugging asterisk under FREEBSD


    1. Running Common Commands for Debugging . / asterisk & Start asterisk in the background . / asterisk – VVC starts asterisk and displays debugging information on the console as much as possible . / asterisk – R connects to the asterisk console Set verbose 9999 Set Print Details 2. Common commands under asterisk console […]