Use Apache Benchmark (ab) to perform tests over each Ruby version.
There are two mainly ways to do that:
| { | |
| "auto_complete": true, | |
| "auto_complete_selector": "source - comment", | |
| "auto_indent": true, | |
| "bold_folder_labels": true, | |
| "detect_indentation": true, | |
| "draw_white_space": "all", | |
| "enable_tab_scrolling": false, | |
| "ensure_newline_at_eof_on_save": true, | |
| "folder_exclude_patterns": |
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| ) | |
| /* A Simple function to verify error */ | |
| func CheckError(err error) { |
| { | |
| "auto_complete": true, | |
| "auto_complete_selector": "source - comment", | |
| "auto_indent": true, | |
| "bold_folder_labels": true, | |
| "close_windows_when_empty": true, | |
| "color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme", | |
| "detect_indentation": true, | |
| "draw_indent_guides": true, | |
| "enable_tab_scrolling": false, |
| fpm -s dir -t deb -n ruby21 -v 2.1 --description \ | |
| "Ruby 2.1 stable package" -C /tmp/ruby20 \ | |
| -p ruby2.1-x64.deb -d "libstdc++6 (>= 4.4.3)" \ | |
| -d "libc6 (>= 2.6)" -d "libffi5 (>= 3.0.4)" -d "libgdbm3 (>= 1.8.3)" \ | |
| -d "libncurses5 (>= 5.7)" -d "libreadline6 (>= 6.1)" \ | |
| -d "libssl1.0.0 (>= 1.0.0)" -d "zlib1g (>= 1:1.2.2)" \ | |
| -d "libyaml-0-2 (>= 0.1.3)" \ | |
| usr/bin usr/lib usr/share/man usr/include |
| { | |
| "auto_complete": true, | |
| "auto_complete_selector": "source - comment", | |
| "auto_indent": true, | |
| "bold_folder_labels": true, | |
| "close_windows_when_empty": true, | |
| "color_scheme": "Packages/Colorsublime - Themes/Afterglow.tmTheme", | |
| "detect_indentation": true, | |
| "draw_indent_guides": true, | |
| "enable_tab_scrolling": false, |
| import sublime | |
| import sublime_plugin | |
| from random import choice | |
| class RemojiCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| emojis = [ | |
| 'bowtie', | |
| 'smile', | |
| 'laughing', |
| # This is the lint file for .scss files. It uses https://github.com/causes/scss-lint | |
| # to search through .scss files and point out errors. | |
| # You can view these errors in your editor. | |
| # | |
| # Here's a link to all the default configurations | |
| # https://github.com/causes/scss-lint/blob/master/config/default.yml | |
| # below is our settings. | |
| linters: | |
| BangFormat: |
| package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| "log" | |
| "os" | |
| "strconv" | |
| _ "github.com/go-sql-driver/mysql" |
| # Best Nginx configuration for security. | |
| # | |
| # Score A in https://securityheaders.io. | |
| # Score A+ in https://www.ssllabs.com/ssltest. | |
| # | |
| # References | |
| # | |
| # - https://letsecure.me/secure-web-deployment-with-lets-encrypt-and-nginx/ | |
| # - https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html | |
| # - https://gist.github.com/plentz/6737338 |