Convert file to ASCII. Some transfer protocol only support ASCII. We can still use it by converting our file into ASCII.
- uuencode
- uudecode
- tar
- gzip
- gunzip
Linaro is an engineering organization that works on free and open-source software such as the Linux kernel, the GNU Compiler Collection (GCC), power management, graphics and multimedia interfaces for the ARM family of instruction sets and implementations thereof as well as for the Heterogeneous System Architecture (HSA). The company provides a collaborative engineering forum for companies to share engineering resources and funding to solve common problems on ARM software.
Projects included in the GNU toolchain are:
Get data in real time using top
top -b -d 0.1 | grep "app-1\|app-2"You will get data with somethin like this:
1442 pi 20 0 141152 71724 19588 S 68.3 7.6 0:00.71 prompter_sample
1442 pi 20 0 142176 72588 19964 S 53.4 7.7 0:01.26 prompter_sample
1442 pi 20 0 142176 72588 19964 S 3.9 7.7 0:01.30 prompter_sample
1442 pi 20 0 142176 72588 19964 S 10.6 7.7 0:01.41 prompter_sample
| cmake_minimum_required(VERSION 3.10) | |
| project(run C) | |
| add_executable(run mqtt_example.c) | |
| set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") | |
| target_link_libraries(run | |
| mosquitto | |
| ) |
| #include <string.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <openssl/evp.h> | |
| #include <openssl/aes.h> | |
| const unsigned char g_cKey[] = "thiskeyisverybad"; | |
| const unsigned char g_iVec[] = "dontusethisinput"; | |
| void encrypt(FILE *ifp, FILE *ofp) |
http://liupeng0518.github.io/2019/09/09/docker/build/build%20busybox/
https://blog.csdn.net/qq_44045338/article/details/109368225
https://www.busybox.net/downloads/
https://stackoverflow.com/questions/49025932/failure-on-cross-compiling-busybox
$ tree -d
+ MyDirectory/
| |
| + Folder_01/
| |
| + Folder_02/
| |
| + Folder_03/
|This is a note from this book. I'm using Ubuntu 16.04 for this.
sudo apt-get install autoconf automake bison bzip2 cmake flex g++ gawk gcc gettext git gperf help2man libncurses5-dev libstdc++6 libtool libtool-bin make patch python3-dev rsync texinfo unzip wget xz-utils u-boot-toolsgit clone https://github.com/crosstool-ng/crosstool-ng.git
cd crosstool-ng