• CentOS ip_ Conntrack: table full, dropping packet solution


    So why IP_ Conntrack: table full, dropping packet? Iptables uses a connection tracking table to describe the connection status. When the table is full, the information will be written in the log. This may be a little difficult to understand, so under what circumstances do we need to find this record in the log? When […]

  • How to set table as read-only property in Lua


    Some read-only tables in the project are easy to be rewritten by mistake, so it is decided to attach these tables in a non online environmentRead only attribute, it is convenient to throw Lua errors in case of misrewriting. The final version code is as follows: –[[——————————————————————————  -**   Set table read-only   Lua will […]

  • Example of method for converting Lua table to c# dictionary


    Table property Table is an “associative array”. The index of the array can be a number or a string. All index values need to be enclosed by “[” and “]”; If it is a string, you can also remove quotation marks and brackets; That is, if it is not enclosed by [], it is considered […]

  • Let’s talk more about the magical table in Lua


    preface Recently, I was trying to configure awesome WM, so I learned Lua roughly. In the process of learning, I was completely overwhelmed by the application of table in Lua. Table is really ubiquitous in Lua: first, it can be used as a dictionary and array; In addition, it can also be used to set […]

  • A brief example of lua’s object-oriented programming infrastructure table


    object-oriented programming Object oriented programming (OOP) is a very popular computer programming architecture. LuaThe most basic structure istableTherefore, you need to use table to describe the properties of the object. Function in Lua can be used to represent methods. Then the classes in Lua can be simulated through Table + function. Brief example: ? 1 […]

  • Troubleshooting of optimize table error


    A certain database is about 360W. In order to improve query efficiency, do some optimization and use optimize table.name; Table does not support optimize, doing recreate + analyze instead appearsDecisively Google and find an e text… Everytime you do optimize MySQL, by using mysqlcheck -A -o or using ./mysql_optimize from here. You may see the […]

  • On HTML table tag


    This paper mainly discusses its structure and some important properties. I will introduce it in a slowly improving way.1) The basic structure is as follows: < tr > represents a row in a table, < td > represents a column in a row. Say a column, actuallyThink of it as a cell in word< Th […]

  • Vue table implements addition and deletion


    This example shares the specific code for adding and deleting Vue table for your reference. The specific contents are as follows 1、 Code <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> < title > Vue table example < / Title > <style> .table_box { height: auto; width: 90%; margin: 5% auto; } .table { border-collapse: collapse; width: […]

  • Folded table row element bug


    Let’s take an example: the code is very simple, as follows: Copy code The code is as follows: <table border=”1″> <tr> <td>dd</td> <td>dds</td> </tr> <tr> <td>ss</td> <td>sss</td> </tr> </table> In this way, a table has two rows and two columns, and there is no display error in any browser. However, if I add the following […]

  • Method of realizing paging + sorting function with ASP. Net MVC + data table


    This paper describes the method of realizing paging + sorting function with ASP. Net MVC + data table. Share with you for your reference, as follows: Implementation idea: Use the built-in paging of datatable to sortUse attribute + reflection to control the fields to be sorted and displayed and the orderSeparating sorting and display logicTo […]

  • Usage Summary of bootstrap table


    This article shares the usage of bootstrap table for your reference. The specific contents are as follows Official website information design sketch: Case: html <!– Table — > <table data-toolbar=”#toolbar” data-show-columns=”true” data-show-columns-toggle-all=”true”> <%– <thead>–%> <%– <tr>–%> <%– <th data-field=”cityName”>ID</th>–%> <%– <th data-field=”cityName”>Item Name</th>–%> <%– <th data-field=”cityName”>Item Price</th>–%> <%– </tr>–%> <%– </thead>–%> </table> javascript $(document).ready(function () […]

  • Splitting and merging table in HTML (colSpan, rowspan)


    Code demonstration horizontal merge: <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> < title > demo table tag 2 — cell merging < / Title > <style type=”text/css”> td{ text-align: center; } </style> </head> <body> <table border=”1″ cellspacing=”0″ width=”50%” height=”150″> < caption > merge cells horizontally < / caption […]