Tag:Reset

  • Canvas gesture unlocking source code

    Time:2020-2-22

    Drawing first demo.html Gesture unlock <span style=”background-color: #f5f5f5; color: #800000;”> body</span><span style=”background-color: #f5f5f5; color: #000000;”>{</span><span style=”background-color: #f5f5f5; color: #ff0000;”> text-align</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”> center</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span><span style=”background-color: #f5f5f5; color: #ff0000;”> background</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”> #305066</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span> <span style=”background-color: #f5f5f5; color: […]

  • Jgit —- embed git into your app

    Time:2020-2-20

    If you want to use git in a java program, there is a full-featured git library, which is jgit. Jgit is a relatively sound implementation of GIT written in Java, which is widely used in the Java community. The jgit project is maintained by eclipse, its home page. Dependency adding There are many ways to […]

  • Show mouse slide track

    Time:2020-2-20

    Tracks * { margin: 0; padding: 0; border: 0; } .track-monitor { background-color: chocolate; } .track-pad { height: 200px; background-color: dimgray; } .track-coordinate { background-color: purple; color: white; height: 25px; line-height: 25px; font-size: 12px; } .track-coordinate-list { font-size: 12px; width: 100%; word-break: break-word; } window.addEventListener(‘load’, function () { var pad = document.getElementsByClassName(‘track-pad’)[0]; var monitor = […]

  • Atom use notes

    Time:2020-2-12

    This article should be updated frequently…. MMM atom-asyncSynchronization settings UseatomeditMarkdownFiles, live preview atomThe editor comes with amarkdown-previewThe plug-in is simple, so we can download onemarkdown-preview-plusPlug in, openingsetting->installFind the plug-in name and click download. After the download is completed, the originalmarkdown-previewPlug-in unitdisable。You can use it normally after this step ~ press and hold the shortcut keyctrl+alt+M, […]

  • Reset status data of Redux

    Time:2020-2-2

    In the process of using Redux, it is usually necessary to reset the state of the store, such as when the application is initialized and when the user exits the login, so as to avoid data residue and UI displaying the data of the previous user, which is easy to cause user data disclosure. The […]

  • ngrx/store

    Time:2020-2-1

    Store Strore is the state management of angular based on rxjs, with the help of the core concept of Redux and the implementation of Redux with the extension of rxjs. Use observable to simplify operations such as listening to events and subscriptions.Before learning about store, we must first understand Redux (core, process). When do I […]

  • Lightweight form verification module (ES6)

    Time:2020-1-18

    What capabilities do you have All bindings can be performed in onchange by introducing modules without additional initializationData rule = “rule”The form element of the property triggers validation. In addition to the built-in rules (URL, email, integer and floating-point numbers, etc.), it allows users to register new “rules” (see register method). It allows users to […]

  • sql server

    Time:2020-1-15

    Clear table data command truncate table user This command will clear the identification and reset it together

  • VIM tip: view the value of a configuration item and which file it is set by

    Time:2019-12-31

    Here are some tips related to VIM configuration items, including: View the current value of a configuration item View which file a configuration item is set in Reset configuration item to default value of vim source code You can switch configuration item values back and forth in one command View the current value of a […]

  • Customized by antd through filterdropdown — search by a certain day and time

    Time:2019-12-17

    import React, { Component } from ‘react’; import { Table, Input, Button, Icon, DatePicker } from ‘antd’; import moment from ‘moment’; import Highlighter from ‘react-highlight-words’; export default class RpoliceRecord extends Component { constructor(props) { super(props); this.state = { searchText: ”, } } render() { //Add search this.getColumnSearchProps = (dataIndex, title) => ({ filterDropdown: ({ setSelectedKeys, […]

  • Windows Server 1709 (excluding UI) template deployment

    Time:2019-12-9

    1. System installation Import the installation image in the virtual machine, select “Windows Server 2012” for the client operating system and “SCSI” for the virtual disk type; install the operating system correctly according to the installation wizard 2. Install VMware Tools Select the virtual machine, click virtual machine – install vmware tools, and the installation […]

  • Implementation example of CSS Reset style reset

    Time:2019-11-17

    All browsers have attached default styles, which are applied to every page, called “user agent style sheet”. (ladder is required as follows) Chromium UA stylesheet -Google Chrome & Opera Mozilla UA stylesheet – firefox WebKit UA stylesheet – safari Although most of them are the same, there are many different styles, such as search input […]