Browse Categories All Posts
Categories
K
Kai
Post Timeline
This PC
Timeline
Recycle Bin
new definition of ampere

new definition of ampere

   May 20, 2019, the ampere is  redefined such that the elementary charge (charge of electron or proton) would be equal to 1.602176634 × 10−19        

  ampere now  μ0 is no longer equal to 4π × 10-7 weber per ampere-metre and must be experimentally measured. However, [μ0/4π × 10-7] is 1.00000000055

chrome os install using linux

chrome os install using linux

  Requirements

  • root access.
  • pv, tar and cgpt packages/binaries 

STEPS::

1. download recovery image from https://cros-updates-serving.appspot.com/ 

2.download and extract brunch from https://github.com/sebanc/brunch/releases

sudo bash chromeos-install.sh -src rammus_recovery.bin -dst /dev/sda
 

 it will wipe /sda completly 


for dual boot :: 

see readme in github brunch 

get win 10 product key

get win 10 product key

 win+x run cmd/powershell as admin 

  wmic path softwarelicensingservice get OA3xOriginalProductKey


##this gives oem key in bios/uefi i.e key that came with hardware


run notepad :: pasta 

-------------------------------

Set WshShell = CreateObject("WScript.Shell")

MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))


Function ConvertToKey(Key)

Const KeyOffset = 52

i = 28

Chars = "BCDFGHJKMPQRTVWXY2346789"

Do

Cur = 0

x = 14

Do

Cur = Cur * 256

Cur = Key(x + KeyOffset) + Cur

Key(x + KeyOffset) = (Cur \ 24) And 255

Cur = Cur Mod 24

x = x -1

Loop While x >= 0

i = i -1

KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput

If (((29 - i) Mod 6) = 0) And (i <> -1) Then

i = i -1

KeyOutput = "-" & KeyOutput

End If

Loop While i >= 0

ConvertToKey = KeyOutput

End Function

-------------------------------------------------------------------

saveas pkey.vbs and select filetype all files instead of default text 

realme stock rom reset( from custom rom)

realme stock rom reset( from custom rom)

 download ozip of phone from

 https://www.realme.com/in/support/software-update

move file to /sdcard and backup personal data

install stock recovery and boot to it using vol up +power

install  .ozip and wipe data including all (dont keep contact/data else bootloop)


as of time latest is 

non qualocom edition

https://download.c.realme.com/osupdate/RMX2185_11_OTA_0950_all_ok8HDIbdVBGM.ozip

qualocom edition

https://download.c.realme.com/osupdate/RMX2195PU_11_OTA_0370_all_i5tyXvDlRf7f.ozip 

static ip address for alpine linux

static ip address for alpine linux

 run setup-interfaces to generate wpa_supplicant confgs and openrc startup item

sudo vim   /etc/network/interfaces

--------------------------------------------------------------------
   auto wlan0
   iface wlan0 inet static
           address 192.168.1.242
           gateway 192.168.1.254
           hostname kat

--------------------------------------------------------------------

sudo /etc/init.d/networking  restart

----------------------------------------------------------------

ping google.com 

 

      address xxx.xxx.xxx.xxx/24 was in wiki 

src:: 

 

https://wiki.alpinelinux.org/wiki/Configure_Networking

ntfs unclean filesystem fix

ntfs unclean filesystem fix

 sudo ntfsfix /dev/sdXY

mount -t nfts-3g -o remove_hiberfile /dev/sdXY /mnt 

chrony update time

chrony update time

 sudo chronyd -q 'server 0.europe.pool.ntp.org iburst'


https://naive-many.com/bk3.VG0EPH3EpevCb/mMVUJlZgDD0-3yMZj_Ai3IM-TrUizVLGT/cVyIMuD/cNx/NSTccq