Skip to content

Instantly share code, notes, and snippets.

View task4233's full-sized avatar
💭
:thinking_face:

Takashi MIMA task4233

💭
:thinking_face:
View GitHub Profile
@task4233
task4233 / Makefile
Last active October 10, 2021 12:05
Terraform configuration file for GCE free tier
init:
terraform init
.PHONY: fmt
fmt:
terraform fmt
.PHONY: validate
validate:
terraform validate
@task4233
task4233 / Dockerfile
Created May 5, 2021 05:21
Dockerfile for installing lldb-x
FROM debian:buster
WORKDIR /app
ENV LLDB_VERSION=11
RUN apt-get update && apt-get install -y \
lsb-release \
apt-utils \
gnupg \
@task4233
task4233 / End.ps1
Last active February 17, 2021 16:01
Automuteusのインストール用スクリプト
docker-compose down
if (!$?) {
return 'failed docker-compose down'
}
#include <iostream>
using namespace std;
using int64 = int64_t;
int f(int x, int y){
int mx = max(x, y);
int mn = min(x, y);
if (mx == mn) return x;
return f(mn, mx-mn) + 2 * mn;
}