| Codename | Version Build |
PHP | Python | Ruby | Perl |
|---|---|---|---|---|---|
| Mac OS X Lion |
10.7.5 Build 11G63 |
5.3.15 | 2.7.1 | 1.8.7 | 5.12.3 |
| OS X Mountain Lion |
10.8.5 Build 12F2560 |
5.3.29 | 2.7.2 | 1.8.7 | 5.12.4 |
| OS X Mavericks |
10.9.5 Build 13F1112 |
5.4.43 | 2.7.5 | 2.0.0p481 | 5.16.2 |
| OS X Yosemite |
10.10.5 Build 14F2511 |
5.5.38 | 2.7.10 | 2.0.0p481 | 5.18.2 |
| OS X El Capitan |
10.11.6 Build 15G19009 |
5.5.38 | 2.7.10 | 2.0.0p648 | 5.18.2 |
| macOS Sierra |
10.12.5 Build 16F73 |
5.6.30 | 2.7.10 | 2.0.0p648 | 5.18.2 |
| macOS High Sierra |
10.13.4 Build 17F199 |
7.1.14 | 2.7.10 | 2.3.3p222 | 5.18.2 |
| macOSMojave | 10.14.6Build 18G103 | 7.1.23 | 2.7.10 | 2.3.7p456 | 5.18.4 |
| Trigger event | pull_request |
pull_request_target |
push |
|---|---|---|---|
github.ref |
refs/pull/53/merge | refs/heads/main | refs/heads/test/pull_request_target |
github.head_ref |
test/pull_request_target | test/pull_request_target | - |
main: default branchtest/pull_request_target: topic branch name53: pull request number
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Check server process is using jemalloc | |
| # ref. [Japanese] https://tech.studyplus.co.jp/entry/2019/09/09/094140 | |
| class AppController < ActionController::Base | |
| def show | |
| r = `strings /proc/#{Process.pid}/maps | grep jemalloc` | |
| render plain: "<h1>#{ENV['LD_PRELOAD'].presence || 'empty'}</h1><pre>#{r}</pre>" | |
| end | |
| end |
- level-1
- level-3
- level-2
- level-2
- level-3
* level-3
- level-2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def a | |
| doc = <<-EOS | |
| def hello | |
| puts "Hello World!" | |
| end | |
| EOS | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'benchmark/ips' | |
| Benchmark.ips do |x| | |
| ary = [] | |
| x.report(:a) { | |
| 10_000.times do |num| | |
| ary << "#{num} #{num * 2} #{num * 3}" | |
| end | |
| } |
Try rails/webpacker
gem 'webpacker', github: "rails/webpacker"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "digitalocean_droplet" "web" { | |
| image = "ubuntu-16-04-x64" | |
| name = "web-1" | |
| region = "sgp1" | |
| size = "512mb" | |
| ssh_keys = [12345] | |
| connection { | |
| type = "ssh" | |
| user = "root" |