Front end CSS: 2 × pure CSS to realize colorful buttons (box shadow)

introduce box-shadow introduceChinese color Thanks comehope Big guy Daily battle in front end Enlightenment to me There are already 100 + exercises, but this kind of exercise is not deliberately aimed at their own weak problems, and for some concepts, it is still in the state of "Oh, aha, I understand (actually do not understand)" s ...

Posted on Thu, 12 Dec 2019 13:59:19 -0500 by slpctrl

A simple example of vue+vuex, novice

This example is a simple version that I modified after imitating an example on github. With some functions missing, I will simplify to practice at the beginning. Don't spray if you don't like it This is the address of the original project: https://github.com/bailicangdu/vue2-happyfri Start with effect chart: Start Page - answ ...

Posted on Thu, 12 Dec 2019 10:35:05 -0500 by yuws

Using opentracing and Jaeger to realize link tracing of golang

Jaeger is an open source distributed tracking system launched by Uber, which is compatible with opentracking API.We can use opentracing to record the embedded points in the key code, and quickly and intuitively view the call execution on the line. Main points config settings cfg := &config.Configuration{ Sampler: &config.SamplerConf ...

Posted on Thu, 12 Dec 2019 08:11:36 -0500 by keiron77

Technology sharing and using binlog Event to find problems

Author: Gao Peng (eight monsters) At the end of the article, there is his book "in-depth understanding of MySQL master-slave principle 32", in-depth understanding of MySQL master-slave, GTID related technical knowledge. With the previous understanding of events, we can use these events to complete some work. After learning these com ...

Posted on Thu, 12 Dec 2019 01:53:02 -0500 by MoFish

Source file PF4J cannot be deleted after class uninstallation

background We have a Plugin management system that enables hot loading of Jar packages based on a Plugin management class library PF4J , similar to OSGI, is now a thousand Star project on GitHub. The following is an official description of the library > A plugin is a way for a third party to extend the functionality of an application. A plug ...

Posted on Wed, 11 Dec 2019 21:51:30 -0500 by gateway69

Picture upload that thing

Front-end pictures upload those things This article talks about picture upload, mainly for the upload of avatars.As you all know, upload avatars are generally divided into the following four steps: Select Picture->Preview Picture->Clip Picture->Upload Picture Next, the implementation of each step is described in detail. Select Pict ...

Posted on Wed, 11 Dec 2019 21:45:06 -0500 by aleph_x

Retry retry mechanism

There are two retry mechanisms: Guava and spring. Guava retryer tool pom reference <dependency> <groupId>com.github.rholder</groupId> <artifactId>guava-retrying</artifactId> <version>2.0.0</version> </dependency> test method Retryer<Boolean> retryer = RetryerBuilder.<Boo ...

Posted on Wed, 11 Dec 2019 15:55:21 -0500 by synapp2

sdcard path not found under [Android][Recovery] Recovery

When upgrading, copy the update package to the sd card, then call the interface to restart the upgrade.wossoneri.github.io File update_file = new File("/sdcard/update.zip"); try { Log.d("WOW", "install " + update_file.getAbsolutePath()); RecoverySystem.installPackage(getBaseContext(), update_file); } catch (IOException e) { e.printS ...

Posted on Wed, 11 Dec 2019 13:16:51 -0500 by freedomsam

Python script for converting ppt file to mp4 video

ppt2mp4 (Python2.7) Convert the ppt file to mp4 video. GitHub premise 1. Windows system is required and windows multimedia player is enabled. You need to install a previous version of Office 2010. Because PowerPoint needs to rely on Windows multimedia player to convert ppt to video. If it is not enabled, it needs to enable desktop experience fr ...

Posted on Wed, 11 Dec 2019 09:37:33 -0500 by varecha

Remember some practical commands of Arthas to solve online problems

Centos installation installation and startup of Arthas curl -L https://arthas.gitee.io/install.sh | sh Before starting as, you need to configure Java home JAVA_HOME=/usr/java/jdk1.8.0_131 export JAVA_HOME Find the installation directory of as to execute #Target IP is the IP that specifies the binding. If you do not specify IP,arthas onl ...

Posted on Wed, 11 Dec 2019 04:58:10 -0500 by hd_webdev