Ubuntu package system is broken

Text linkAn error occurred when installing the software and encountered the problem of damage to the package management system. Find solutions on askubuntu.First:sudo apt-get -f install There is no download to complete the file.Then: sudo apt-get updateThen:Repeat execution sudo apt-get -f install Until only the wrong package is left.Then:sudo dpkg —configure -aFinally, clear the cache.sudo apt-get clean ​

JAVA summary of basic knowledge 6 (one of object-oriented features: polymorphism)

> = On the left, run to see = right.   3,Static functions.     Compile time: refer to whether there are invocation members in the class of the referenced variable.     Runtime: it also refers to the members who are invoked in the class that the reference variable belongs to.     Why is this so?Because static methods do not belong to the object, but belong to the class that the method belongs to.     Invoking the static method reference is the static method in which class the reference is invoked.

Xargs of the linux——–find command

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px "Hannotate SC"; color: #0433ff } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px "Hannotate SC" } p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px "Hannotate SC"; min-height: 24.0px } span.s1 { } span.s2 { font: 18.0px "Hannotate SC"; color: #0433ff } span.Apple-tab-span { white-space: pre } Reference blog: findCommand xargs findThe difference between – exec and xargs in the command is that the find command passes all matched files together to exec for execution, but passes all matched files in batches to xargs for execution....

Overflow of CSS

Guide: Overflow attributes are generally used to hide elements beyond the div range, including four attributes: visible, hidden, scroll, and aotu. Of course, the usage of overflow.It’s not that simple to understand. We need to use overflow in many Web pages. This article introduces the four common attribute values of overflow and their use. According to the box model of CSS, every element in the page is a rectangular box. The size, location and behavior of these boxes can be controlled by CSS. For behavior, I mean when it changes inside and outside the box, how does it deal with it? For...

Custom guide for blogging idiocy blog Garden

THE SHORT STORY You can have the following pages in two steps. (cats can blink.) Step one: manage your blog backstage and set the blog skin to darkgreentrip. Step 2: Paste the following code into “Page Custom CSS Code” and “Header Html Code” respectively.Don’t pick it up“Disable template default CSS) /*-----------------------------Page customization CSS codeBody{Background: transparent;}#main{BACKground-color: RGB (236, 239, 241);}#blogTitle {Height: 270px;Background-color: blaCK;Color:white;}#blogTitle h1{Text-align: center;Margin-left: 0;Font-siZe: 2.5em;...

JS case four: interlacing and highlighting of tables

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function() { var oldColor; var tblEle = document.getElementById("tbl"); var len = tblEle.tBodies[0].rows.length; for(var i = 0;i<len;i++) { if(i%2==0) { tblEle.tBodies[0].rows[i].style.backgroundColor = "pink"; //Adding mouse passesTblEle.tBodies[0].rows[i].onmouseover = function () {Old...

Linux install kibana

Download kibana wget https://artifacts.elastic.co/downloads/kibana/kibana-6.3.2-linux-x86_64.tar.gz tar -zxvf kibana-6.3.2-linux-x86_64.tar.gz Modify configuration file vim config/kibana.yml # Release the annotation and change the default configuration to the following:Server.port:5601 server.host: "0.0.0.0" elasticsearch.url: "http://192.168.202.128:9200" kibana.index: ".kibana" start-up bin/kibana Effect