git checkout --orphan version
git rm --cached -r .
rm -rf *
rm .gitignore .gitmodules
touch README.md
git add .
git commit -m "new branch"
git push origin version
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
| { | |
| "_version": "4.0", | |
| "metadata": [ | |
| { | |
| "name": "\"id\"", | |
| "value": "\"0-000-2\"," | |
| }, | |
| { | |
| "name": "\"model\"", | |
| "value": "\"Mastrena II\"," |
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
| ---------------------------------------------------------------------------------------------------- | |
| --- Making Lua look like Prolog: | |
| --- | |
| --- Let's use metatables for something other than emulating prototype-based OO. By making the | |
| --- __index metamethod create values for undefined things, we can make Lua look like Prolog! | |
| --- We create empty tables for anything starting with a capital letter, functions that populate | |
| --- those tables for lowercase things (to assign relationships) and if a name begins with "is_" | |
| --- then it becomes a function that queries those tables. | |
| ---------------------------------------------------------------------------------------------------- |
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
| #!/usr/bin/env bash | |
| set -e | |
| ATC_HOME="https://some.com/mydir" | |
| #text="say *hiya*" | |
| #text="say *hiya* to [this]" | |
| #text="say *hiya* to [this]\(stuff\)" | |
| text="~say~ *hiya* __to__ [this]\(${ATC_HOME}/stuff\)" | |
| echo "text:: $text" |
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
| #!/usr/bin/env bash | |
| set -e | |
| exec 3>&1 | |
| exec 1>&2 | |
| set -x | |
| ATC_HOME="https://some.com/mydir" | |
| payload=$(mktemp /tmp/resource-in.XXXXXX) |
See this.
-
make sure you have a working
goenv with aGO_PATH -
cd ~/go/srcandgit clone [email protected]:Azure/acs-engine.git -
make ciand deal with a bunch of dep hiccups
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
| #!/usr/bin/env bash | |
| # | |
| # presumes you have a working kubernetes cluster and | |
| # healthy local kubectl install and config | |
| # | |
| # | |
| # if you want to customize, | |
| # - comment out the last line | |
| # - edit build/*.yaml files |
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0-alpha.9.pkgstart powershell
Install-Package -Name AzureRM.NetCore.Preview -Source https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination /usr/local/share/powershell/Modules
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
| kind: ReplicationController | |
| apiVersion: v1 | |
| metadata: | |
| name: jobserver-controller | |
| spec: | |
| replicas: 1 | |
| selector: | |
| component: jobserver | |
| template: | |
| metadata: |
https://github.com/Comcast/kube-yarn
docker run -it --rm -v ${HOME}/.kube/config:/root/.kube/config:ro danisla/kube-yarn:latest tell my app to write files to hdfs://hdfs-nn.yarn-cluster:9000/oegossip