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 -e | |
npm install --save jquery | |
npm install --save-dev jsdom | |
npm install --save-dev chai | |
npm install --save-dev mocha | |
npm install --save-dev @types/node | |
npm install --save-dev @types/jsdom | |
npm install --save-dev @types/chai | |
npm install --save-dev @types/mocha |
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 | |
# Copyright 2015 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
AUTH_DATA="$(curl -s -f -m 10 "http://metadata/computeMetadata/v1/instance/service-accounts/default/token" \ | |
-H "Metadata-Flavor: Google")" | |
R=$? | |
if [ ${R} -ne 0 ]; then | |
echo "curl for auth token exited with status ${R}" >&2 | |
exit ${R} |
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
let configLogger() = | |
let traceAppender = log4net.Appender.TraceAppender() | |
traceAppender.Layout <- log4net.Layout.PatternLayout ( ConversionPattern = "%message" ) | |
traceAppender.ActivateOptions(); | |
let gcloudAppender = Google.Logging.Log4Net.GoogleStackdriverAppender() | |
gcloudAppender.ProjectId <- "ctaggartcom" | |
gcloudAppender.LogId <- "StackdriverLoggingFSharpExample" | |
gcloudAppender.Layout <- log4net.Layout.PatternLayout ( ConversionPattern = "%message" ) | |
gcloudAppender.ActivateOptions() |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"golang.org/x/oauth2/google" | |
storage "google.golang.org/api/storage/v1" |
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
using System; | |
using System.IO; | |
using System.Linq; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Environment.SetEnvironmentVariable("GRPC_TRACE", "all", EnvironmentVariableTarget.Process); |
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
using System; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
} | |
} |
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
ctx := appengine.NewContext(request) | |
hc := &http.Client{ | |
Transport: &oauth2.Transport{ | |
Source: oauth2.StaticTokenSource(&oauth2.Token{AccessToken: githubToken}), | |
Base: &urlfetch.Transport{Context: ctx}, | |
}, | |
} |
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
// some updates for https://rsmitty.github.io/Kubernetes-Events/ | |
// and http://blog.ctaggart.com/2016/09/accessing-kubernetes-api-on-google.html | |
import ( | |
"encoding/base64" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |
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
Camerons-iMac:tmp cameron$ x2goclient --help | |
x2go-INFO-1> "Starting X2Go Client..." | |
x2go-WARNING-1> "English language requested, not loading translator." | |
x2go-WARNING-1> "English language requested, not loading translator." | |
X2Go Client 4.0.5.1 (Git information: 68cc248) | |
Usage: x2goclient [OPTION]... | |
Options: | |
--help Shows this message. | |
--version Prints version information. |
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
vscode@92c301645a4c:~/suave$ cat suave-build-invalid-byte-sequence.txt | |
** Invoke nugets (first_time) | |
** Invoke build/pkg (first_time, not_needed) | |
** Invoke versioning (first_time) | |
** Execute versioning | |
** Invoke compile (first_time) | |
** Invoke libs (first_time) | |
** Execute libs | |
##teamcity[buildNumber '0'] | |
##teamcity[setParameter name='build.version' value='2.0.0-alpha2.093dc9'] |