- Download Fedora 26 iso, create a usb bootable media
- 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/rdisk2 bs=8m
, 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 to create partition for the subsequent fedora installation
- Boot to recovery mode (cmd+r) and disable SIP (termina
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am jak on github. | |
* I am jaksp (https://keybase.io/jaksp) on keybase. | |
* I have a public key whose fingerprint is 2361 AFFB B425 3C4A 48C5 ED63 B705 83EA 69ED 6964 | |
To claim this, I am signing this object: |
This file contains 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
## Promocode controller/generate endpoint controller | |
def generate | |
if not @promocode.is_valid? | |
#An array of errors | |
render json: @promocode.errors | |
end | |
if @promocode.save | |
blah |
This file contains 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
04cf6361ef399c7f1ab63679ba32b8717be5bb240716dcf91ba09f41a83ffb9feddbb1baee7cb6b407652c69d082de47d531a9ca9bc8412d9988720aaf7ee5d813 |
This file contains 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
#!/bin/bash | |
echo "as" | cec-client -s |
This file contains 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
curl "http://metadata.google.internal/computeMetadata/v1/instance/attributes/foo" \ | |
-H "Metadata-Flavor: Google" |
I hereby claim:
- I am jak on github.
- I am jakspalding (https://keybase.io/jakspalding) on keybase.
- I have a public key whose fingerprint is A8C6 415F 06C9 1289 0DE6 23BE FC07 9412 15EF E767
To claim this, I am signing this object:
OlderNewer