ITHOME 鐵人賽 :: 主題競賽組觀戰區
目前這份資料是用年久失修的爬蟲在跑的,新版網址如下:
https://ithome-2021-ironman.s3.ap-northeast-1.amazonaws.com/index.html
# Rails production setup via SQLite3 made durable by https://litestream.io/ | |
# Copy this to Dockerfile on a fresh rails app. Deploy to fly.io or any other container engine. | |
# | |
# try locally: docker build . -t rails && docker run -p3000:3000 -it rails | |
# | |
# in production you might want to map /data to somewhere on the host, | |
# but you don't have to! | |
# | |
FROM ruby:3.0.2 |
ITHOME 鐵人賽 :: 主題競賽組觀戰區
目前這份資料是用年久失修的爬蟲在跑的,新版網址如下:
https://ithome-2021-ironman.s3.ap-northeast-1.amazonaws.com/index.html
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
[core] | |
quotepath = false # 中文檔名如實顯示而不轉碼 | |
autocrlf = false # commit 及 checkout 時不根據作業系統轉換檔案的換行字元 (避免不小心改動原 repo 的換行字元) | |
safecrlf = false # 檢查文字類檔案是否混合了 CRLF 及 LF 換行字元 (搭配 autocrlf,這裡一起關閉) | |
ignorecase = false # 檔名大小寫不同時視為相異 (更動大小寫才能 commit) | |
whitespace = cr-at-eol # diff 時行尾 CRLF 不顯示 ^M | |
fileMode = false # 忽略檔案的 x 屬性 (for Windows) | |
symlinks = false # 忽略符號連結 (for Windows) | |
editor = /usr/bin/vim # 預設的文字編輯器 (for Linux) | |
[alias] |
Kafka 0.11.0.0 (Confluent 3.3.0) added support to manipulate offsets for a consumer group via cli kafka-consumer-groups
command.
kafka-consumer-groups --bootstrap-server <kafkahost:port> --group <group_id> --describe
Note the values under "CURRENT-OFFSET" and "LOG-END-OFFSET". "CURRENT-OFFSET" is the offset where this consumer group is currently at in each of the partitions.
日時: | 2023-01-15 |
---|---|
作: | @voluntas |
バージョン: | 2023.1 |
url: | https://voluntas.github.io/ |
この資料は以下の製品の宣伝を含みます。
brew tap homebrew/versions | |
brew install v8-315 | |
gem install libv8 -v '3.16.14.13' -- --with-system-v8 | |
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install |
Run rails new --help
to view all of the options you can pass to rails new
:
$ bin/rails new --help
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default: /Users/eliot/.rbenv/versions/2.2.0/bin/ruby