-
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
- (id) retain | |
{ | |
NSLog(@"%@ retain: count: %d + 1", self, [self retainCount]); | |
return [super retain]; | |
} | |
- (void) release | |
{ | |
NSLog(@"%@ release: count: %d - 1", self, [self retainCount]); | |
[super release]; |
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.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; |
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
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.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.
OlderNewer