• How to change the color of the taskbar on the computer screen?


    Generally, the default color of the taskbar on the computer display screen is blue. Many friends sometimes want to change the color of the taskbar, and feel a little fresh. Today, I will share with you how to change the color of the taskbar on the display screen, hoping to help you! step Right click […]

  • How to show and not show hidden files in MAC (super simple)


    There are many ways to display hidden files in MAC. The simplest way is to input commands in MAC terminal. Show hidden files (pay attention to spaces and case) defaults write com.apple.finder AppleShowAllFiles -bool true or defaults write com.apple.finder AppleShowAllFiles YES Do not show hidden files: defaults write com.apple.finder AppleShowAllFiles -bool false or defaults write […]

  • Instance of swiping uiscrollview up and down to hide or show navigation bar in IOS development


    1、 Many apps have swiping uiscrollview up and down to hide or show the navigation bar. Here, I would like to talk about several methods that I think are useful: 1. After ios8, the system has a property hidebarsonshipe The Objective-C code is as follows self.navigationController.hidesBarsOnSwipe = YES; The swift code is as follows self.navigationController?.hidesBarsOnSwipe […]

  • JSP pagination display full instance


    This paper describes the implementation of JSP pagination display. Share with you for your reference. The specific implementation method is as follows: Copy codeThe code is as follows: <%@ page contentType=”text/html; charset=gb2312″ language=”java” import=”java.sql.*” errorPage=”” %> <%@include file =”../inc/ChkPwd.jsp”%> <%@include file=”../DB.jsp”%> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta name=”robots” content=”noindex,nofollow” […]

  • Display flex arrangement in CSS


    As for display: Flex layout, some people have a deep understanding of it. I also learned from watching other people’s things. Display: I don’t know what the layout and basic concepts of flex are. I only use it. Every time I see concepts and things like that, I just take a glance at them. First […]

  • The use of @ 2x graph and @ 3x graph in mobile terminal project


    In the process of mobile terminal development, we need to modify the size of the icon according to the DPR of the mobile phone If the device pixel is greater than or equal to 2, double image is used Define a method in stylus bg-image($url) /\*If the device pixel is greater than or equal to […]

  • The use of @ 2x and @ 3x graphs in mobile projects


    During the development of mobile terminal, because of the DPR of mobile phone (different device pixel ratio), we need to modify the size of icon according to the DPR: If the device pixel is greater than or equal to 2, use 2-fold graph Define a method in stylus: bg-image($url) /\*If the device pixel is greater […]

  • How to display package date in Android page


    There is a demand for the project, and it is required to display the date of packaging the installation package in the app. My idea is: 1, in build.gradle The packaged date variable is defined in. 2. Reference the variables automatically generated by buildconfig file in app and display them. The implementation is as follows: […]

  • An example of image upload and display in JSP


    In this paper, an example of JSP image upload and display methods. Share with you for your reference. The details are as follows: 1. Introduction Database applications, especially those based on Web, often involve the storage and display of picture information. Generally, we use the method of storing the image to be displayed in a […]

  • A detailed explanation of the inline block layout implementation of the display attribute of CSS


    CSS display property Note: if! DOCTYPE is specified, Internet Explorer 8 (and later) supports attribute values “inline table”, “run in”, “table”, “table caption”, “table cell”, “table column”, “table column group”, “table row”, “table row group”, and “inherit”. All major browsers support the display attribute. Definition and Usage The display attribute specifies the type of box […]

  • Steps to solve the problem of xhost: unable to open display in the installation of ORACLE 11g


    1、 Xhosts error After vncserver is installed, the local PC Notebook can connect to the Oracle server remotely through VNC viewer, but in the process of xhost + error reporting, localhost, and local IP address, all of which are unable tool display, as shown below: [[email protected] ~]# export DISPLAY=localhost:1 [[email protected] ~]# xhost xhost: unable […]