Create a Google Cloud Storage bucket, and then create a service account that has Admin access to that bucket. Export a JSON key of that service account and store it at:
~/.config/{bucket name goes here}/key.json
// Demo application for generating random Unimodular Matrices: https://en.wikipedia.org/wiki/Unimodular_matrix | |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
"gonum.org/v1/gonum/mat" | |
) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8" /> | |
<script src="templating.js" type="text/javascript" charset="utf-8"></script> | |
</head> | |
<body> | |
<template id=t> |
# Claas Heuer, August 2015 | |
# | |
# urls: | |
# http://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host | |
# http://www.gnu.org/software/libc/download.html | |
cd $HOME | |
mkdir glibc_update | |
cd glibc_update |
// ncrev is essentially "nc -l NNNN", i.e. netcat listening on a port and | |
// directing the traffic to stdin/stdout, but it first checks that nothing is | |
// already listening on port NNNN. | |
package main | |
import ( | |
"flag" | |
"io" | |
"log" | |
"net" |
this.StateTools = this.StateTools || {}; | |
(function(sr) { | |
"use strict"; | |
// A Promise that resolves when DOMContentLoaded has fired. | |
sr.DomReady = new Promise(function(resolve, reject) { | |
if (document.readyState != 'loading') { | |
// If readyState is already past loading then | |
// DOMContentLoaded has already fired, so just resolve. | |
resolve(); |
{ | |
"workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"editor.find.autoFindInSelection": "always", | |
"go.testFlags": [ | |
"-count=1" | |
], | |
"go.delveConfig": { | |
"useApiV1": false, | |
"dlvLoadConfig": { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Tracking mouse position on canvas</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=egde,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
</head> | |
<body> | |
<canvas id=traces width=500 height=500> |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: helloweb | |
labels: | |
app: hello | |
spec: | |
selector: | |
matchLabels: | |
app: hello |
FROM debian:testing-slim | |
RUN apt-get update && apt-get upgrade -y && apt-get install -y \ | |
git \ | |
python \ | |
curl | |
RUN mkdir -p --mode=0777 /workspace/__cache \ | |
&& groupadd -g 2000 skia \ | |
&& useradd -u 2000 -g 2000 --home /workspace/__cache skia |
Create a Google Cloud Storage bucket, and then create a service account that has Admin access to that bucket. Export a JSON key of that service account and store it at:
~/.config/{bucket name goes here}/key.json