I hereby claim:
- I am jaryl on github.
- I am jaryl (https://keybase.io/jaryl) on keybase.
- I have a public key ASAEmvpBJNc3SpdZ04BOHSFy9PPi5yQTpw85zzjOOw5X8Qo
To claim this, I am signing this object:
| :uyi: | |
| :code: 940 | |
| :name: Uruguay Peso en Unidades Indexadas | |
| :qar: | |
| :code: 634 | |
| :name: Qatari Rial | |
| :djf: | |
| :code: 262 | |
| :name: Djibouti Franc | |
| :azn: |
| SSH_ENV="$HOME/.ssh/environment" | |
| function start_agent { | |
| echo "Initializing new SSH agent..." | |
| /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
| echo succeeded | |
| chmod 600 "${SSH_ENV}" | |
| . "${SSH_ENV}" > /dev/null | |
| /usr/bin/ssh-add; |
| # set up git and perform initial commit | |
| git :init | |
| append_file '.gitignore' do | |
| <<-EOS | |
| *.rbc | |
| *.sassc | |
| .sass-cache |
| def select_from_chosen(item_text, options) | |
| field_id = find_field(options[:from])[:id] | |
| within "##{field_id}_chzn" do | |
| find('a.chzn-single').click | |
| input = find("div.chzn-search input") | |
| item_text.each_char do |char| | |
| input.base.invoke('keypress', false, false, false, false, char.ord, nil); | |
| end | |
| find('ul.chzn-results').click | |
| input.base.invoke('keypress', false, false, false, false, 40, nil); # down arrow |
| class BootstrapFormBuilder < ActionView::Helpers::FormBuilder | |
| delegate :capture, :content_tag, :tag, to: :@template | |
| %w[text_field text_area password_field collection_select email_field].each do |method_name| | |
| define_method(method_name) do |name, *args| | |
| errors = object.errors[name].any?? " error" : "" | |
| error_msg = object.errors[name].any?? content_tag(:span, object.errors[name].join(","), class: "help-inline") : "" | |
| content_tag :div, class: "control-group#{errors}" do |
| require 'codeclimate-test-reporter' | |
| require 'simplecov' | |
| require 'coveralls' | |
| formatters = [SimpleCov::Formatter::HTMLFormatter] | |
| formatters << Coveralls::SimpleCov::Formatter if ENV['COVERALLS_REPO_TOKEN'] | |
| formatters << CodeClimate::TestReporter::Formatter if ENV['CODECLIMATE_REPO_TOKEN'] | |
| SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters] |
| DATA = { | |
| [47, 2, 3, 8] => '84732', | |
| [47, 40, 4] => '47440', | |
| [42, 40, 4] => '44240', | |
| [421, 42, 423] => '42423421', | |
| [47, 2, 3, 8, 47, 40, 4, 42, 40, 4, 421, 42, 423] => '84747444242423421404032' | |
| } | |
| def large_hadron_concatenator(data) | |
| data.sort { |a, b| "#{b}#{a}" <=> "#{a}#{b}" }.join |
I hereby claim:
To claim this, I am signing this object:
| pragma solidity ^0.4.23; | |
| contract NameAddressTranslator { | |
| mapping(bytes32 => address) nameRegistry; | |
| mapping(address => string) addressRegistry; | |
| function toName(address _address) public view returns (string) { | |
| return addressRegistry[_address]; | |
| } |
| #include <SdFat.h> | |
| #include <Adafruit_TinyUSB.h> | |
| const int _CS = 17; | |
| #define SD_CONFIG SdSpiConfig(_CS, DEDICATED_SPI, SD_SCK_MHZ(12)) // max 50, but may result in read/write errors | |
| Adafruit_USBD_MSC usb_msc; | |
| SdFat sd; |