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
# Obi-w00t's theme, based on Michele Bologna's theme | |
# https://www.michelebologna.net | |
# | |
# The main changes are: | |
# * hostname is now always red | |
# * git prompt now uses vcs_info, and has just the following prompt chars: | |
# ~ = untracked changes | |
# + = staged changes | |
# * = unstaged changed | |
# ± = local branch is behind or ahead of remote |
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
package main | |
// Property - GUI property | |
type Property int32 | |
// GUI properties enumeration | |
const ( | |
GlobalBaseColor Property = iota | |
GlobalBorderColor | |
GlobalTextColor |
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
#!/bin/bash | |
set -e | |
function append_newline { | |
if [[ -z "$(tail -c 1 "$1")" ]]; then | |
: | |
else | |
echo >> "$1" | |
fi |
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
null_resource.remoting: Provisioning with 'remote-exec'... | |
null_resource.remoting (remote-exec): Connecting to remote host via WinRM... | |
null_resource.remoting (remote-exec): Host: MYSERVERWEB0192.mydomain.mycompancorp.com | |
null_resource.remoting (remote-exec): Port: 5985 | |
null_resource.remoting (remote-exec): User: The.User.Name | |
null_resource.remoting (remote-exec): Password: true | |
null_resource.remoting (remote-exec): HTTPS: false | |
null_resource.remoting (remote-exec): Insecure: true | |
null_resource.remoting (remote-exec): NTLM: true | |
null_resource.remoting (remote-exec):2018-04-10T12:41:40.596+0100 [DEBUG] plugin.terraformb.exe: remote-exec-provisioner (internal) 2018/04/10 12:41:40 [ERROR] error creating shell: http response error: 401 - invalid content type |
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
diff --git communicator/winrm/communicator.go communicator/winrm/communicator.go | |
index c25c2bc63..78b528fb7 100644 | |
--- communicator/winrm/communicator.go | |
+++ communicator/winrm/communicator.go | |
@@ -5,6 +5,7 @@ import ( | |
"io" | |
"log" | |
"math/rand" | |
+ "net/http" | |
"strconv" |