Skip to content

Instantly share code, notes, and snippets.

View alexneamtu's full-sized avatar

Alex Neamtu alexneamtu

View GitHub Profile
@acarril
acarril / bootable-win-on-mac.md
Created November 18, 2022 17:49
Create a bootable Windows USB using macOS

For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.

1. Download a Windows disc image (i.e. ISO file)

You can download Windows 10 or Windows 11 directly from Microsoft.

2. Identify your USB drive

After plugging the drive to your machine, identify the name of the USB device using diskutil list, which should return an output like the one below. In my case, the correct disk name is disk2.

@Wilann
Wilann / ubuntu20-04_compile_ffmpeg_with_libx264_libx265_conda_env.md
Created November 4, 2021 15:32
[Tutorial] Compiling `ffmpeg` on Ubuntu 20.04 with libx264, libx265, etc. (Conda environment interference)

Assumptions

  • The conda environment where the ffmpeg isn't updating is called ffmpeg_env
  • ffmpeg was downloaded when installing pytorch from PyTorch's official site

Issue

The current issue is that ffmpeg's configuration is in conda, which may looks something like this:

(ffmpeg_env) ~ $ ffmpeg -version
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 31, 2025 13:24
crack activate Office on mac with license file
@Geoff-Ford
Geoff-Ford / master-javascript-interview.md
Last active April 4, 2025 21:36
Eric Elliott's Master the JavaScript Interview Series