C+t
(default C+a
)
C+t c
新しい window を作るC+t "
window リストを表示するC+t C+t
一つ前の window に切り替えるC+t n
次の window へ切り替える
Show task usage details
./gradlew -q help --task tasks
https://docs.gradle.org/current/userguide/command_line_interface.html
$ gem i webrick
$ ruby -run -e httpd -- --port 8000 .
[2023-05-17 22:52:46] INFO WEBrick 1.8.1
[2023-05-17 22:52:46] INFO ruby 3.2.1 (2023-02-08) [x86_64-linux]
[2023-05-17 22:52:46] INFO WEBrick::HTTPServer#start: pid=70048 port=8000
[2023-05-17 22:52:46] INFO To access this server, open this URL in a browser:
[2023-05-17 22:52:46] INFO http://127.0.0.1:8000
https://docs.ruby-lang.org/ja/latest/class/Rake=3a=3aTestTask.html
rake test TESTOPTS=--verbose
rake test TEST=path/to/test_target.rb
https://docs.ruby-lang.org/ja/latest/method/Rake=3a=3aTestTask/i/options.html
find . -user root -not -path "./tmp/*" -exec sudo chown $(whoami):$(whoami) {} \
function init(e) { | |
const props = PropertiesService.getScriptProperties().getProperties(); | |
if (props.SLACK_VERIFICATION_TOKEN != e.parameter.token) { | |
throw new Error('Invalid token'); | |
} | |
const params = parseParams(e.parameter.text); | |
return { props, params }; |
#!/bin/bash | |
# This script is for the following tutorial procedure. | |
# https://cloud.google.com/ruby/rails/run?hl=ja#gcloud_5 | |
# | |
# Setup | |
# | |
# gloud auth login | |
# gloud config set project PROJECT_ID |
$ find . -type f -name "*.rb" -or -name "Rakefile" -print0 | xargs -0 sed -i "1i# frozen_string_literal: true\n" |
{% raw %} | |
```yml | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.RUBY_VERSION }} | |
``` | |
{% endraw %} |