GoogleでのSREチームの始め方
- 大きなプロジェクトの一部として新たにチームを作る
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import platform | |
print 'platform.machine(): %s ' % (platform.machine(), ) | |
print 'platform.node(): %s ' % (platform.node(), ) | |
print 'platform.processor(): %s ' % (platform.processor(), ) | |
print 'platform.python_compiler(): %s ' % (platform.python_compiler(), ) |
function handleFileSelect(e) { | |
e.stopPropagation(); | |
e.preventDefault(); | |
var files = e.originalEvent.dataTransfer.files; | |
console.log("files: ", files); | |
var output = []; | |
for (var i = 0, f; f = files[i]; i++) { | |
console.info(i, ':', f); |
package main | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net" | |
"os" | |
"strings" |
# Makefile for a go project | |
# | |
# Author: Jon Eisen | |
# site: joneisen.me | |
# | |
# Targets: | |
# all: Builds the code | |
# build: Builds the code | |
# fmt: Formats the source files | |
# clean: cleans the code |
FROM circleci/build-image:enterprise-base | |
# Languages | |
ARG use_precompile=true | |
ENV USE_PRECOMPILE $use_precompile | |
ADD circleci-provision-scripts/perl.sh /opt/circleci-provision-scripts/perl.sh | |
ADD circleci-provision-scripts/circleci-perl-5.24.0_0.0.1_amd64.deb /opt/circleci-provision-scripts/circleci-perl-5.24.0_amd64.deb | |
RUN circleci-install perl 5.24.0 | |
RUN sudo -H -i -u ubuntu plenv global 5.24.0 |
#!/usr/bin/env bash | |
for i in $(seq 1 3) | |
do | |
curl --silent -XGET "localhost:8080/todos/${i}" \ | |
--write-out '\nGET, %{http_code}, %{content_type}\n' | |
sleep 1 | |
done | |
curl --silent -XGET "localhost:8080/todos/foo" \ |
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
) |
package main | |
import ( | |
"bufio" | |
"log" | |
"os" | |
"github.com/tdewolff/minify" | |
"github.com/tdewolff/minify/svg" | |
) |
package main | |
import ( | |
"fmt" | |
"log" | |
"time" | |
"github.com/astaxie/beego/orm" | |
_ "github.com/go-sql-driver/mysql" | |
) |