VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
#Mastodon を止める | |
systemctl stop mastodon-{web,sidekiq,streaming}.service | |
#まず PostgreSQL のリポジトリを追加して、アップデートする | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" | |
sudo apt update | |
#今回は PostgreSQL 10 にするのでバージョンを指定してインストール | |
sudo apt install postgresql-10 postgresql-client-10 postgresql-contrib-10 |
日時: | 2017-07-21 |
---|---|
作: | @voluntas |
バージョン: | 0.6.0 |
URL: | https://voluntas.githu.io/ |
突っ込みは Twitter @voluntas まで。
$wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2 | |
$tar xvf protobuf-2.5.0.tar.bz2 | |
$cd protobuf-2.5.0 | |
$./configure CC=clang CXX=clang++ CXXFLAGS='-std=c++11 -stdlib=libc++ -O3 -g' LDFLAGS='-stdlib=libc++' LIBS="-lc++ -lc++abi" | |
$make -j 4 | |
$sudo make install | |
$protoc --version |
#!/bin/sh | |
# Environment list | |
# $GOOS $GOARCH | |
# darwin 386 | |
# darwin amd64 | |
# freebsd 386 | |
# freebsd amd64 | |
# freebsd arm | |
# linux 386 |
package main | |
import ( | |
"io" | |
"log" | |
"os" | |
"os/exec" | |
"io/ioutil" | |
"bytes" | |
) |