Skip to content

Instantly share code, notes, and snippets.

View mantoine96's full-sized avatar
:shipit:

Matthieu ANTOINE mantoine96

:shipit:
  • Berlin, Germany
  • 19:32 (UTC +02:00)
View GitHub Profile
@mantoine96
mantoine96 / output.txt
Last active May 19, 2021 14:53
test-output-terragrunt-1673-2021-05-19
This file has been truncated, but you can view the full file.
? github.com/gruntwork-io/terragrunt [no test files]
? github.com/gruntwork-io/terragrunt/aws_helper [no test files]
=== RUN TestParseTerragruntOptionsFromArgs
=== PAUSE TestParseTerragruntOptionsFromArgs
=== RUN TestFilterTerragruntArgs
=== PAUSE TestFilterTerragruntArgs
=== RUN TestParseMultiStringArg
=== PAUSE TestParseMultiStringArg
=== RUN TestParseMutliStringKeyValueArg
=== PAUSE TestParseMutliStringKeyValueArg

Keybase proof

I hereby claim:

  • I am mantoine96 on github.
  • I am mantoine (https://keybase.io/mantoine) on keybase.
  • I have a public key ASCfIr-82THl1wXD58ze8Lv8SEqI-qslKG14GXD55NMfswo

To claim this, I am signing this object:

$file = "C:\Users\mantoine.AKERVA\Desktop\out.txt"
Import-CSV C:\Users\mantoine.AKERVA\Desktop\Classeur1.csv | Foreach-Object {
$oldserver = $_.oldserver
$newserver = $_.newserver
If ((Test-Connection $oldserver -Count 1 -Quiet) -eq $true){
Write-Output "oldserver = $oldserver is responding to PING `n"
Get-WmiObject -ComputerName -ComputerName $oldserver Win32_SystemEnclosure -Credential $cred |Select-Object __Server, SerialNumber, SMBiosAssetTag -ErrorAction Stop
Get-WmiObject win32_computersystem -cn $oldserver -Cr $cred | ft -AutoSize -ErrorAction Stop
Get-WmiObject win32_Service -cn $oldserver -Cr $cred | ft -AutoSize -ErrorAction Stop
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/socket.h>
#include <stdint.h>
#include <errno.h>
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <sys/ioctl.h>
@mantoine96
mantoine96 / dc.ps1
Last active December 25, 2015 17:13
#Install Modules before !
$host1 = Read-Host 'IP du dc secondaire a preparer pour l''install de WMF5.0 (IP/host)'
$host2 = Read-Host 'IP du second node a preparer pour l''install de WMF5.0 (IP/host)'
$host3 = Read-Host 'IP du troisieme node a preparer pour l''install de WMF5.0 (IP/host)'
$hosts = $host1 + ',' + $host2 + ','+ $host3
Set-WSManInstance -ResourceURI winrm/config/client -ValueSet @{TrustedHosts=$hosts}
$session = New-PSSession -ComputerName $host1,$host2,$host3 -Credential (Get-Credential)
#Install WMF5.0
Invoke-Command -ComputerName $host1 -Credential (Get-Credential){
Invoke-WebRequest http://download.microsoft.com/download/B/5/1/B5130F9A-6F07-481A-B4A6-CEDED7C96AE2/WindowsBlue-KB3037315-x64.msu -OutFile C:\WindowsBlue.msu