Skip to content

Instantly share code, notes, and snippets.

View kentaro-m's full-sized avatar
🦄
Happy coding everyday.

Kentaro Matsushita kentaro-m

🦄
Happy coding everyday.
View GitHub Profile
@mpppk
mpppk / clean_architecture.md
Last active June 23, 2024 14:39
クリーンアーキテクチャ完全に理解した

2020/5/31追記: 自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。

このドキュメントを完成させるために、今後以下のような更新を予定しています。

  • TODO部分を埋める
  • 書籍を基にした理論・原則パートと、実装例パートを分割
    • 現在は4層のレイヤそれぞれごとに原則の確認→実装時の課題リスト→実装例という構成ですが、同じリポジトリへの言及箇所がバラバラになってしまう問題がありました。更新後は、実装時の課題リストを全て洗い出した後にまとめて実装を確認する構成とする予定です。

2021/1/22追記:

これは Google Stadia みての気持ち。Twitter みてるとなぜクラウドゲーミングが難しいか前提を理解してない人が多かったので。

注意: 雑です。

こうだから不可能だ、という話ではなく、これらの諸問題を倒してきたとしたら Google すごいなと思うし、倒してないとしたらまた一つクラウドゲーミングの夢やぶれたねという話で、今の所期待値が前者 30% 後者 70% ぐらい。

基本知識: 要求 FPS

フレームパーセカンド、一秒間にディスプレイが何回更新されるか。

@eramuk
eramuk / ubiregi-advent-calendar-20181221.md
Created December 21, 2018 01:48
新入社員から見たユビレジ

新入社員から見たユビレジ

この記事は Ubiregi Advent Calendar 2018 の21日目です。


11月に入社して開発部リライアビリティチームというところに配属されました。
入社間もないということもあり技術ネタがないので、新入社員の目線から、ユビレジがどのような会社であるかをお伝えできればと思います。

就労時間の柔軟性

@Vaduz
Vaduz / style.css
Last active April 7, 2021 00:00
IntelliJ IDEA Markdown Plugin Custom CSS for preview
body {
font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
font-size: 85%;
}
@ceejbot
ceejbot / esm_in_node_proposal.md
Last active June 20, 2024 10:45
npm's proposal for supporting ES modules in node

ESM modules in node: npm edition

The proposal you’re about to read is not just a proposal. We have a working implementation of almost everything we discussed here. We encourage you to checkout and build our branch: our fork, with the relevant branch selected. Building and using the implementation will give you a better understanding of what using it as a developer is like.

Our implementation ended up differing from the proposal on some minor points. As our last action item before making a PR, we’re writing documentation on what we did. While I loathe pointing to tests in lieu of documentation, they will be helpful until we complete writing docs: the unit tests.

This repo also contains a bundled version of npm that has a new command, asset. You can read the documentation for and goals of that comma

@fijimunkii
fijimunkii / bastion_host.yaml
Created September 15, 2017 15:44
simple bastion host cloud formation template
Description: Bastion Host for SSH access into ECS cluster v1.1
Parameters:
S3Bucket:
Description: S3 bucket name
Type: String
Default: bastion-host
S3Key:
Description: S3 object key
Type: String
Default: id_rsa
@remy
remy / next.config.js
Created July 18, 2017 18:37
Next.js configuration for dotenv and custom servers.
const webpack = require('webpack');
require('dotenv').config({
path: process.env.NODE_ENV === 'production' ? '.env.production' : '.env'
});
module.exports = {
webpack: config => {
const env = Object.keys(process.env).reduce((acc, curr) => {
acc[`process.env.${curr}`] = JSON.stringify(process.env[curr]);
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 29, 2024 01:40
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@k-hoshina
k-hoshina / circleci2-go.md
Last active April 21, 2020 01:27
circleci2.0でおもにgoをCIする

CircleCI2.0でGoをCIする

CircleCI2.0について

  • オープンβ(2017/04/12現在)
  • Native Dockerサポート
  • より自由度の高い設定
  • やたら早い(当社比二倍)

https://circleci.com/docs/2.0/

@kujiy
kujiy / zabbix-curl.conf
Created March 1, 2017 00:52
Zabbix external script with curl; monitoring external websites
# How to use
# Add an item on zabbix-web admin
# curl[example.com]
#
# Test command on zabbix-server
# [root@zabbix /]# zabbix_get -s 192.168.20.212 -k "curl[example.com]"
UserParameter=curl[*],curl -sI $1 | grep -q "HTTP/1.1 200 OK" && [[ $? == 0 ]] && echo 0 || echo 1