• DOS commands commonly used on windows (suitable for beginners)


    Open the CMD command prompt window Method 1 Press the windows key + R key on the keyboard together to open the “run” window Enter “CMD” in the open “run” window, and then press the “enter” key on the keyboard Method 2 In the blank space of the computer desktop, press and hold the keyboard […]

  • Web front end lesson 33 – JS event handling – keyboard, touch


    1. Keyboard events Keyboard events refer to the events that will be triggered automatically when the user operates the keyboard. They are usually divided into the following three types ①   Keydown, the user can trigger this event by pressing any key. If you hold it down, the event will be triggered continuously ②   […]

  • Select the text and add a style


    <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”utf-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width,initial-scale=1.0″> <style> .tag.blue{ border: 3px solid rgb(32, 156, 238); background-color: rgb(32, 156, 238); } .tag.red{ border: 3px solid rgb(255, 51, 51); background-color: rgb(255, 51, 51); } .tag{ color: #fff; border-radius: 5px; font-style: normal; } .tag > .delete{ / margin-left: 5px; / background-color: rgba(10,10,10,.2); […]

  • Shortcuts that Ubuntu users should know


    No matter what operating system or software we use, shortcut keys are very useful, because they can start applications or jump to the required window, and can quickly carry out many operations without moving the mouse to click everywhere, saving time and energy and improving efficiency. Just like in windows, Ubuntu also has some hotkeys […]

  • Vue basic introductory notes 08: keyboard modifiers, user-defined instructions


    Vue basic introduction notes 08 Keyboard modifier Keyboard enter Custom instruction Focus case <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <meta http-equiv=”X-UA-Compatible” content=”ie=edge”> <title>Document</title> <script src=”https://cdn.jsdelivr.net/npm/vue”></script> <link rel=”stylesheet” href=”https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css” integrity=”sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u” crossorigin=”anonymous”> </head> <body> <div id=”app”> <!– Keyboard modifier — > <input @keyup.f2=’show’ v-model=’name’ type=”text” name=”” id=”input” class=”form-control” value=”” required=”required” pattern=””> <!– […]

  • Canvas animation at one point every week – user interaction


    User interaction may be the first part we need to master in learning canvas animation. After all, if there is no interaction or dynamic input to the animation, what is the difference between watching movies? User interaction is event based and generally includes:Mouse event,Touch eventandKeyboard events。 1. Events and event execution Before you understand an […]

  • Operating files and folders with DOS command on Windows


    Open the CMD command prompt window Method 1 Press the windows key + R key on the keyboard together to open the “run” window Enter “CMD” in the open “run” window, and then press the “enter” key on the keyboard Method 2 In the blank space of the computer desktop, press and hold the keyboard […]

  • What’s the relationship between electron and main?


    The main process API of the electron usage guide, the electron API (there are three types of electron APIs), the main process, the renderer process, and the share modules App event ready: Triggered when the electron completes initialization. Two methods of use app.on(‘ready’, createWindow) app.on(‘ready’, () => { console.log(‘App is ready!’) createWindow() }) Check whether […]

  • For example, I want to use angularjs to make a calculator


    I actually want to make an accounting app. There is a box to display the amount from top to bottom, and there are some other options or input boxes. Click the box to display the amount, and the keyboard will pop up at the bottom. The keys are composed of 0-9, decimal point, + – […]

  • Vue Basics (III): template syntax (II)


    1. Event binding 1.1 basic use of v-on Vue binds events through the instruction v-on, such as the most commonly used click method: v-on: click. We can also abbreviate it as @ click; Let’s take a simple example: Basic use of Vue {{num}} click click1 click2 click3 var vm = new Vue({ el: ‘#app’, data: […]

  • When music meets artificial intelligence – singers are performing in “cloud competition”, the composer doesn’t want to try “cloud composition”?


    At the beginning of this year, many singing programs on TV adopted a way of “cloud competition”. In fact, to put it bluntly, this is the use of video conferencing to let everyone participate in program recording at their own homes, but in order to facilitate the understanding of people who do not understand technology, […]

  • Digital keyboard with decimal point under IOS


    problem In business development, we often encounter the problem of popping up the numeric keyboard. The product side wants to pop up the pure numeric keyboard with decimal point.The following code: <input type=’number’/> In Android, you can pop up a keyboard with numbers and decimal points, and it will automatically screen illegal characters, which is […]