Skip to content

Instantly share code, notes, and snippets.

View yas-okadatech's full-sized avatar

Yas Okada yas-okadatech

View GitHub Profile
[user]
signingkey = [[YOUR SIGNING PUBLIC KEY または /PATH/TO/.SSH/KEY.PUB]]
[commit]
gpgsign = true
[gpg]
format = ssh
@yas-okadatech
yas-okadatech / show_openssl_ver.rb
Created May 25, 2023 22:30
show OpenSSL version on ruby
ruby -e 'require "openssl"; puts OpenSSL::OPENSSL_VERSION'
@yas-okadatech
yas-okadatech / rolllback
Created May 15, 2023 06:49
[rails] 特定バージョンのrollback
bundle exec rails db:migrate:down VERSION=
@yas-okadatech
yas-okadatech / rails_new
Created November 8, 2021 07:02
rails new
rails new APP_PATH --skip-turbolinks --skip-bundle --database=mysql
rails new APP_PATH --skip-turbolinks --skip-bundle --database=postgresql
@yas-okadatech
yas-okadatech / xcode-select
Created March 7, 2021 09:33
xcode-select
xcode-select --install
@yas-okadatech
yas-okadatech / ssh-keygen
Created January 1, 2021 07:56
ssh-keygen
ssh-keygen -t ed25519 -C "your_email@example.com"
or (for legacy systems)
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Keybase proof

I hereby claim:

  • I am yas-okadatech on github.
  • I am yas_okadatech (https://keybase.io/yas_okadatech) on keybase.
  • I have a public key ASDL9pZuebIAri8a1DLTyXF7OZS9bkfmDJhgn-TUs-s65Qo

To claim this, I am signing this object:

config.logger = ActiveSupport::Logger.new(STDOUT)
config.log_level = :info
@yas-okadatech
yas-okadatech / vuex_store_module.js
Last active August 3, 2018 00:56
vuex store module
const state = () => ({
status: 'initial',
})
const mutations = {
mutationA(state, {valueA}) {
}
}
const actions = {
@yas-okadatech
yas-okadatech / vuex_template.vue
Last active October 4, 2018 02:59
template of vue file
<template>
<div>
Vue Demo
</div>
</template>
<script>
export default {
props: {
aProps: {