- GitHub Staff
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
Chromebrew packages: | |
- autoconf | |
- automake | |
- bind | |
- docbook | |
- glib | |
- go | |
- iptables | |
- jq | |
- libtool |
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
" Most of this config was lifted from http://jsdelfino.blogspot.com/2010/11/my-vi-configuration-file.html | |
" vi-improved mode | |
set nocompatible | |
filetype on | |
filetype plugin on | |
filetype indent on | |
" cycle buffers without writing | |
set hidden |
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
Invoke-WebRequest https://gist.githubusercontent.com/brannon/39b23ef97d43732c8398/raw/0ebbc9d4d309e9f9ed4055dd5ed671a359c786bd/ConfigureRemotePowerShell.ps1 | Select -Expand Content | Set-Content -Encoding ASCII -Force .\ConfigureRemotePowerShell.ps1; powershell.exe .\ConfigureRemotePowerShell.ps1; Remove-Item .\ConfigureRemotePowerShell.ps1 |
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
# Configure a Windows host for remote management with Ansible | |
# ----------------------------------------------------------- | |
# | |
# This script checks the current WinRM/PSRemoting configuration and makes the | |
# necessary changes to allow Ansible to connect, authenticate and execute | |
# PowerShell commands. | |
# | |
# Set $VerbosePreference = "Continue" before running the script in order to | |
# see the output messages. | |
# |
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
// imports: strings, reflect, syscall | |
func dumpError(err error, depth int) { | |
indent := strings.Repeat(" ", depth*2) | |
errorType := reflect.TypeOf(err) | |
errorValue := reflect.ValueOf(err) | |
if errorType.Kind() == reflect.Ptr { | |
errorType = errorType.Elem() |