Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Where's my Boy Bawang?

Toshiki Inami peco8

💭
Where's my Boy Bawang?
  • Rakuten, Inc
  • Tokyo
View GitHub Profile
@peco8
peco8 / Releaseflow.md
Created Jun 21, 2020 — forked from fujimaki-k/Releaseflow.md
リリースまでの流れ
View Releaseflow.md

リリースまでの流れ

1. フィーチャーブランチの作成

  • develop ブランチから新たに作成する機能のためのフィーチャーブランチを作成します。
git branch feature/new_feature develop

2. プログラムの開発とテスト

View gist:54b21f779ea6d649804b1309689680a4

mpm関連

パラメータ説明

項番 項目 説明 補足
1 StartServers Apache起動時の子プロセス数 Apache起動時にまずはここで設定された数の子プロセスを起動します
2 MinSpareServers 待機時の最小子プロセス数 子プロセスがMinSpareServersより少なくなったら、この値まで子プロセスを上げます
3 MaxSpareServers 待機時の最大子プロセス数 子プロセスがMaxSpareServersより大きくなったら、この値まで子プロセスを下げます
4 ServerLimit 設定可能なサーバプロセス数の上限 MaxClientsを256以上に設定したい場合はServerLimitも設定する必要があります。また、 MaxClientsの上に書かないと効きません
5 MaxClients 最大の小プロセス数 この数≒最大の同時接続数です
@peco8
peco8 / .gitconfig
Created Sep 1, 2017 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
View .gitconfig
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
@peco8
peco8 / tsn.srt
Created Apr 2, 2016 — forked from shelling/tsn.srt
The Social Network subtitle
View tsn.srt
1
00:00:04,829 --> 00:00:09,829
Credit to: Sakti Tandi [1st Indonesian-Script]
English. Subs. and. Re-Sync. by npdv-iD
2
00:00:19,043 --> 00:00:21,168
You know there are more people
with genius IQ living in China
@peco8
peco8 / Vagrantfile
Created Feb 9, 2016 — forked from leifg/Vagrantfile
Add a second disk to system using vagrant
View Vagrantfile
file_to_disk = './tmp/large_disk.vdi'
Vagrant::Config.run do |config|
config.vm.box = 'base'
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
end
@peco8
peco8 / .emacs
Created Feb 1, 2016 — forked from ftrain/.emacs
a nice .emacs for when you are on a terminal. Respects scroll wheel events. Very useful when run inside of tmux and combined with this tmuxconf: https://gist.github.com/ftrain/8443744
View .emacs
;; .emacs
;;; uncomment this line to disable loading of "default.el" at startup
;; (setq inhibit-default-init t)
;; enable visual feedback on selections
(setq transient-mark-mode t)
;; default to better frame titles
(setq frame-title-format
@peco8
peco8 / 000-Cheat-Sheets.md
Created Dec 12, 2015 — forked from JoshuaEstes/000-Cheat-Sheets.md
Developer Cheat Sheets for bash, git, gpg, irssi, mutt, tmux, and vim. See my dotfiles repository for extra info.
@peco8
peco8 / nginx_try_files_memo.md
Created Nov 19, 2015 — forked from kenjiskywalker/nginx_try_files_memo.md
nginxのtry_filesの動作の確認
View nginx_try_files_memo.md

nginx config

nginx.conf

server {
    listen 80;
    server_name example.com;
    root /var/www/html/;
    index index.html;
    access_log /var/log/nginx/access_log hogehoge;
@peco8
peco8 / Gemfile
Created Nov 13, 2015 — forked from kazu69/Gemfile
Vagrantで作った環境にChef12 でChef Serverをためしてみた
View Gemfile
source 'https://rubygems.org'
gem 'chef'
gem 'knife-solo'
View knife cheat
# knife cheat
## Search Examples
knife search "name:ip*"
knife search "platform:ubuntu*"
knife search "platform:*" -a macaddress
knife search "platform:ubuntu*" -a uptime
knife search "platform:ubuntu*" -a virtualization.system
knife search "platform:ubuntu*" -a network.default_gateway