Skip to content

Instantly share code, notes, and snippets.

aderyabin / Gemfile
Created Jul 4, 2020 — forked from dhh/Gemfile
HEY's Gemfile
View Gemfile
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
View format.rb
def get_pr_text(input)
result = input.split("\n").map do |line|
task_regex = /((BACKEND\-[0-9]+)\.)?([\s\w]+)(\(#\d+\))?/
regex = /(#\d+)|((BACKEND\-[0-9]+))/
next unless line.match?(regex) #|| line.match?(merge_commit)
if line.match?(task_regex)
num = line.match(task_regex)[2]
text = line.match(task_regex)[3].to_s.strip
ya = "([#{num}]({num}))" if num

Keybase proof

I hereby claim:

  • I am aderyabin on github.
  • I am aderyabin ( on keybase.
  • I have a public key whose fingerprint is 2559 780B B86A 6CAD 6B8A 00B4 5890 D630 DB7F 7207

To claim this, I am signing this object:


Keybase proof

I hereby claim:

  • I am aderyabin on github.
  • I am aderyabin ( on keybase.
  • I have a public key ASAE3w28-Mxc_Uf9KTwCCRfviqo-CZeiOedA7dzKXbr79Ao

To claim this, I am signing this object:

aderyabin /
Created Jul 7, 2017 — forked from Bhavdip/
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:
View countries.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This histogram shows the distribution of GitHub Gist API response times (in milliseconds) for a sample of 10,000 requests as observed by

The distribution roughly follows a log-normal distribution, which is unsurprising for a complex process that has multiple independently-random sources of delay. The mode response time was in the range 120-140ms, while the median response time was 206ms. The middle 80% of requests were in the range 114-527ms. About 11% of requests took longer than 500ms, and 5% of requests took longer than one second. (The rightmost bin in the histogram includes these long requests.)

Since API endpoints vary dramatically in their computational cost, the distribution of response times is likely multimodal. In this dataset, 96% of requests were for a single gist (/gists/42), while the remaining 4% of requests were to list a user’s gist (/users/fred/gists). By separating the API requests for a single

View gist:c0edd278cdd3bfca7846
"description": "Evaluating get.",
"duration(ms)": 3.182579,
"sub_tasks": [
"description": "Evaluating table.",
"duration(ms)": 0.060452,
"sub_tasks": [


  • gazay - 4 commits
  • igas - 20 commits


  • igas - 24 commits
View sublime.json
"bold_folder_labels": true,
"caret_style": "smooth",
"close_windows_when_empty": true,
"color_scheme": "Packages/Dracula Color Scheme/Dracula.tmTheme",
"create_window_at_startup": false,
"default_line_ending": "unix",
"detect_slow_plugins": false,
"drag_text": false,
"draw_minimap_border": true,
You can’t perform that action at this time.