Tag:load

  • JWT identity authentication (with explanation of source code)

    Time:2021-4-23

    [TOC] JWT (JSON web token) verification (with explanation of source code) One day, it’s lunch break The sergeant passed by the seat of the fat Sir and was surprised. Today, the fat Sir didn’t snore. Instead, he was staring at a book with his head down The commander looked closer, fat Sir was reading history […]

  • Solve the error problem of loading the trained model by python

    Time:2021-3-6

    This is a very stupid mistake Take a good look at the error information when debugging Remind yourself to take good care of error! Remember! Remember! ———————–Dividing line—————- Pytorch is already very friendly. You only need a simple command to save and load the model #Save the entire network and parameters torch.save(your_net, ‘save_name.pkl’) #Loading saved […]

  • Mn13 hardened steel

    Time:2021-2-22

    Study on abrasive wear properties of hot rolled high manganese steel Mn13 coupled with punching and rolling. The microstructure transformation and wear mechanism were analyzed by XRD and SEM. Under higher impact rolling load, hot rolled Mn13 steel shows better impact rolling abrasive wear resistance.There is a certain thickness of hardened layer on the wear […]

  • Vue to achieve paging loading effect

    Time:2021-2-19

    This example for you to share the Vue paging load specific code, for your reference, the specific content is as follows HTML <! — number of product pages — > <div> <div> <span>Total{{ data.length }}Products</span> </div> <p data-countpage=”1″> <span>{{pages}}</span> / <span>{{total}}</span> </p> </div> <div></div> </div> <! — limit the number of loads — > <ul> […]

  • Transformation hardening of Mn13 under impact rolling load

    Time:2021-1-23

    The results show that the hot-rolled high manganese steel Mn13 has a good anti rolling abrasive wear performance under high rolling load; there is a certain thickness of hardened layer on the surface of rolling abrasive wear, and with the increase of rolling load, the hardness of wear surface increases and the thickness of hardened […]

  • How to judge whether a picture is loaded based on JavaScript

    Time:2021-1-20

    This article mainly introduces how to judge whether the image is loaded based on JavaScript. The sample code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it Here I use a tag to determine which style to display, but the […]

  • Non magnetic thread precast beam 45mn17al3

    Time:2020-11-20

    Non magnetic reinforced bar can be used in special capital construction. Precast slab and beam are reinforced concrete prestressed structure, which are made of high strength low magnetic steel prestressed steel barNon magnetic reinforced bar can be made of 304, 917 (45mn17al3), 40mn18cr4, 30Mn20Al3, 50mn18cr5The small head protruding out is under the round hole, and […]

  • Transformation hardening of Mn13 under rolling load

    Time:2020-10-29

    The results show that the hot-rolled high manganese steel Mn13 has good anti-wear performance under high impact rolling load; there is a certain thickness of hardened layer on the surface of impact rolling abrasive wear, and with the increase of impact rolling load, the hardness of wear surface increases and the thickness of hardened layer […]

  • The use of token in Vue

    Time:2020-9-13

    Initial on login page Home.vue <template> <div class=”home”> </div> </template> <script> // @ is an alias to /src import HelloWorld from ‘@/components/HelloWorld.vue’ import axios from ‘axios’; export default { name: ‘home’, components: { HelloWorld }, created(){ axios.get(‘/api/userinfo’).then(res=>console.log(res.data)) } } </script> About.vue <template> <div class=”about”> <h1>This is an about page</h1> </div> </template> login.vue <template> <div> <div […]

  • Process diagram of loading multiple projects based on pychar

    Time:2020-7-9

    This article mainly introduces the process diagram of loading multiple projects based on pychar. The example code is introduced in detail, which has certain reference learning value for everyone’s study or work. Friends in need can refer to it Today, when practicing python with pychar tool, I encountered a question: how to create a new […]

  • I’ll show you the JWT principle

    Time:2020-6-19

    JSON web token (JWT) is a very lightweight specification. This specification allows us to use JWT to pass safe and reliable information between users and servers. Let’s imagine a scene. When user a pays attention to user B, the system sends an email to user B with a link “pay attention to user a by […]

  • Using JWT to configure multiple guards in lumen framework

    Time:2020-6-12

    Configuration file config of JWT/ jwt.php translate TTL: token validity (minutes) refresh_ TTL: refresh token time (minutes) Algo: token signature algorithm User: namespace path to user model Identifier: used to get users from the sub of token require_ Claims: the option that must appear in the payload of the token, otherwise a tokeninvalidexception exception will […]