-
Start the container
$ docker run -d {docker image} f05ad96e2570da12c27784d0d4752c99269e25713bb8565c287eb52d8f97573f
-
Extract the license from the container to standard out
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 | |
if [ $# -eq 0 ] | |
then | |
echo "No arguments supplied. Must specify the version for the upgrade." | |
exit 1 | |
fi | |
new_version=$1 |
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 | |
# Changes exmaple.com to use nip, which is DNS magic for any IP address | |
export EXTERNAL_IP=$(kubectl get svc istio-ingressgateway -n istio-system -o jsonpath='{.status.loadBalancer.ingress.*.ip}') | |
kubectl patch cm config-domain -n knative-serving -p "{\"data\": { \"${EXTERNAL_IP}.nip.io\": \"\" }}" |
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
{ | |
{{#passed}} | |
"title": "Build {{projectName}} {{buildVersion}} completed", | |
"themeColor": "5FE35F", | |
{{/passed}} | |
{{#failed}} | |
"title": "Build {{projectName}} {{buildVersion}} failed", | |
"themeColor": "FC5C3C", | |
{{/failed}} | |
"text": "Commit [{{commitId}}](https://github.com/{{repositoryName}}/commit/{{commitId}}) by {{committerName}} on {{commitDate}}: {{commitMessage}}", |
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
// ------------------------------------------------------------------------------ | |
// Copyright (c) 2016 Microsoft Corporation | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Net; | |
using Newtonsoft.Json; | |
using System.IO; | |
// Requires Newtonsoft.Json and Nito.AsyncEx NuGet Packages |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Newtonsoft.Json; | |
namespace Microsoft.OneDrive | |
{ | |
public class OneDriveError |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Windows.Security.Authentication.OnlineId; | |
namespace OneDrive | |
{ | |
public class MsaForStoreApps | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.IO; | |
public class FancyConsole | |
{ | |
private static string _logFileName; |
NOTICE: The OneDrive API now has native supported for large file uploads. Instead of using BITS, consider using the OneDrive API upload method instead!
Note This is preliminary documentation and is subject to change as we evolve the OneDrive API.
OneDrive handles uploading large files by supporting the BITS protocol.
NewerOlder