save_and_open_page
have_button(locator)| # This file goes in config/initializers | |
| require 'bootstrap_form_builder' | |
| # Make this the default Form Builder. You can delete this if you don't want form_for to use | |
| # the bootstrap form builder by default | |
| ActionView::Base.default_form_builder = BootstrapFormBuilder::FormBuilder | |
| # Add in our FormHelper methods, so you can use bootstrap_form_for. | |
| ActionView::Base.send :include, BootstrapFormBuilder::FormHelper |
| @echo off | |
| runas /trustlevel:0x20000 "C:\Windows\System32\AppleControlPanel" | |
| if %ERRORLEVEL% neq 0 goto error | |
| goto OK | |
| :ERROR | |
| echo. | |
| echo Are you sure you are running from a shortcut as Administrator? | |
| pause |
| function Get-DiskFree | |
| { | |
| [CmdletBinding()] | |
| param | |
| ( | |
| [Parameter(Position=0, | |
| ValueFromPipeline=$true, | |
| ValueFromPipelineByPropertyName=$true)] | |
| [Alias('hostname')] | |
| [Alias('cn')] |