• Magicodes.IE Export multiple format files through request header in. Net core


    preface In the 2.2 milestone, we added some new functions. As the title says, we export our files in different formats through the request header. Let’s take a look at how to use them. In this way, we can easily configure both our data multipurpose and our data verification. At the same time, we will […]

  • How to get IOS device information


    + (NSString *)getPhoneDevice{ / / import “sys / utsname. H” is required    struct utsname systemInfo;     uname(&systemInfo);     NSString *deviceString = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding]; Nslog (@ “model:% @”, devicestring);    //iPhone     if ([deviceString isEqualToString:@”iPhone1,1″])    return @”iPhone 1G”;     if ([deviceString isEqualToString:@”iPhone1,2″])    return @”iPhone 3G”;     if ([deviceString isEqualToString:@”iPhone2,1″])    return @”iPhone 3GS”;     if ([deviceString isEqualToString:@”iPhone3,1″])    […]

  • 0312 java interface test Sanleng Junci rest assured


    background Java programmers usually write back-end services, which are java web type projects, mainly including HTTP interface and Dubbo interface. The HTTP interface generally adopts rest style. Then how to test the rest interface quickly on the third-party test framework?The rest assured framework is a good tool. It’s like a soldier’s three edged spear, as […]

  • SQL Server’s disambiguation — restriction and skipping of identity column


      1: Only one identity column can be created per table.   As shown in the following test, if there is an identity column in the table, adding an identity column will encounter an error“Multiple identity columns specified for table ‘TEST’. Only one identity column per table is allowed.“   CREATE TABLE dbo.TEST (     ID        […]

  • Heavy release | 380 pages of Gaode core technology open, speed collection!


    Reading guide of Ali Mei:Looking back on 2019, as the first national travel platform with a daily life of more than 100 million, the number of users of goto map to C and to B will reach a new high. It is thousands of Gaode technicians who work hard day and night to support and […]

  • Markdown makes documents more efficient


    What is markdown? Markdown is a pure text markup language. Through simple markup syntax, it can make common text content have certain format. 0.1 advantages Pure text editing, clear structure. The operation is simple and the learning cost is low. Documents can be exported to HTML, word, image, PDF, ePub and other formats. 0.2 disadvantages […]

  • Large file HTML5 block upload based on PHP larevel


    When a large file is uploaded, it usually takes a long time to process. At the same time, there may be problems such as user’s cancellation and network disconnection. Using HTML5 slicing upload technology can effectively improve the user experience when uploading large files. Based on the back-end framework of PHP larravel and the component […]

  • Canvas series tutorial 05 – histogram project 3


    The book continues with the above, we do some preparatory work in advance, such as drawing before the first coordinate margin, as well as various font sizes. You need a little bit of object-oriented knowledge here, ‘use strict’; //Imitation http://echarts.baidu.com/demo.html#bar -gradient window.onload = function(){ var data = [ {“label”: “January”, “value”: getrandomint (0400)}, {“label”: “January”, […]

  • Solve the problem that the front-end websocket is broken after the background service is restarted


    When the back-end server is down or restarted, the front-end Vue continuously reconnects the websocket Problem recurrence: when the back-end service is restarted, the front-end connected websocket is broken, and it is necessary to refresh the page to re-establish the connection. In addition, some business scenarios, such as the large screen of the hardware monitoring […]

  • Oracle database object naming specification


    After reading this chapter, you will learn the following: When do you use it most? What are the benefits? General naming conventions for different objects Purpose of writingThe unified naming and coding standard is used to standardize the naming and coding style of database,To facilitate reading, understanding and inheritance! General manager: do not use Chinese […]

  • Initial webapi (2)


    The first part mainly introduces what webapi is, what it does, how to call back-end data and so on… Continue to learn a new knowledge today. In the last article, we mainly introduced how to call the background to add, delete, modify and query data according to Ajax. So, can we only add, delete, modify […]

  • How to implement the embedded point scheme without invasion in IOS?


    In the process of development, embedded point can solve two kinds of problems: one is to understand the user’s behavior of using app, the other is to reduce the difficulty of analyzing online problems. At present, the common embedding methods in IOS development mainly include: Code embedding point Visual buried point No buried point Code […]