Install google camera on Asus m1 max pro
Google camera can be installed on Asus m1 max pro after enabling camera2api. The below steps are assuming you have a Mac machine with adb read more
Root Pixel 2 with Android Pie using TWRP and Magisk
The below steps are assuming you have a Mac machine with adb and fastboot tools and developer option and usb debugging is enabled on your read more
Android – install android 8, 9 from OTA images on pixel 2
The below steps are assuming you have a Mac machine with adb and fastboot tools installed and developer option and usb debugging is enabled on read more
Linux – number of cpus (lscpu)
Command lscpu to find number of cpus on linux $ lscpu lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 32 On-line read more
Android – enable system ui tuner
System ui tuner can be enable to Android Marshmallow, Nougat or Orio. It lets us customize more system ui settings on Android e.g. status bar read more
Python iterate dictionary
Iterate Python dictionary (associative arrays) Using keys It is not memory efficient for large dictionaries. Using values It is not memory efficient for large dictionaries. read more
Android – Show top processes using adb
To show top 5 processes by cpu $ adb shell top -m 5 -s cpu Sample outcome User 16%, System 3%, IOW 0%, IRQ 0% read more
WordPress – disable theme and plugin editing
Allowing theme editing from web can be prone to spam. To disable theme and plugin editor, add the following to wp-config.php define( ‘DISALLOW_FILE_EDIT’, true ); read more
Chrome enable webgl on old macbooks
Steps to enable WebGL on old MAcbook (e.g. later 2011) Visit chrome://settings and make sure under advanced settings > System > Use hardware available when read more
Mysql find slave lag
Command to find slave lag (on mysql slave): $ mysql -u root –password=PASSWORD -e “show slave status\G” | grep Seconds_Behind_Master Seconds_Behind_Master: 0