Tag:Static state

  • Do you think that I will not dig out the configuration file in the database?


    1: Background 1. Tell a story I found a bug in the terminal of IOT cabinet a few days ago app.config The database connection string in is encrypted, because I want to switch the database during debugging, I need to put the ciphertext on a special tool to decrypt. After changing the database name on […]

  • Simple understanding of Java’s default and static methods


    This article mainly introduces a simple understanding of Java default and static methods, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to On the default and static methods of Java Allowing default and static methods to be declared in […]

  • Primary analog circuit: 5-5 class A and B power amplifier


    Back to the catalog 1. Basic working principle The main structure of class A and B power amplifiers (class AB) is similar to class B power amplifiers, but it can eliminate the crossover distortion of class B power amplifiers. The corresponding cost is to increase a little static power consumption, so its efficiency is slightly […]

  • Static page


    1、 Introduction to static web page 1. Overview It is to change a dynamic page (. PHP) into a static page (. HTML), and subsequent users can directly access the static page. Page static technology is divided into two types: true static and pseudo static. True static: turn a dynamic page into a static page, […]

  • Android serial 24 – local broadcast and forced offline function


    1、 Use local broadcast 1. An example of local broadcasting package com.example.broadcasttest2; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public class MainActivity extends Activity { private IntentFilter intentFilter; private LocalReceiver localReceiver; private LocalBroadcastManager localBroadcastManager; […]

  • User defined domain name, turn on anti red, and count the number of visits


    In our project, if we need to better spread our activity links, but the links are too long, 1 is not beautiful, 2 is too “cumbersome”, such as pinduoduo, Taobao alliance, their promotion links are short links, and Sina Weibo. However, these are always other people’s, we call other people’s API to generate, which is […]

  • What can nginx do? After reading this article, you will understand!


    Author: RayeLink: www.jianshu.com/p/8bf73d1a758c This article only aims at what things nginx can handle when it does not load the third-party modules. Because there are too many third-party modules, it can not be completely introduced. Of course, this article itself may not be complete. After all, I have used and learned about it personally. Welcome to […]

  • [theoretical research] on traditional IT infrastructure 04 server (Part 2)


    This article welcome reprint, reprint please indicate the source and author. Finally, the server is discussed from the perspective of application deployment. What is a server The so-called server is actually a computer with good hardware configuration (CPU, memory, etc.), redundant configuration of key components (power supply, network card, etc.), installed with application programs that […]

  • Webpack precompiled dllplugin


    1. What is dllplugin Dllplugin combines with the application of dllreprenceplugin plug-in to unpack and package the bundle files to be produced, which can completely speed up the packaging speed of webpack, thus greatly reducing the construction time in the development process.Explanation of dllplugin and dllreprenceplugin on webpack official website https://webpack.docschina.org… 2. Configuration webpack.dll.js Package […]

  • My java learning notes


    Break and continue package com.iteasyup.javase; Public class break keyword{ //Loop 1-10, but when I cycle to 5, the loop ends //Loop 1-10, but skip output 5 when looping to 5 public static void main(String[] args) { // for (int i = 1; i <= 10; i++) { // System.out.println(i); // if (i == 5) { […]

  • Java static keyword


    When a member is statically decorated, there is an additional way to call. In addition to being called by an object, it can also be called directly by a class name. Class name. Static member Static features: 1. Load with class loading Static will disappear with the disappearance of the class, indicating that it has […]

  • How to implement static in Java in kotlin


    Static modifier is a very common thing in Java, and its usage is also very many. However, there is no such thing in kotlin! How to replace it? This paper summarizes several common uses of static in Java to replace kotlin. Summary of Static usage in Java There are many usages of static in Java, […]