- Download lp***.cab package for desired language
- Run cmd as Administrator
dism /Online /Add-Package /PackagePath:C:\lp.cab
- Learn old language package
dism /Online /Get-Packages
- Remove old language package
dism /Online /Remove-Package /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~ru-RU~10.0.10240.16384
var fReg:TRegistry; GUIDStr:String; begin try fReg:= TRegistry.Create(KEY_WRITE OR KEY_WOW64_64KEY); fReg.RootKey:=HKEY_LOCAL_MACHINE; if fReg.OpenKeyReadOnly('\SOFTWARE\Microsoft\Cryptography') then begin GUIDStr:=freg.ReadString('MachineGuid'); edit1.Text:=GUIDStr; end; finally fReg.Free; end; end;
BLOCK INDENT AND UNINDENT: SHIFT-CTRL-I and SHIFT-CTRL-U
You can indent a whole block of code at once by selecting that block and pressing SHIFT-CTRL-I. The whole block will indent by the “Block Indent” value in Editor Properties. Perfect for if you want to add begin and end around a large block of code!
If you decide you have indented too far, SHIFT-CTRL-U has the opposite effect.
As a side note, you can edit how much these shortcut keys indent by selecting Tools -> Editor Properties and changing the “Block indent” value.
sudo nano /etc/rc.local
Add commands below the comment, but leave the line
If your command runs continuously (perhaps runs an infinite loop) or is likely not to exit, you must be sure to fork the process by adding an ampersand to the end of the command, like so:
python /home/pi/myscript.py &
sh /home/pi/myscript.sh &
NOTE: Doesn’t work on cold restart (power down and up)!
sudo nano /etc/init.d/myscript
sudo chmod 755 /etc/init.d/myscript
Note: init.d Scripting is complex!
sudo update-rc.d myscript defaults