2021年5月24日 星期一

How to pass your CEH v11 exam quickly ?

1. You must buy the old CEH v11 exam under the online shopping platform. such as shopee. Select the 1st SEO buyer. 

2. Create the practice ticket using the Google form. putting the CEH v11 old exam's question and answer. 
Follow the customized Google form's configuration 
- Random give the question when you attend the simulate practice testing. 
- Random give the answer option when you attend the simulate practice testing.
- Using the  segment configuration for each question. It can be reviewed for mobile phone or PC's browser
 

(2-1) Collect the mail notification and then do the more and more practice.
   



3. Audit the CEH v11 old exam's question and its answer 
4. After pr acting the simulate test, analysis the failed item again. 

5. Got the Passed result.






Exam Strategy: 

1. Answer each question is greater than 50 seconds. Don't answer the question very soon. Because of you might see the new question. 

2. CEH v11 exam will change the question every 3rd week per month. Thus, when you got the old exam's question and its answer. Please take or re-take your exam quickly.

Hit rate of old CEH v11 exam questions:
123/ 125 

Answer correct rate:
103/125 (+-2) 




2019年4月9日 星期二

文字框效果_草稿

import platform
print (platform.a rchitecture()[0])

import platform
print (platform.architecture()[0])


#!/bin/bash
# Over provisioning lazy setting tools
# 1. Auto detect all of SATA disk and then input the percentage as you want.
# 2. Manualy input the disk path and then input the over provisioning percentage as you want.
# Plase mark or remark the feature as you want to need
# This script only supported SATA disk for only.
# Tool needs: hdparm
### Feature 1: Auto detect
#read -p "Input your disk path (e.g: sdb): " -e newdrvname
#read -p "Input your OP percentage (e.g: 0.11): " -e oppercentage
## Feature 2: Manually input one or more disks path
newdrvname=$(dmesg | grep -i "Starting disk" | head -n1 | awk '{print substr($3,2,3)}')
newdrvname=$(dmesg | grep -i "Attached SCSI disk" | tail -n1 | awk '{print substr($3,2,3)}')
echo -e "The Attached SCSI disk [$newdrvname] [Over Provisioning] size: (current/ Total size)"
read -p "Press any key to continue ..." -n1 -s
hdparm -N /dev/$newdrvname | tail -n1
totalsector=`hdparm -N /dev/$newdrvname | grep -i max | awk '{print $4}' | awk -F '/' '{print $2}' | grep -o '[0-9]\+'`
# Manual [Over Provisioning] = total [Over Provisioning] * [Over Provisioning's percentage]
cursector=$(echo $totalsector*$oppercentage|bc)
currectOP=${cursector%.*}
echo -e "Enter to Sleep"
rtcwake -m mem -s 5
echo -e "Adjust [Over Provisioning] setting in the disk"
hdparm -Np$currectOP --yes-i-know-what-i-am-doing /dev/$newdrvname
echo -e "security erase the disk"
hdparm --security-set-pass t /dev/$newdrvname
hdparm --security-erase t /dev/$newdrvname
echo -e "sector list"
hdparm -N /dev/$newdrvname


2019年3月31日 星期日

How to disable My Actitity controls in google service?

Disable web search activities if you didn't want to collect from Google.

1. Go to web page first.
2. Adjust the toggle button to gray out as below:

2019年3月19日 星期二

Build up the AirSlim develop environment based on Unreal Engine

AirSim is a simulator for drones, cars and more, built on Unreal Engine

Requirement:
* NV 1050 TI graphic card
* NVIDIA cuda toolkit
* Windows 8.1 SDK
* Visual Studio 2017 community version
* Disk space: at least 25 GB

GO ...

1. Download and install the Visual Studio 2017 community from MS official website. You must select "Desktop development with C++" item.
2. Download and install the Windows 8.1 sdk from MS official website.
3. Download and install the NVIDIA cuda toolkit from website.

Install Unreal Engine and AsiaSim
1. Download the Epic Games Launcher.
2. Run the Epic Games Launcher, open the Library tab on the left pane.
3. Install the UE latest version.
4. Start  the x64 Native Tools Command Prompt for VS 2017 console on menu
5. Clone the repo: git clone https://github.com/Microsoft/AirSim.git and then go to the AirSim working directory
6. Open the half.h by notepad airsim-master\airlib\deps\eigen3\src\core\arch\cuda\ sub folder
7. Save as the half.h to half.h as Unicode version.
8. Switch to Airsim-master folder
9. Run build.cmd in command line. This will create ready plugin. You can drop up to any UE project.

1. Launch the Unreal Engine Editor shortcut
2. Create the new project in BluePrint tab using Vehicle template. Set up the project name as vehicle_temp
3. Add C++ class on menu bar\ File\ New C++ Class
4. Select the None item, set up the class name as temp
5. Copy AirSim plugins folder from AirSim-Master\ Unreal subfolder to UE project folder.
   # copy air-master\ Unreal\Plugins to C:\Users\%username%\Unreal Projects\vehicle_temp
6. Close the Visual Studio 2017 and then re-open it again.
7. Right click the vehicle_temp UE project file and then select the "Generate Visual Studio project files" item. PS: Select Unreal Engine Version as 4.20 or Double click the UE4 project executable icon
8. UE4 will be launched automatically after compiled.
9. You can see the AirSlim plugin is installed on PlugIn manager.
10. Open your VS solution file by VS 2017
11. Open the xxx.uproject file
12. You can see AirSim is enabled in plugin module.

If AirSim is not enabled, please follow these scenario to edit.
1.Open the vehicle_temp.uproject file adding the following strings.
    In plugins segment:
    {       "Name":"AirSim",       "Enable":"true",     } 
    In Modules segment last line:
"AdditionalDependencies": [
     "AirSim"
]
2. Save the project and then exit.
3. Right click the vehicle_temp UE project file and then select the "Generate Visual Studio project files" item. PS: Select Unreal Engine Version as 4.20 or Double click the UE4 project executable icon

2016年11月9日 星期三

Run Android CTS on Chromebook

[Memo] Run Android CTS on Chromebook

PC: (Ubuntu 16.04 LTS)
1. Download the openjdk-8-jre using
    # apt install openjdk-8-jre
2. Install adb driver
3. Connect to Chromebook over IP with port 22 using commands
   # adb connect [Chromebook IP]:22
4. Check API version using commands
    # adb shell getprop ro.build.version.sdk
5. Check Chromebook architecture using commands
    # adb shell getprop ro.product.cpu.abilist
6. Go to Android CTS Download official website (lnk) and select your Chromebook architecture
    and API version.
    For Example. ARM or x86 
7. Unzip the android CTS and then change to folder "android-cts/ tools"
8. Run CTS without reboot
   # ./cts-tradefed
   # run cts --plan CTS-TF --disable--reboot

Chromebook:
1. Enter to Developer mode and change to root account
2. Go to Browser\ Settings\ Android options
3. Enable Unknown resources in Chrome Settings > App Settings > Security
4. Enable Developer options from Chrome Settings\ Android options\ Developer options
5. Enable Bluetooth/ Location/ Wi-Fi
6. Set up developer features and enable disk-write access for firewall settings changes:
   # /usr/libexec/debugd/helpers/dev_features_rootfs_verification
:  # reboot
7. Connect the internet connection over USB adapter or wireless
8. Get the Chromebook IP address.
9. Install the KeepAwake Plug-in from Chrome Browser extension.

2016年11月8日 星期二

Android 7 CTS (ARM)

[Memo] Record how to setup and run the Android Device environment and Host

0. Download the Android CTS (ARM) version from its official website.
1. apt install -y openjdk-8-jre aapt
2. Insert the external SD card if needs
3. Restore the factory data
4. Enable Development mode
5. Install the CtsAdminApp.apk via adb connection
    # adb install -r -g android-cts/testcases/CtsAdminApp.apk
6. Activate all of  android.deviceadmin.cts.CtsDeviceAdmin from Android Devices\ Settings\ Security\ Select device administrators.
7. Enable Stake awake/ USB debugging/ in the Developer Options.
8. Disable Verify App over USB in the Developer Options
9. Change to Android CTS working directory. android-cts/tools/
10. ./cts-tradefed

Notice:
Don't download android-media-files and copy media files to Android Device manually. 
If you do it, CTS will show error message as 'Not all target preparation steps completed '

## run cts -plan everything 
## help 


2016年9月5日 星期一

Single Root I/O Virtualization (SR-IOV)。SR-IOV為PCI-SIG標準,允許PCIe的I/O裝置以多個實體與虛擬裝置呈現。Physical function (PF)—網路卡的每個實體埠至少會有一個PF。在某些情況下,網路卡的每個實體埠可以分割為四個通訊埠之多。以這個例子來說,每個通訊埠可以有四個PF,或說每個帶有兩個實體埠的網路卡總共可以有八個PF。最關鍵的差異在於PF擁有完整的組態能力。它們與hypervisor息息相關,而且可以像實體裝置一樣被管理。
.Virtual function (VF (VFC))--VF與虛擬機器有關,在I/O資料流的處理上是受限的-主要是在移動資料上。它們不支援實體裝置的管理。支援的VF數量也各不相同,通常每片實體網路卡會有64個VF左右。

雖然SR-IOV標準是套用在網路與儲存裝置的I/O上,但目前與預期的實作執行皆僅止於網路上。對虛擬伺服器會造成影響的效能,大都集中在乙太網路的流量上,一般來說它所產生的I/O需求量最大,且使用最多的伺服器資源。儲存裝置I/O 極少使用在這上面,而且多半都能達到滿載的速度。 (摘錄自http://www.runpc.com.tw/content/content.aspx?id=108644)
實做:
1. 移除現有的 igb driver 
# modprobe -r igb
2. Load driver and then check if the NIC adapter support the SR-IOV function or not
# modprobe igb  
# lspci |grep -i intel | grep -i network
Setup the VFS in the NIC adapter
#modprobe igb max_vfs=64 (Set up the 64 VF)
#modprobe igb max_vfs=0,20,0,20   (Set up the 10 VF at the NIC adapter 1&2 , Port 2)
For vmware esxi server (5.5 or latest version)
# modprobe igbex  max_vfs=0,20,0,20
Check the behavior is valid
# esxcfg-module -g ixgbe
# lspci |egrep -i intel|virtual

How to pass your CEH v11 exam quickly ?

1. You must buy the old CEH v11 exam under the online shopping platform. such as shopee. Select the 1st SEO buyer.  2. Create the practice t...