joelparkerhenderson/monorepo_vs_polyrepoの粗訳です。
モノリポは多数のプロジェクトを1つのリポジトリに入れる方針。
ポリリポ(マルチリポ、メニーリポ)は1つのプロジェクトを1つのリポジトリに入れる方針。
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Minesweeper</title> | |
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet"> | |
<style> | |
body { | |
background-color: #c0c0c0; |
#!/usr/bin/env ruby | |
require 'csv' | |
require 'optparse' | |
require 'pp' | |
require 'securerandom' | |
require 'time' | |
require 'uri' | |
# ==> chrome.csv <== |
# via A Minimal Perl Web Server | |
# https://flylib.com/books/en/1.2.1.48/1/ | |
# | |
use strict; | |
use warnings; | |
use utf8; | |
use feature qw/say/; | |
use sigtrap qw/die untrapped normal-signals/; |
package main | |
import ( | |
"os" | |
"runtime" | |
"strings" | |
"testing" | |
"github.com/sclevine/spec" | |
. "github.com/onsi/gomega" |
package main | |
import ( | |
"os" | |
"testing" | |
"github.com/sclevine/spec" | |
. "github.com/onsi/gomega" | |
) |
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto | |
grep = auto | |
[core] | |
excludesFile = ~/.gitignore | |
autocrlf = input | |
filemode = false |
# usage: aws-s3-bucket-delete [bucket-name] | |
# desc: disable(suspend) versioning for [bucket-name], delete all objects in [bucket-name], delete [bucket-name] | |
function aws-s3-bucket-delete() { | |
local bucket | |
bucket="$1" | |
if [[ -z "${bucket}" ]]; then | |
return 1 | |
fi | |
if ! command -v aws >/dev/null 2>&1; then | |
return 1 |
joelparkerhenderson/monorepo_vs_polyrepoの粗訳です。
モノリポは多数のプロジェクトを1つのリポジトリに入れる方針。
ポリリポ(マルチリポ、メニーリポ)は1つのプロジェクトを1つのリポジトリに入れる方針。
// | |
// usage: | |
// groovy LineShrink.groovy <target.java> | |
// java -jar ~/.m2/repository/org/codehaus/groovy/groovy/2.5.8/groovy-2.5.8.jar LineShrink.groovy <target.java> | |
// | |
def input = new File(args[0]) | |
def methodDefinitionStartPattern = /^\s{4}(public|protected|private)?\s{1,2}[a-zA-Z]{1}[^\s\(\)]+\s*[a-zA-Z]{1}[^\s\(\)]+\(.*$/ | |
def methodDefinitionEndPattern = /^\s{4}\}$/ | |
def inMethodDefinition = false |
日本語スタイルガイド(第3版)から気を付けたほうがよさそうなポイントをピックアップ。
むやみに合成語は作らないほうがいい