Tag:Too long

  • ABAP regular expression verification of Excel data


    FUNCTION ZTEST_XIAOY_CHECKTF. *”———————————————————————- *”*” local interface: *” IMPORTING *” REFERENCE(IV_TABNAME) TYPE TABNAME *” TABLES *” IT_DATA *” ET_MESSAGE STRUCTURE ZSHR_MESSAGE *”———————————————————————- DATA: dyn_table TYPE REF TO data, ”gs_display type ref to data, lo_descr type ref to cl_abap_structdescr, lt_fields type ddfields, lv_zz type string, ls_fields like line of lt_fields, ls_message type zshr_message, lv_text type string, lv_line […]

  • Solution to the problem of too long JSP display text


    Copy codeThe code is as follows: <tr>    <td height=”60px;” width=”20%” align=”right” valign=”top”>< font style = “font weight: bold;” > Title: < / font >     </td>    <td height=”60px;” width=”80%” align=”left” valign=”top”>        <a href=”#” style=”color: white;” onmousemove=”showdiv(‘span_div’,”,event)” onmouseover=”showdiv(‘span_div’,”,event)” onmouseout=”showdiv(‘span_div’,’none’,event)”>    <c:if test=”${fn:length( schedule.content EQ null?’none ‘: schedule.content )>70}”>${fn:substring( schedule.content EQ null?’none ‘: schedule.content ,0,70)}…</c:if></a>        <span><c:if test=”${fn:length( schedule.content EQ […]

  • Frequent operation of local cache causes YGC to take too long


    One day, a group friend sent a picture of GC log in the JVM discussion group. The main problem is that YGC is too long and takes about 200ms each time.     The JVM parameters used are as follows:       -Xmn2048m -Xms4096m -Xmx4096m -XX:+PrintGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=128M     […]

  • Solution to slow download dependence of electron


    Build a ladder During the installation process, the installation may fail or the download time may be too long to configureyarnDownload using ladder $ yarn config set proxy After installation, the ladder can be removed if you don’t want to use it $ yarn config delete proxy Create directory and install $ mkdir electron-demo […]

  • leetcode479. Largest Palindrome Product


    Topic requirements Find the largest palindrome made from the product of two n-digit numbers. Since the result could be very large, you should return the largest palindrome mod 1337. **Example:** Input: 2 Output: 987 Explanation: 99 x 91 = 9009, 9009 % 1337 = 987 **Note:** The range of n is \[1,8\]. The function passes […]

  • Java cross domain, resttemplate high and send exception and configuration, JSON data long to string


    Cross domain support import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.CorsConfiguration;import org.springframework.web.cors.UrlBasedCorsConfigurationSource;import org.springframework.web.filter.CorsFilter; @Configurationpublic class CorsConfig { /** *Cross domain support * * @return */ @Bean public CorsFilter corsFilter() { final UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); final CorsConfiguration config = new CorsConfiguration(); Config.setallowcredentials (true); // allow cookies to cross domains Config.addallowedorigin (“*”); // ා URI that allows requests to […]

  • The problem of incomplete loading of nginx pages


    In the server of nginx, add: proxy_buffer_size 2m; proxy_buffers 8 1m; proxy_busy_buffers_size 2m; This is because the page content is too long and the default value is relatively small.