⌘T
go to file⌘⌃P
go to project⌘R
go to methods⌃G
go to line⌘KB
toggle side bar
You can try booting from OS X recovery by holding CMD + R at the time of startup. Once booted from OS X recovery, select Terminal from the utilities and then at the unix prompt enter:
- diskutil list
- then press return and look for the disk identifier and enter the following command with the disk identifier:
sudo diskutil unmountDisk /dev/(enter here disk identifier name)
- Press return and enter your admin password if prompted. This should unmount all volumes of the physical drive.
- If still the above method didn't work, then the last option is to force the entire disk to unmount.
- For that using the terminal application again, enter the following command:
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
<?php | |
# Register custom post types on the 'init' hook. | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 1.0.0 | |
* @access public |
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
// Vars - note the quotes around comma separated selectors | |
$a-tags: 'a, a:active, a:hover, a:visited'; | |
$a-tags-hover: 'a:active, a:hover'; | |
// Usage | |
#{$a-tags} { | |
color: red; | |
font-size: 1em; | |
text-decoration: none; | |
} |
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
drush eval "var_dump(Drupal\Component\Utility\Crypt::randomBytesBase64(55))" |