gem 'simple_form'rails generate simple_form:install| #!/bin/sh | |
| # Set the macOS installer path as a variable | |
| MACOS_INSTALLER="/Applications/$(ls /Applications | grep "Install macOS")" | |
| MOUNT_POINT="$MACOS_INSTALLER/Contents/SharedSupport" | |
| echo "macOS installer is \"$MACOS_INSTALLER\"" | |
| # Set the target disk as a variable | |
| TARGET=$(diskutil info "$(bless --info --getBoot)" | awk -F':' '/Volume Name/ { print $2 }' | sed -e 's/^[[:space:]]*//') | |
| echo "Target disk is \"$TARGET\"" |
| ## Prepare ################################################################### | |
| # Remove RVM | |
| rvm implode | |
| # Ensure your homebrew is working properly and up to date | |
| brew doctor | |
| brew update | |
| ## Install ################################################################### |
| --- dsdt.dsl 2018-03-04 16:00:00.866484238 -0800 | |
| +++ dsdt.dsl 2018-03-04 16:28:07.933272752 -0800 | |
| @@ -18,9 +18,8 @@ | |
| * Compiler ID "INTL" | |
| * Compiler Version 0x20160527 (538314023) | |
| */ | |
| -DefinitionBlock ("", "DSDT", 2, "LENOVO", "SKL ", 0x00000000) | |
| +DefinitionBlock ("", "DSDT", 2, "LENOVO", "SKL ", 0x00000001) | |
| { | |
| - External (_GPE.TBNF, MethodObj) // 0 Arguments |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |