Category:Development Tool

  • Vue realizes the effect of scrolling over the height of the first screen and clicking the small box to return to the top (both Firefox and ie are valid)

    Time:2021-8-2

    Train of thought analysis Back to the top effect, the idea is actually very simple. There is a box at the beginning, which is fixed in the lower right corner of the browser web page and should be hidden at the beginning. Only when the scroll exceeds the height of the first screen will it […]

  • [memo] sublime3 configuration

    Time:2021-8-2

    List of installed plug-ins Package Control Sublime Text 3 | Ctrl+~ import urllib.request,os; pf = ‘Package Control.sublime-package’; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), ‘wb’).write(urllib.request.urlopen( ‘http://sublime.wbond.net/’ + pf.replace(‘ ‘,’%20’)).read()) stayPackage Control InstallationPage to find the latest installation code Predawn [skin] HTML CSS JS prefix [for formatting HTML and JavaScript] Pretty JSON [used to […]

  • Command line extension for vscode learning

    Time:2021-8-2

    Command line extension for vscode learning Command line is the most commonly used function of vscode. Command line extension is an indispensable part of vscode’s own extensibility Creation and operation of components establish Initialize an extension through yeoman and vscode extension generator npm install -g yo generator-code yo code Typescript is one of the features […]

  • Jasperexception: java.lang.illegalstateexception: no output directory

    Time:2021-8-2

    environment Linux/Ubuntu20.04LTS IntelliJ IDEA Community Editon 2021.1 apache-tomcat-8.5.68 abnormal Org.apache.jasper.jasper exception: java.lang.illegalstateexception: no output directory Touch: unable to create ‘/ usr / local / apache-tomcat-8.5.68/logs/catalina.out’: insufficient permissions ./catalina.sh: 504: cannot create /usr/local/apache-tomcat-8.5.68/logs/catalina.out: Permission denied reason The folder where Tomcat is located does not have read and write permission programme Open the read-write permission of the […]

  • Use the Android studio profiler tool to parse the application’s memory and CPU usage data

    Time:2021-8-2

    In order to help developers develop lighter and more efficient applications, we have added Android profiler tool to Android studio 3.0 and later for CPU, memory, network and energy consumption analysis of applications. Among the four performance data provided by Android profiler, we are more concerned about CPU and memory usage in most scenarios. This […]

  • Maven POM configuration translation

    Time:2021-8-2

    POM Original:https://maven.apache.org/guid… Build project In the process of developing Java, you may use many dependent packages, from third parties or Maven warehouses built by yourself. Version compatibility management between dependent packages is a thorny problem in development. Maven records all dependency related information in the POM. XML file, and then automatically downloads and builds these […]

  • Emacs development environment configuration (3) — java development environment

    Time:2021-8-2

    1、 Reference Emacs series article directory – updating Java Programming in Emacs 2、 Environment installation 2.1 dependent installation Software explain Java maven 2.2 installationLSP 2.3 installing plug-inslsp-mode M-x package-install [RET] lsp-java [RET] #Create Maven project mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false IIIlspuse 3.1 characteristics characteristic explain Syntax check flycheck/lsp-ui Code completion, auto fill company-capf, […]

  • Regular expression notes: introduction notes, quick reference, advanced: group properties, VIM magic and practice field

    Time:2021-8-2

    Friends who mention regularization and do deep learning may first think of L1 / L2 regularization algorithm to prevent parameter over fitting. This regularity is not that regularity.Regular expression (regex)It is used for string matching, with clear rules, concise syntax and a wide range of application scenarios. Almost all friends who write code have come […]

  • Do you usually use these git commands?

    Time:2021-8-2

    Use of GIT Git init initialize local warehouse Git remote add origin “xxxxxxxxx” associate remote warehouse Git add add file to local warehouse Git commit – M “initialize warehouse” submit modifications to local Git push – U origin master push to remote warehouse Git checkout – B local branch Creates a new local branch starting […]

  • Docker builds PHP environment

    Time:2021-8-2

    Version introduction cliCommand line version apacheApache version fpmReverse proxy version alpineCompact version buster & stretchFor Debian distribution Mode of use Method 1: build based on dockerfile vim Dockerfile FROM php:7.3-fpm RUN mv “$PHP_INI_DIR/php.ini-production” “$PHP_INI_DIR/php.ini” COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ “php”, “./your-script.php” ] $ docker build -t my-php-app . $ docker run -it –rm […]

  • readme.md

    Time:2021-8-2

    Make a readme because no one can read your mind (yet) Realdme supports multiple file formats, the most common being markdown.For readme learning, please refer to the reference guideFor readme format exercises, please refer to interactive tutorial While READMEs can be written in any text file format, the most common one that is used nowadays […]

  • Too strong, the hair remains intact! Open source real-time video matting tool by researchers at the University of Washington

    Time:2021-8-2

    [introduction]: a real-time, high-resolution background replacement technology that preserves hair details with amazing results. brief introduction Background matching V2 is a real-time and high-resolution background replacement technology proposed by several researchers at the University of Washington   Python   Implemented. At 4K resolution, the operation speed of this technology is 30fps, and on modern GPU, […]