Skip to main content

Posts

body surface area calculate

Du Bois  (mostly used) B S A = 0.007184 × W 0.425 × H 0.725   Mosteller formula   B S A = W × H 60 = 0.016667 × W 0.5 × H 0.5   other  Haycock 0.024265 × W 0.5378 × H 0.3964
Recent posts

kamakiri patch gentoo for using mtkclient

 https://github.com/bkerler/mtkclient/blob/main/Setup/Linux/kernelpatches/disable-usb-checks-5.10.patch https://github.com/amonet-kamakiri/kamakiri/blob/master/kernel.patch   for gentoo   uname  -r 5.15.80-gentoo  vi /usr/src/linux/drivers/usb/core/devio.c : set nu   1157 gg 1156         ret = check_ctrlrecip(ps, ctrl->bRequestType, ctrl->bRequest,   1157                               ctrl->wIndex);   ++1158         ret = 0; 1159         if (ret)    1662 gg 1661                 ret = check_ctrlrecip(ps, dr->bRequestType, dr->bRequest,   1662                                       le16_to_cpu(dr->wIndex));  ++ 1663                 ret = 0;   1664                 if (ret)  2727  gg  2725         case USBDEVFS_CLAIMINTERFACE:   2726                 snoop(&dev->dev, "%s: CLAIMINTERFACE\n", __func__);   2727                 ret = proc_claiminterface(ps, p);  ++ 2728                 ret = 0;   2729                 break;   2730 apply patch auto( not tested)

import bitwarden logins in firefox

 export bitwarden password in csv > Settings>Export Vault> choose csv  [warning plain password delete/encrypt it after done  ]   about:config security.allow_eval_in_parent_process signon.management.page.fileImport.enabled   about:logins    click three dot  ...   import csv      source: https://stackoverflow.com/questions/72938885/how-to-import-passwords-and-logins-data-to-firefox            

android adb

 adb shell pm list packages  adb shell pm list packages -3   ##for user installed       clear android app data adb shell pm clear com.android.xx launch android app when activity name  is unknown  adb shell monkey -p com.xxx   -c android.intent.category.LAUNCHER 1

sbctl setup

 doas pacman -S sbctl intel-ucode enable tpm (intel ptt:platform trust technology) clear keys doas su sbctl status  sbctl create-keys  sbctl enroll-keys sbctl status sbctl verify   sbctl sign -s /efi/EFI/BOOT/BOOTX64.EFI   sbctl bundle -s -i /boot/intel-ucode.img   -l /usr/share/systemd/bootctl/splash-arch.bmp   -k /boot/vmlinuz-linux-hardened   -f /boot/booster-linux-hardened.img     /efi/arch.efi  -c /boot/cmdline.txt   sbctl list-bundles sbctl generate-bundles     src: https://github.com/Foxboron/sbctl