Skip to content

Instantly share code, notes, and snippets.

super simple cucumber salad

Samet Gunaydin rokumatsumoto

super simple cucumber salad
Block or report user

Report or block rokumatsumoto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:8061386968e885cd69c70c315ca6cf7b
rokumatsumoto / Gemfile
Last active Jun 29, 2019
Configure ActsAsTaggableOn gem (acts-as-taggable-on, acts as taggable on, tagging, tags)
View Gemfile
gem 'acts-as-taggable-on', '~> 6.0'
rokumatsumoto /
Created May 9, 2019
Convert HTTPS github clones to use SSH
git remote set-url origin
rokumatsumoto /
Last active May 5, 2019
Create Swap Space on Ubuntu, Amazon Linux AMI

To check how much available RAM memory you have free:

free -m

To see if you have a swap files:

sudo swapon -s

No swap file shown? Check how much disk space you have:

rokumatsumoto / .git-commit-template.txt
Created Feb 25, 2019 — forked from adeekshith/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
View .git-commit-template.txt
# <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
rokumatsumoto / spec_helper.rb
Created Feb 23, 2019
Multiple types of specs in metadata
View spec_helper.rb
%i(feature request).each do |type|
config.when_first_matching_example_defined(type: type) do
# enable db support only for feature or request specs
require 'support/db'
# include these Helpers only into feature or request specs
config.include(Helpers, type: type)
rokumatsumoto / horizontal-line-with-words.html.haml
Created Feb 10, 2019
responsive horizontal line with words by Bootstrap 4.1
View horizontal-line-with-words.html.haml
rokumatsumoto / hamlit
Last active Feb 1, 2019
How to know if you are using hamlit
View hamlit
In Rails
=> #<Hamlit::RailsTemplate:0x005593caad2150>
In Sinatra, or any Tilt environment
rokumatsumoto /
Last active Jan 21, 2019
Restart Bluetooth Daemon on macOS Sierra without restarting
sudo kextunload -b
sudo kextload -b
rokumatsumoto /
Last active Jan 21, 2019
postgresql collate and ctype
# `myDB` is your database
# `OWNER = "myself"` is your role (default is your username, or check psql \du)
# tip: when Postgres is installed, it automatically creates a database user that matches your username,
# so that you can get started right away.
locale-gen tr_TR.UTF-8
You can’t perform that action at this time.