document http://jmeter.apache.org/usermanual/
masterサーバーにremote hostを設定後、slaveサーバーから負荷試験を実施
| class ClassRoom | |
| def initialize | |
| @students = [] | |
| end | |
| def save name, gender | |
| @students.push( | |
| { name: name, gender: gender } | |
| ) | |
| end |
| require 'date' | |
| ## カレンダー出力 | |
| class Calender | |
| def initialize year, month | |
| @beginning_of_day = Date.new(year, month, 1) | |
| end | |
| # @example | |
| # SUN MON TUE WED THU FRI SAT |
| ;;; init.el --- Spacemacs Initialization File | |
| ;; | |
| ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors | |
| ;; | |
| ;; Author: Sylvain Benner <[email protected]> | |
| ;; URL: https://github.com/syl20bnr/spacemacs | |
| ;; | |
| ;; This file is not part of GNU Emacs. | |
| ;; | |
| ;;; License: GPLv3 |
document http://jmeter.apache.org/usermanual/
masterサーバーにremote hostを設定後、slaveサーバーから負荷試験を実施
| gems/ |
| # frozen_string_literal: true | |
| source "https://rubygems.org" | |
| # gem "rails" | |
| gem "oauth" | |
| gem "dotenv" | |
| gem "pry" | |
| # for active_support/core_ext | |
| gem "rails" |
| "------------------------------------------------ | |
| " プラグインのインストール | |
| "------------------------------------------------ | |
| filetype plugin indent off | |
| if has('vim_starting') | |
| set runtimepath+=~/.vim/bundle/neobundle.vim | |
| call neobundle#begin(expand('~/.vim/bundle/')) | |
| NeoBundleFetch 'Shougo/neobundle.vim' |
| # 書き方 | |
| 分 時 日 月 曜日 コマンド | |
| # 曜日 | |
| # 0, 7 => 日曜日 | |
| # 1 ~ 6 => 月曜日 ~ 金曜日 | |
| # cron一覧を確認 crontab -l | |
| # cronの削除 crontab -r ※警告なしに全て消えるので注意 |
| # config/initializers/filter_parameter_logging.rb | |
| Rails.application.config.filter_parameters += [:password] |
| # 暗号モード: ECB | |
| # パディング方式: PKCS5Padding | |
| # OpenSSL::Cipher.ciphers で利用可能な暗号方式名を取得可能 | |
| # https://docs.ruby-lang.org/ja/latest/class/OpenSSL=3a=3aCipher.html | |
| module AesCipher extend self | |
| KEY = "Your key" | |
| CIPHER = "DES-ECB" | |
| def encrypt(text) |