iOS Development Network Chapter One-to-One JSON Resolution

1. What is JSON? 1). JSON is a lightweight data format commonly used for data interaction. 2). Data returned by the server to the client, usually in JSON or XML format (except file downloads) 3). JSON is formatted much like dictionaries and arrays in OC { "name" : "jack" , "age" :  10 } { "names" : [ "jack" , "rose" , "jim" ] } Note for s ...

Posted on Mon, 11 May 2020 14:11:17 -0400 by nyk

JS directly downloads pictures and videos instead of opening previews

The attachment list in a project usually needs to provide the function of downloading and deleting. The function itself has nothing to say. It is a basic function. The download function of the browser is also used in the way of window.open(url), or window.location.href=url. The url is the attachment Download interface. The browser automatically ...

Posted on Sat, 09 May 2020 11:47:18 -0400 by kid85

Android QR code scanning (imitating wechat interface), according to Google zxing

Android QR code scanning (imitating wechat interface), according to Google zxing QR code scanning is often used in Android project development. For example, Google has an open source library (address: https://github.com/zxing/zxing ), there are still a lot of contents in it. If you want to learn more about it, it's good. Of course, we have ...

Posted on Sat, 09 May 2020 11:47:55 -0400 by zampu

Crawler capture the latest method of the whole web, this time it is finally 4k high-definition beautiful picture, just because I don't download JPG pictures!

I've always had a dream of learning reptiles, which is to really achieve the attitude of being visible and able to climb, so I've been trying to find a way to deal with it, from the first analog interface to hand over data, but I found that it didn't work, but all roads lead to Rome, and how can the wav ...

Posted on Sat, 09 May 2020 07:05:52 -0400 by jaxdevil

Want to know what the future child looks like? Python face fusion tells you

Compared with face changing algorithm, face fusion algorithm is much more flexible. As the name implies, face fusion is the fusion of two faces, and the generated face has the appearance characteristics of two faces at the same time. What is the practical significance of face fusion? A simple application is to fuse the facial images of both par ...

Posted on Sat, 09 May 2020 04:46:47 -0400 by castor_troy

Animation of Python's Avatar. Create your own

1, Foreword Most of the time, we will worry about the head portrait. The salt fish like me, who hasn't changed the head portrait for thousands of years, has never had such a worry. However, it's very interesting to have a personalized head, because this nose picking head is in line with my temperament ...

Posted on Fri, 08 May 2020 20:47:34 -0400 by Tr4mpldUndrfooT

How to implement an API gateway using Golang

Have you ever wanted to expose an interface to the network. But you have to add some permissions, otherwise it's not good to be called by others. The process of permission verification should be as simple as possible. Maybe it's just to compare two strings that are equal. In general, we need to implement or add a global interceptor. But I still ...

Posted on Thu, 07 May 2020 01:51:19 -0400 by bigdspbandj

Thymeleaf built-in object expression completeness

Here, the built-in expressions from Thymeleaf version 3.0 are collated- Reference from Official Thymeleaf 3.0 Documentation , Articles 18 and 19 1. Expression Basic Object Reference from Thymeleaf 3.0 Official Document Article 18 1.1 Base Object #ctx: Context object ${#ctx.locale} ${#ctx.variableNames} ${#ctx.request} ${# ...

Posted on Wed, 06 May 2020 13:32:15 -0400 by umguy

How can I get through SpringCloud and HSF calls?

background In 2019 we experienced a whole year of migrations, including a switchover of the RPC framework.The HSF RPC framework that we used before comes from Alibaba. After years of high concurrency of Double 11, there is no doubt that there are no problems with high performance. It also supports both TCP and HTTP. The only bad thing is that i ...

Posted on Wed, 06 May 2020 12:19:30 -0400 by rhosk

andorid jar/library source parsing zxing

Catalog: andorid jar/library source code parsing  Zxing: Role: Generate and identify, two-dimensional code, bar code. Chestnuts: Generate a QR code to assign to ImageView      QRCodeWriter qrCodeWriter = new QRCodeWriter(); Map<EncodeHintType, String> hints = new HashMap<>(); hints.put(EncodeHintType.CHARACTER_ ...

Posted on Tue, 05 May 2020 13:19:38 -0400 by dad00