Skip to content

Instantly share code, notes, and snippets.

@flexits
flexits / PDCurses CodeBlocks
Created December 4, 2022 17:27
Using PDCurses library with CodeBlocks
1. Download last stable release (link on https://pdcurses.org/)
and extract somewhere (D:\pdcurses).
2. Locate MinGW directory (C:\Program Files\CodeBlocks\MinGW\bin)
3. Run console window:
SET PATH=%PATH%;C:\Program Files\CodeBlocks\MinGW\bin
cd /d D:\pdcurses\wincon
make -f Makefile DLL=Y
@flexits
flexits / Windows 10 UEFI bootloader restore
Last active November 13, 2022 14:04
Repair a corrupted UEFI bootloader
//boot from an installation USB stick into the Command Prompt
diskpart
list disk
sel disk 0 //select system disk
list vol
sel volume 2 //select the hidden FAT32 partition sized about 100Mb
assign letter M
exit
//format M: /FS:FAT32
bcdboot C:\windows /L ru-ru /s M: /f UEFI