- Download Fedora 23 iso, create a usb bootable media Follow instructions here Basically,
- use
diskutil list
to figure out which drive is the usb, on macbook pro with 1 hardrive, the usb is/dev/disk2
- umount the disk using
diskutil unmountDisk /dev/disk2
or use Mac's Disk Utility (just umount, don't eject, umount removes it from directory structure and eject disconncet it altogether) - use
dd
(a low levelcp
) to write iso content into the usb drive,sudo dd if=~/Downloads/Fedora-Live-Desktop-x86_64-20-1.iso of=/dev/disk2 bs=1m
, this will take a bit of time, make sure you wait until it's done, additionally compare the size or checksum to make sure all has been copied (not that necessary since if it weren't copied, it'll err at boot time) - use Disk Utility to shrink Mac's harddrive
Awesome trick seen on mongoose doc:
db.on('error', console.error.bind(console, 'connection error:'));
The
bind()
method creates a new function that, when called, has its this keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.
so the above is equivalent to console.log with first argument set to 'connection error:', so when errors it prints something like
connection error: { [MongoError: getaddrinfo EIO] name: 'MongoError', message: 'getaddrinfo EIO' }
omg, so fixed position doesn't work in ion-content, which uses zynda scroller... see here
"The ion-scroller is based on the zynga scroller, which really just movies content inside the scroller. Technically, it's not scrolling, but just moving the content inside. "
the workaround is set and then set {'scroll:overflow; height:95%'} to the content you want to scroll inside of it