Skip to content

Instantly share code, notes, and snippets.

View lukasmatta's full-sized avatar

Lukáš Matta lukasmatta

View GitHub Profile
@lukasmatta
lukasmatta / keybindings.json
Last active May 9, 2024 12:14
VSCode Shortcuts
[
{
"key": "cmd+n",
"command": "explorer.newFile",
"when": "!editorFocus"
},
{
"key": "cmd+shift+n",
"command": "explorer.newFolder",
"when": "!editorFocus"
@lukasmatta
lukasmatta / tutorial.md
Last active October 9, 2023 18:41
Create Windows 10 installation USB on Mac OS
  1. Download ISO from here - https://www.microsoft.com/sk-sk/software-download/windows10ISO
  2. Insert USB storage drive into your pc
  3. Identify which drive is USB mounted on by typing diskutil list command.
  4. Format USB to work with Windows diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2 (replace /dev/disk2 with the code you got in previous command).
  5. Mount downloaded ISO hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso
  6. Copy files to USB (excluding install.wim as it is larger than 4 GB, FAT32 allows max 4 GB files) rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
  7. brew install wimlib
  8. Use wimlib to split install.wim into multiple parts wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000