git remote add upstream [Upstream git URL]
git fetch upstream
git merge upstream/master
git checkout -b "feature-new-stuff"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| --- | |
| name: hive | |
| lifetime: "-1" | |
| version: 3.1.0.3.1.0.0 | |
| artifact: | |
| id: "<docker registry server>:5000/hive2" | |
| type: DOCKER | |
| configuration: | |
| env: | |
| HIVE_LOG_DIR: var/log/hive |
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
| $vnetName = "Replace with your virtual network name" | |
| $resourceGroupName = "Replace with the resource group the virtual network is in" | |
| $subnetName = "Replace with the name of the subnet that you plan to use for HDInsight" | |
| # Get the Virtual Network object | |
| $vnet = Get-AzureRmVirtualNetwork ` | |
| -Name $vnetName ` | |
| -ResourceGroupName $resourceGroupName | |
| # Get the region the Virtual network is in. | |
| $location = $vnet.Location | |
| # Get the subnet object |
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
| "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe", | |
| "terminal.integrated.shellArgs.windows": [ | |
| "/K","C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat C:\\ProgramData\\Anaconda3" | |
| ], |
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
| choco install docker-cli | |
| choco install docker-desktop | |
| REM reboot or logout |
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
| REM takes ownership then deletes files | |
| REM use this for external drives from another machine | |
| set pathname="e:\cygwin64" | |
| takeown /f %pathname% /r | |
| icacls %pathname% /reset /T | |
| del /s /q %pathname% |
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
| #!/bin/bash | |
| dd if=~/card.img of=/dev/rdisk# bs=16M |
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
| #!/bin/sh | |
| response=$(curl http://localhost:50342/oauth2/token --data "resource=https://management.azure.com/" -H Metadata:true -s) | |
| access_token=$(echo $response | python -c 'import sys, json; print (json.load(sys.stdin)["access_token"])') | |
| echo The MSI access token is $access_token |
