原创 環境數據記錄和分析全棧項目總結九

本來這篇總結應該早點寫的,但當時一直在拖,所以就拖到了現在。 最近的結果是完成了RTSP和RTMP的推流PC客戶端,還通過了一篇關於數學科普的翻譯。 最近看到有一位女孩子因爲工作壓力大而自尋短見。相比之下,杜富國受重傷卻頑強地活了

原创 Advanced Programming in UNIX Environment Episode 67

#include "apue.h" #include <syslog.h> #include <fcntl.h> #include <sys/resource.h> void deamonize(const char *cmd)

原创 Advanced Programming in UNIX Environment Episode 72

#include "apue.h" #include <fcntl.h> int lock_reg(int fd, int cmd, int type, off_t offset, int whence, off_t len)

原创 在Mac編譯帶有OpenSSL功能的FFmpeg

使用Brew安裝FFmpeg: https://blog.csdn.net/luomingjun12315/article/details/79979177 https://blog.csdn.net/sinat_14826983

原创 Advanced Programming in UNIX Environment Episode 75

I/O Multiplexing When we read from one descriptor and write to another, we can use blocking I/O in a loop, such as

原创 CMake can not determine linker language for target: Intro

cmake_minimum_required(VERSION 3.9) project(Intro C) set(CMAKE_CXX_STANDARD 11) add_executable(Intro ./main.cpp)

原创 Unix Network Programming Episode 22

We must deal with these byte ordering differences as network programmers because networking protocols must specify

原创 Unix Network Programming Episode 17

TCP Output TCP takes the data in the socket send buffer and sends it to the peer TCP based on all the rules of TCP

原创 Android Studio: line numbers info is not available in class

今天的手機突然之間不能打斷點,提示 line numbers info is not available in class 百度一陣無法解決,只能嘗試clean,結果成了。特意記錄一下。

原创 找回Windows 10安全通知圖標

升級到1809後,意外地發現安全通知圖標已經消失了。而另外一臺卻還在。百度了很久也找不到。只好和那臺還有安全通知圖標的電腦一起比對。 首先找到了任務管理器,發現有一個Windows Security Notification的啓動

原创 Unix Network Programming Episode 19

Generic Socket Address Structure A socket address structures is always passed by reference when passed as an argume

原创 Unix Network Programming Episode 20

struct sockaddr_storage { uint8_t ss_len; /* length of this struct (implementation dependent) */ sa_family_t ss_f

原创 Advanced Programming in UNIX Environment Episode 70

Advanced I/O Introduction This chapter covers numerous topics and functions that we lump under the term advanced I/

原创 Advanced Programming in UNIX Environment Episode 74

#include "apue.h" #include <errno.h> #include <fcntl.h> #include <sys/wait.h> int main(int argc, char *argv[]) {

原创 安裝Mysql執行初始化沒有生成系統數據庫

請在執行環境中輸入 mysql_install_db