Detailed notes on getting started with MySQL database

ps: The contents in brackets [] can be omitted and added as required Database operations Create database Syntax: create database [if not exists] data name charset=gbk; create database if not exists tow charset=gbk; Query OK, 1 row affected If not exists - > judge whether it is repeated Charset = GBK - > simplified Chinese Simplifi ...

Posted on Sun, 03 May 2020 09:04:02 -0400 by Farside

ajax options configuration in bootstrap table

Ajax options configuration in bootstrap table 1. Several configurations of bootstrap table configuration { url:"", method:"post", contentType:"application/json",//Data encoding type sent to server queryParams:function(params)//When requesting server data, you can add additional parameters by overri ...

Posted on Sun, 03 May 2020 00:55:17 -0400 by S A N T A

Python 3 data processing (2) -- cleaning data

Programming with Spyder 3.5 A mn.csv file we studied, titled: HH1 HH2 LN MWM1 MWM2 MWM4 MWM5 MWM6D MWM6M MWM6Y MWM7 MWM8 MWM9 This form We find the specific meaning of these abbreviated titles, which coexist in the mn_headers.csv file So how to match these titles with survey data one by one ...

Posted on Sat, 02 May 2020 19:15:20 -0400 by gabriellevierneza

Android Edittext mobile number format input settings

1, Renderings According to the demand, it is necessary to input the digital text in the format of mobile phone number, which can be automatically separated into beautiful format with space according to the mobile phone number when input. After clicking, it can verify whether the mobile phone number is a mobile phone number 2, Code impleme ...

Posted on Sat, 02 May 2020 18:34:59 -0400 by Gayathri

JAVA - Common IO stream class

Common IO flow class diagram Byte stream: used to operate byte data, byte stream can be used to copy all data, read and write files, but byte stream reading Chinese may cause garbled code. Character stream: character stream will not cause garbled code when reading Chinese. Character stream can be used to copy ( ...

Posted on Sat, 02 May 2020 16:17:50 -0400 by void_function

java web download file name garbled

Web Development Download File function (the code is as follows). If the file name is in Chinese, it often appears garbled phenomenon and needs to be encoded. String fileName = "Test documents.doc"; try { HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().get ...

Posted on Sat, 02 May 2020 16:06:23 -0400 by firemankurt

RecycleView text ceiling, click ceiling layout to refresh data

Achieving results demand Recycle has a header layout that slides with the list You can reload the list data after clicking the header layout As the head layout disappears, leave a clickable layout (this layout is in the head layout) The effect is similar to the following figure: Taobao's product list, as we slide down, will only le ...

Posted on Sat, 02 May 2020 14:34:38 -0400 by coderage

android dynamically adds layout (based on mvvm and data binding)

android often needs to add layout dynamically, for example: The number of days that need to be returned in the background to dynamically add a layout is as follows: Mode 1. Based on recycleView recyclerView uses a framework based on mvvm and data binding github address xml layout, returns the number of days through ...

Posted on Sat, 02 May 2020 06:49:17 -0400 by 7pm

Using AJAX in struts 2

1, Output as stream using HttpServletResponse Use the getWriter() method of HttpServletResponse to output PrintWriter directly in Action; public class AjaxPrizeKindsAction extends ActionSupport { private Logger logger = Logger.getLogger(AjaxPrizeKindsAction.class); private IPrizeKindInfoService prizeKindInfoService; @Override public Stri ...

Posted on Sat, 02 May 2020 05:15:23 -0400 by bloom

Implementation of HLS live broadcast (M3U8) review and download function

Streaming media is always the most important part of public life and entertainment, and it is also difficult in technology development, especially live broadcasting. Not only the function is irreplaceable, but also the development is more difficult than on-demand. Major sports events such as Rio Olympic Games can only be watched by live broadca ...

Posted on Sat, 02 May 2020 02:20:55 -0400 by The_Stranger