TinyHttp Source Code Analysis

Main function 1. Server-side initialization: Create socket => Set Port Reuse => Bind socket and server address => If no port is specified, dynamically allocate => listen int on = 1; unsigned int port = 4000; struct sockaddr_in name; int lfd = socket(PF_INET, SOCK_STREAM, 0); //Create socket memset(&name, 0, sizeof(name)); // ...

Posted on Thu, 03 Oct 2019 22:26:25 -0700 by jh_dempsey

The Use of Jrtplib on Android Platform

Due to the need to use rtp protocol in work, java does not have a better development framework for the time being. Referring to some other blog articles, I try to use jrtplib library for my own sake, and record it here. In my last article, I explained how to compile the jrtplib Library Porting jrtplib ...

Posted on Thu, 03 Oct 2019 12:46:04 -0700 by hoogeebear

Elastic search plug-in - participle IK analyzer plug-in installation details

Introduction to IK Analyr IK Analyzer is an open source, lightweight Chinese word segmentation toolkit developed based on Java language. At the beginning, it was an open source Lucene Lucene as the main body of the application, combined with the Chinese word segmentation component of dictionary segm ...

Posted on Thu, 03 Oct 2019 12:36:54 -0700 by LemonInflux

jquery.fly plug-in realizes parabolic animation adding to shopping cart

Links to the original text: https://www.jb51.net/article/81936.htm I. Plug-in Download Plug-in Official: https://github.com/amibug/fly Load jQuery library file and jquery.fly.min.js plug-in <script src="jquery.js"></script> < ...

Posted on Thu, 03 Oct 2019 10:49:24 -0700 by Kunax

c#Winform Custom Control - Resource Loading Form

premise It's been 7 or 8 years, and I've always wanted to make a beautiful set of custom controls, so I've got this series of articles. GitHub: https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net_winform_custom_control.git If you think it's OK, please click ...

Posted on Thu, 03 Oct 2019 06:55:40 -0700 by GBS

Python serializes 32-multithreaded other properties and inherits Thread classes

I. Common Thread Properties 1. threading. current Thread: Returns the current thread variable 2.threading.enumerate: Returns a list of running threads, which refers to the state of the thread after it starts and before it ends. 3.threading.activeCount: Returns the number of threads running with the same effect as len(threading.enumer) 4.thr ...

Posted on Wed, 02 Oct 2019 23:11:28 -0700 by shibbi3

Faster-RCNNTF Faster RCNN: resnet_v1.py Code Reading Notes

Links to the original text: https://blog.csdn.net/gusui7202/article/details/84799212 Original Blog Statement: Copyright Statement: This article is the original article of the blogger. It follows CC 4.0 by-sa Copyright Agreement. Please a ...

Posted on Wed, 02 Oct 2019 18:18:21 -0700 by devx

Nginx configuration record

Nginx configuration record Anti-theft chain location ~* \.(gif|jpg|png)$ { # Only 192.168.0.1 requests for resources are allowed valid_referers none blocked 192.168.0.1; if ($invalid_referer) { rewrite ^/ http://$host/logo.png; } } Set expiration time based on file type location ~.*\.css$ { expires 1d; break; } lo ...

Posted on Wed, 02 Oct 2019 06:10:47 -0700 by therealairness

Basic Use of OkHttp3

brief introduction OKhttp3 is an efficient, bandwidth-saving HTTP client that supports HTTP2. Portal: GitHub: https://github.com/square/okhttp Official website: https://square.github.io/okhttp/ Introduction framework Under dependencies node in build.gradle (app), add: implementation("com.squareup.ok ...

Posted on Wed, 02 Oct 2019 05:48:14 -0700 by joebWI

Fast-object-diff Object Contrast Tool

Fast-object-diff We often have to make some log records, but it's difficult to compare prices manually.It's also inconvenient to compare different values within the same object in java.Fast-object-diff was born in this way. https://github.com/colincatsu... Supporting basic objects and Collection collections Dates can be output in a custom form ...

Posted on Tue, 01 Oct 2019 17:21:24 -0700 by flyingeagle855