Skip to content

Instantly share code, notes, and snippets.

@pcreux
pcreux / 000_postgresql_fancy_datatypes
Last active March 18, 2022 16:51
Postgresql fancy datatypes with Rails / ActiveRecord. Run it with `rake`!
# Postgresql fancy datatypes!
* array
* hstore (=~ hash)
* json
* jsonb
Philippe Creux - [@pcreux](http://twitter.com/pcreux)
@codeniko
codeniko / gist:a89e4476379e1c7ca69f83ca259863ee
Created March 8, 2023 19:38
Windows 10/11 iso burn to USB from mac
// Disk N is the id of the external usb drive from the diskutil commands
// This transfers most files over except for the >4GB file, which we need to use 3rd party tool to split
// Double tap the Windows 11/10 iso to mount it, plug in the USB
brew install wimlib
diskutil list
diskutil eraseDisk MS-DOS "WINDOWS11" MBR diskN
ls /Volumes
rsync -avh --progress --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WINDOWS11