This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Arch Linux Encrypted LVM Luks Btrfs Guide (EFI) | |
| # Wipe disk with random data (optional) | |
| badblocks -c 10240 -s -w -t random -v /dev/sda | |
| # Partition | |
| parted -a minimal /dev/sda | |
| - mklabel gpt | |
| - unit Mib | |
| - mkpart ESP fat32 0% 512 | |
| - set 1 boot on | |
| - mkpart primary ext4 512 100% | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <Windows.h> | |
| #include <iostream> | |
| #include <filesystem> | |
| #include <string_view> | |
| #include <vector> | |
| int main() | |
| { | |
| char drives_available[MAX_PATH]; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include "xcommon.hpp" | |
| #include "reg_helper.hpp" | |
| int main(int argc, const char **argv) | |
| { | |
| try | |
| { | |
| const auto internet_options = reg_helper<KEY_QUERY_VALUE | KEY_SET_VALUE>(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"); | |
| auto proxy_enabled = internet_options.get_value<int>("ProxyEnable"); |