Tag:Script

  • Shell basic application

    Time:2020-4-6

    What is shell? Shell is the interpreter program between you and the user suddenly in Linux, usually referring to bash, which is responsible for translating and communicating user / program instructions to the kernel How to use shell: 1. interactive execution instruction: manual intervention, low execution efficiency 2. Non interactive execution instruction: it is executed […]

  • Lua-In-Xcode & lua-environment

    Time:2020-4-5

    Lua-In-Xcode Preface Course Let Xcode support Lua syntax highlighting lua-environment Lua application scenario Game development Independent application script Web application script Extensions and database plug-ins such as MySQL proxy and MySQL workbench Security systems, such as intrusion detection systems lua-environment It can also be installed through homebrew on MAC for version management. brew install lua […]

  • Initialization mechanism in Bash

    Time:2020-3-30

    Bash initialization file Interactive login shell In the following cases, we can obtain alogin shell: Top level obtained when logging in to the systemshellWhether logging in through local terminal or network ssh. Obtained in this caselogin shellIt’s an interactiveshell。 Use under terminal–loginOption callbash, you can get an interactivelogin shell。 Use in scripts–loginOption callbash(for example:#!/bin/bash –login)You […]

  • Initialization mechanism in Bash

    Time:2020-3-30

    Bash initialization file Interactive login shell In the following cases, we can obtain alogin shell: Top level obtained when logging in to the systemshellWhether logging in through local terminal or network ssh. Obtained in this caselogin shellIt’s an interactiveshell。 Use under terminal–loginOption callbash, you can get an interactivelogin shell。 Use in scripts–loginOption callbash(for example:#!/bin/bash –login)You […]

  • Script debugging mechanism in Bash

    Time:2020-3-30

    Run script in debug mode adoptbash -x <script>You can run the entire script in debug mode,bashEach command line will be printed out before running, and the number of nesting levels of the command will be indicated with a + sign before each line > bash -x debug.sh + echo ‘First line’ First line: the output […]

  • Script msagent component Microsoft Genie finds out the system’s own pet

    Time:2020-3-28

    Copy codeThe code is as follows: ‘On Error Resume Next strAgentName = “Merlin” strAgentPath = “c:\windows\msagent\chars\” & strAgentName & “.acs” ScriptComplete=0 Set objAgent = WScript.CreateObject(“Agent.Control.2″,”agent_”) objAgent.Connected = True objAgent.Characters.Load strAgentName, strAgentPath Set objCharacter = objAgent.Characters(strAgentName) objCharacter.LanguageID = &H409 ‘objcharacter. Languageid = & h804’ menu is Chinese, but Microsoft did not develop Chinese voice objCharacter.MoveTo 0, […]

  • One small step of automatic deployment and one big step of front-end brick moving

    Time:2020-3-27

    staynodejsIn the context of increasing popularity,Front end EngineeringIts development is changing with each passing day. It’s normal for daily tasks to be scripted,webpackandgulpIt’s a household name, so it’s not necessary to talk about itContinuous integration / continuous delivery / continuous deploymentMore and more front-endTeamThe industry also has many mature concepts or solutions, such asHudson, Jenkins, […]

  • Fe.base – further nodejs version management and automatic switch: two or three things of enginestrict

    Time:2020-3-27

    This article does not discuss version management and use of NVM. When there are multiple front-end projects, thepackage.jsonBe sure to write configuration items in”engineStrict”and”engines”。 Example: //package.json “engineStrict”: true, “engines”: { “node”: “8.10.0” }, If usednpm installFor installation, the above configuration items cannot be detected at present, that is, the node version is incorrect and will […]

  • Description of running logic of reworld script

    Time:2020-3-23

    1、 Description of terms: Client Concept 1: a device is regarded as a client after it is connected to a game room, including display device, input device and output device. Concept 2: any visual game content you see after entering the game is part of the client. Concept 3: as many players as there are […]

  • Signal processing mechanism in Bash

    Time:2020-3-22

    Frequently used signals In mostLinuxIn the system, throughman 7 signalYou can view the types of signals supported in the current system,kill -lYou can view all signals and their corresponding numbers. Among them, we often use: (2) SIGINT: keyboard interrupt signal sent to the running process in the foreground, terminating(interrupt)Its operation, generally corresponding toCtrl + C. […]

  • Database version management: flyway exploration and Practice

    Time:2020-3-22

    Introduction:If you are an independent developer or do not need to maintain multiple systems, maintaining the database version is not complicated. But if your team is rapidly iterating or developing multiple functions at the same time, deploying your services on multiple production servers in parallel in multiple environment versions, database management will become a hassle. […]

  • Installation and test of the electron module of slog61 node jsgui

    Time:2020-3-22

    ArthurSlog SLog-61 Year·1 Guangzhou·China Sep 6th 2018 GitHub NPM Package Page ArthurSlog Page Nuggets Homepage Homepage of Jane book segmentfault Teaching without words and doing nothing is beneficial to the world Development environment MacOS (high Sierra 10.13.5) Required information and information sources: Electron is a third-party module of nodejs, the official website of electron Electron […]