Skip to content

Instantly share code, notes, and snippets.

@nishina555
nishina555 / skill-sheet.md
Last active November 4, 2023 11:24
エンジニアスキルシート

(最終更新日: 2023年5月10日)

得意分野

業務 Webアプリケーション開発
@nishina555
nishina555 / detailed-project.md
Last active May 10, 2023 13:39
担当プロジェクト詳細

(最終更新日: 2023年5月10日)

担当プロジェクト

個人向けクラウド会計システムの保守運用・機能改善・A/Bテスト

■ 内容

  • freeeでの業務。確定申告時期を中心とした技術問い合せに対する調査・回答、個人利用者向けの機能改善施策およびそれに伴うA/Bテストを実施。

■ 担当業務

  • サーバサイド、フロントエンド
@nishina555
nishina555 / seeds.rb
Created May 29, 2021 05:08
パフォーマンス計測用ダミーデータ作成スクリプト
BULK_UNIT = 100_000
AMOUNT_OF_USERS = 1_000_000
AMOUNT_OF_BOOKS = 3_000_000
USER_ITERATION = AMOUNT_OF_USERS / BULK_UNIT # 10
BOOKS_ITERATION = AMOUNT_OF_BOOKS / BULK_UNIT # 30
(1..USER_ITERATION).each do |n|
users = []
BULK_UNIT.times do

Before

command1
command2
command3.1
command3.2

After

@nishina555
nishina555 / nginx.md
Created July 31, 2018 13:35
ISUCON Cheat Sheet

初期設定

http {
  log_format ltsv "time:$time_local"
    "\thost:$remote_addr"
    "\tforwardedfor:$http_x_forwarded_for"
    "\treq:$request"
    "\tmethod:$request_method"
 "\turi:$request_uri"
Title 折りたたまれる詳細情報部分 折りたたまれる詳細情報部分 折りたたまれる詳細情報部分
@nishina555
nishina555 / file0.txt
Last active March 30, 2018 02:14
こんな時どうする? MongoDBクエリ逆引きリファレンス ref: https://qiita.com/nishina555/items/9e20211e8d6f12fdb7b7
{
"no": 1,
"firstName": "Taro",
"lastName": "Tanaka",
"age": 15,
"body": { "height": 165, "weight": 60 },
"grades": [
{ "semester": "first", "grade": 90 },
{ "semester": "second", "grade": 80 }
],
@nishina555
nishina555 / .zshrc
Last active April 23, 2017 13:08
Showing the git branch name with the color
# prompt
if [ $UID -eq 0 ];then
PROMPT="%F{red}%n:%f%F{green}%d%f [%m] %%
"
PROMPT2="%F{red}%n:%f%F{green}%_%f [%m] %%
"
else
# mac
PROMPT="%F{cyan}%n:%f%F{green}%d%f [%m] %%
"
@nishina555
nishina555 / sample-procedure.md
Last active April 23, 2017 12:49
綺麗な手順書を作るための自分ルール

Dockerイメージのビルド・コンテナ起動@localhost

------------------------------
■雛形の作成
------------------------------

### アプリのディレクトリ作成・移動
$ mkdir rails-docker-starter

Before

### ログイン
### 開発環境の場合
ssh dev
### 本番環境の場合
ssh prod

### ディレクトリの移動