Skip to content

Instantly share code, notes, and snippets.

View adamrobinson361's full-sized avatar

Adam Robinson adamrobinson361

View GitHub Profile
@adamrobinson361
adamrobinson361 / install_module.ps1
Created August 21, 2019 09:54
Install Powershell Module Current User Work
[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
Install-Module -Name SqlServer -Force -Scope CurrentUser
@adamrobinson361
adamrobinson361 / azure-devops-r.R
Last active July 18, 2019 19:04
Interacting with azure devops api from R
library(httr)
library(RCurl)
library(dplyr)
devops_auth <- function(username, password = rstudioapi::askForPassword()){
paste("Basic", RCurl::base64(paste(username, password, sep = ":")))
}