Does an open source blog theme hide private goods?

First of all, this article is just my guess. If there is something wrong, please correct it in time background A few days ago, a friend introduced that he saw a blog Park theme. The theme had a great idea. It was not so good, but later he looked at the source code and found some secret things. Source Address https://github.com/cjunn/cnblog_ ...

Posted on Tue, 12 May 2020 20:03:25 -0400 by skyace888

Top TabLayout with Dynamic Height ViewPager Effect

First look at the effect picture (gif recording is a bit of a problem...Take a look at it: Ideas: 1. Dynamic Height ViewPager with TabLayout 2. Let Header's TabLayout show or hide when sliding according to the sliding position 3. After sliding, let ScrollView slide to the specified position (ViewPager ...

Posted on Tue, 12 May 2020 12:24:49 -0400 by StefanRSA

C ා log4net learning notes: log to database

I. data preparation To create a log data table LogDetail in SQL Server: CREATE TABLE [dbo].[LogDetail]( [LogID] [INT] IDENTITY(1,1) NOT NULL, --Self increasing ID [LogDate] [DATETIME] NULL, --Log time [LogLevel] [NVARCHAR](10) NULL, --log level [LogThread] [NVARCHAR](10) NULL, --thread ID [Logger] [NV ...

Posted on Tue, 12 May 2020 09:48:01 -0400 by nathus

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