Skip to content

Instantly share code, notes, and snippets.

View rokumatsumoto's full-sized avatar
:shipit:
shipping bits

Samet Gunaydin rokumatsumoto

:shipit:
shipping bits
View GitHub Profile
@rokumatsumoto
rokumatsumoto / example.rb
Last active April 14, 2022 19:49 — forked from RobertAudi/example.rb
Custom RSpec matcher for checking class for constant, with optional class type and value
# frozen_string_literal: true
class ExampleClass
POPULAR_LIMIT = 12
end
files:
/etc/nginx/conf.d/proxy.conf:
content: |
client_max_body_size 500M;
server_names_hash_bucket_size 128;
upstream backend {
server unix:///var/run/puma/my_app.sock;
}
@rokumatsumoto
rokumatsumoto / .git-commit-template.txt
Created February 25, 2019 08:17 — forked from adeekshith/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23