Today, i am working with python. I need write script to read one file, and get line by line, per line deliver one thread process ( total 10 threads). I want solution, so i chose working with thread and queue.
In python, when procsess initializate, this process will be assigned with queue, and working with this queue. We will put data ( in this case is line) to queue. Process will read from queue, so, all processes can read one file, not overlap :D
Today i had some work with android. So i need trace application. I found 2 nice tool can help me:
Xposed Inspector and Frida. To setup there, i used Genymontion with x86 Emulator (quick start and light).
First create custom phone with Android 6.
1. Install Xposed Inspector
Inspeckage Inspector is one module of Xposed, so i need install Xposed before. Your phone need to be rooted (Default genymotion phone is rooted). You need download:
- xposed-v80-sdk23-x86.zip (Exactly version with android api)
Download at: https://acpm.mobi/genymotion-xposed-inspeckage.
Drag and drop Genymotion-ARM-Translation_v1.1.zip and xposed-v80-sdk23-x86.zip to phone, it will be flashed. Reboot.
After reboot, drag and drop XposedInstaller_3.0_alpha4 and Inspeckage to install apk.
Enable Inspeckage module and reboot (with xposed reboot function).
After reboot, start Inspeckage to monitor your app.
Port map: adb forward tcp:8008 tcp:…
#yum install -y openssl-devel db4 db4-devel mysql-server mysql-devel perl-XML-Parser httpd
# rpm -Uvh openca-tools-1.3.0-1.el5.i386.rpm
# tar xvf openca-base-1.1.1.tar.gz
# cd openca-base-1.1.1
# mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.0.77 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.