This file contains hidden or 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
| thumbprint = "1BCCDDBCA398B0F2C5E65D3C8ABF51849A2D10E4" | |
| powershell_script 'configure-lcm' do | |
| code <<-MYCODE | |
| cd c:\\ | |
| configuration LCM | |
| { | |
| param ($thumbprint) | |
| localconfigurationmanager | |
| { | |
| RebootNodeIfNeeded = $false |
This file contains hidden or 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
| #[macro_use] | |
| extern crate nom; | |
| use nom::{IResult, digit}; | |
| use std::str; | |
| use std::str::FromStr; | |
| fn identity<T>(a: T) -> T { | |
| a | |
| } |
This file contains hidden or 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
| diff --git a/providers/default.rb b/providers/default.rb | |
| index ed48bf1..8e6ef78 100644 | |
| --- a/providers/default.rb | |
| +++ b/providers/default.rb | |
| @@ -20,6 +20,8 @@ | |
| # limitations under the License. | |
| # | |
| +provides :timezone | |
| + |
This file contains hidden or 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
| $ErrorActionPreference = "Stop"; | |
| Function Log($m) { Write-Host " $m`n" } | |
| Function Make-WebClient { | |
| $proxy = New-Object -TypeName System.Net.WebProxy | |
| $proxy.Address = $env:http_proxy | |
| $client = New-Object -TypeName System.Net.WebClient | |
| $client.Proxy = $proxy | |
| return $client |
This file contains hidden or 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
| /* | |
| @TargetNode='localhost' | |
| @GeneratedBy=adamed | |
| @GenerationDate=09/03/2014 22:15:59 | |
| @GenerationHost=ADAMED5 | |
| */ | |
| instance of MSFT_RoleResource as $MSFT_RoleResource1ref | |
| { |
This file contains hidden or 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
| 10 failed: elapsed: 2 | |
| 1 failed: elapsed: 1 | |
| 0 failed: elapsed: 0 | |
| 9 failed: elapsed: 2 | |
| 11 failed: elapsed: 2 | |
| 2 failed: elapsed: 0 | |
| 6 failed: elapsed: 3 | |
| 8 failed: elapsed: 3 | |
| 7 failed: elapsed: 3 | |
| 5 failed: elapsed: 4 |
This file contains hidden or 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
| -module(problem08). | |
| -compile(export_all). | |
| % | |
| % Eliminate consecutive duplicates of list elements. | |
| % | |
| eliminate_duplicates(L) -> | |
| lists:reverse( | |
| lists:foldl( |
NewerOlder