I hereby claim:
- I am davidcornu on github.
- I am davidcornu (https://keybase.io/davidcornu) on keybase.
- I have a public key whose fingerprint is 1EAC BE91 C50E 0891 B898 D45D 20DD EB85 17A9 A807
To claim this, I am signing this object:
| source "https://rubygems.org" | |
| gem 'oga' |
| ❯ ruby route_defaults_test_case.rb | |
| Fetching git://github.com/rails/rails.git | |
| Fetching gem metadata from https://rubygems.org/ | |
| Fetching version metadata from https://rubygems.org/ | |
| Resolving dependencies... | |
| Using rake 11.2.2 | |
| Using concurrent-ruby 1.0.2 | |
| Using i18n 0.7.0 | |
| Using minitest 5.9.0 | |
| Using thread_safe 0.3.5 |
I hereby claim:
To claim this, I am signing this object:
Wednesday
Thursday
| require 'thread' | |
| class Clock | |
| def self.timestamp | |
| Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond) | |
| end | |
| class Timer | |
| def initialize(timeout) | |
| @expires_at = Clock.timestamp + timeout |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>List of tests</title> | |
| </head> | |
| <body> | |
| <ul> | |
| <li><a href='http://testdeconnaissances.saaq.gouv.qc.ca/fr/questionnaire-automobile/1009/'>http://testdeconnaissances.saaq.gouv.qc.ca/fr/questionnaire-automobile/1009/</a></li> | |
| <li><a href='http://testdeconnaissances.saaq.gouv.qc.ca/fr/questionnaire-automobile/1010/'>http://testdeconnaissances.saaq.gouv.qc.ca/fr/questionnaire-automobile/1010/</a></li> | |
| <li><a href='http://testdeconnaissances.saaq.gouv.qc.ca/fr/questionnaire-automobile/1011/'>http://testdeconnaissances.saaq.gouv.qc.ca/fr/questionnaire-automobile/1011/</a></li> |
| class MyClass | |
| def foo | |
| puts baz | |
| end | |
| def bar | |
| puts self.baz | |
| end | |
| private |
| def foo(a,b,c) | |
| method(__method__).parameters.each do |(req, name)| | |
| next unless binding.local_variable_defined?(name) | |
| puts "#{name}: #{binding.local_variable_get(name)}" | |
| end | |
| end | |
| foo('one', 2, :three) |
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'open-uri' | |
| token = ENV['CIRCLE_CI_TOKEN'] | |
| repo_match = `git config --get remote.origin.url`.chomp.match(/[email protected]:(.+)\.git/) | |
| if repo_match.nil? |