Tag:Historical record

  • Query database history

    Time:2020-4-13

    In the SQL Server database, most of the operations that have been done since the login and what has happened in the database are based on records, but some of them can’t be found. One. Database start record 1. Last bootSQL ServerTime select sqlserver_start_time from sys.dm_os_sys_info; select login_time from sysprocesses where spid = 1 select […]

  • History recording mechanism in Bash

    Time:2020-3-31

    Basic Usage Show history UsehistoryYou can view the latest execution of the current userHISTSIZEThese records are stored inHISTFILEIn file, inbashIt is automatically loaded into the history buffer queue at startup, and its simple use method is as follows: >History displays all history 1 ip a 2 exit 3 ls -la 4 history >History 2 displays […]

  • MySQL event history

    Time:2020-3-31

    demand The job history records of SQL server are saved in MSDB database, which is convenient to query the relevant job definitions, plans and history records, while the events of MySQL have no history records. In order to check whether the event executes normally and the execution results, the following two steps are used to […]

  • Code for deleting history records at running, searching, etc. through batch processing

    Time:2020-3-6

    Batch code: Copy codeThe code is as follows: @echo off :: delete history at run, find, etcreg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v ClearRecentDocsonExit /t REG_DWORD /d 00000001 Clear the input recorded in the run dialog box to modify the registry. These records are saved in “HKEY \ current \ user \ software \ Microsoft \ windows \ […]

  • How to record user’s IP and command by shell

    Time:2020-3-5

    Record the command entered The history command can view the commands entered by the user. The output of a typical history command is as follows: 980 2017-05-29 20:17:37 cd – 981 2017-05-29 20:17:41 cat index.html 982 2017-05-29 20:20:11 vim index.html 983 2017-05-29 20:39:18 cd – 984 2017-05-29 20:39:25 cd /var/log/nginx/ 985 2017-05-29 20:39:27 vim access.log […]

  • Angular 4.x LocationStrategy

    Time:2020-1-30

    Before introducing the location strategy strategy, let’s learn about the following: History object Hash mode and HTML 5 mode History object attribute length Read only, the value is an integer, indicating the number of records in the session history including the current page. For example, we usually open a blank window with the length of […]

  • Android version of star novel Downloader

    Time:2020-1-25

    Originally wanted to put on the shelves in ku’an, but the audit failed.. It can only be publicized through web pages An app that uses jsoup open source library web crawler to analyze novels read online and download the whole novel as a TXT file Due to the use of crawler technology, the download speed […]

  • You may not need Redux

    Time:2020-1-16

    Original quote: https://medium.com/ @ dan_abram By Dan Abramov The reason why we choose Redux in developing applications is usually similar to the following: “what if our application can’t be extended without it?”. However, after the real use of Redux, developers are not satisfied with the middleware Redux that introduces code – “why do I have […]

  • Trigger insert

    Time:2020-1-9

    USE [stalentzx]GO/****** Object: Trigger [dbo].[GZ_HISTORY_INSERT] Script Date: 2019/12/24 13:11:40 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER TRIGGER [dbo].[GZ_HISTORY_INSERT]ON [dbo].[ySysColumns]AFTER INSERT–,DELETE,UPDATEASBEGIN DECLARE @TABLENAME VARCHAR(50) DECLARE @COLNAME VARCHAR(50) DECLARE @COLORDER INT DECLARE @COLTYPE VARCHAR(50) DECLARE @TABLE_SQL VARCHAR(MAX) DECLARE @COL_STR VARCHAR(MAX) SELECT @TABLENAME = TABLENAME , @COLNAME = COLNAME FROM INSERTED IF @TABLENAME LIKE ‘GZ_PATSETDATA%’ AND ISNUMERIC(RIGHT(@TABLENAME , 4)) = […]

  • HTML 5 implementation of no refresh modification URL

    Time:2019-12-3

    Preface Today, we are doing a Vue search function. We need to jump from the search results page to the details page, and then click back to return to the just results page. If we only use window.history.go (- 1), of course, we will refresh the search page again, of course not. I tried two […]

  • Vue cli project routing case summary

    Time:2019-10-25

    0901 self summary Vue cli project routing case summary router.js import Vue from ‘vue’ import Router from ‘vue-router’ import Course from ‘./views/Course’ import CourseDetail from ‘./views/CourseDetail’ Vue.use(Router); export default new Router({ mode: ‘history’, base: process.env.BASE_URL, routes: [ { path: ‘/course’, name: ‘course’, component: Course, }, { Path: ‘/ course / detail /: PK’, // the […]