I hereby claim:
- I am oriolgual on github.
- I am oriolgual (https://keybase.io/oriolgual) on keybase.
- I have a public key ASBYUUGCVOTq29wGMNVCmEUXuMp8SGlcW1OqDiTYJta6JAo
To claim this, I am signing this object:
| IO.CS.readChunkSilent = function (a, b, c, d, e, f) { | |
| var g = {}; | |
| Book.mode == Book.IMAGE && | |
| ( | |
| g = { | |
| readMode: 'IMAGE', | |
| imageSize: 'LARGE' | |
| }, | |
| e = e || | |
| { |
| // Save as ~/.finicky.js | |
| module.exports = { | |
| defaultBrowser: "Safari", | |
| handlers: [ | |
| { | |
| match: /^https?:\/\/meet\.google\.com\/.*$/, | |
| browser: "Google Chrome" | |
| }, | |
| { |
| class Autoconf < Formula | |
| desc "Automatic configure script builder" | |
| homepage "https://www.gnu.org/software/autoconf" | |
| url "https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz" | |
| mirror "https://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz" | |
| sha256 "954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969" | |
| license all_of: [ | |
| "GPL-3.0-or-later", | |
| "GPL-3.0-or-later" => { with: "Autoconf-exception-3.0" }, | |
| ] |
| require "yaml" | |
| require "csv" | |
| def reduce_hash(value, parent = nil) | |
| value.map do |key, value| | |
| i18n_scope = [parent, key].compact.join(".") | |
| if value.is_a?(Hash) | |
| reduce_hash(value, i18n_scope) | |
| else |
| begin | |
| require "open-uri" | |
| require "nokogiri" | |
| require "typhoeus" | |
| rescue Exception | |
| puts "Some gems are missing, run gem install nokogiri typhoeus" | |
| exit(1) | |
| end | |
| links = %w( |
| require "open-uri" | |
| require "json" | |
| if ARGV.length < 3 | |
| puts "Usage: ruby circle-to-rspec.rb CIRCLE_CI_TOKEN RSPEC_STEP_NAME BUILD_URL" | |
| puts "You can get your CircleCI token at https://circleci.com/account/api" | |
| exit(0) | |
| end | |
| circle_token = ARGV[0] |
| # Add this to Core's QueryExtensions | |
| module Decidim | |
| module QueryExtensions | |
| type.field :metrics, [Decidim::Core::MetricType] | |
| argument :names, types[String], "The names of the metrics you want to retrieve" | |
| resolve lambda { | _, args, ctx| | |
| manifests = if args[:names].blank? | |
| metrics_registry.all | |
| else |
I hereby claim:
To claim this, I am signing this object:
| module Decidim | |
| class OrganizationComponents < Rectify::Query | |
| def self.for(organization) | |
| new(organization).query | |
| end | |
| def initialize(organization) | |
| @organization = organization | |
| end |
| { | |
| "age": { | |
| "18-24": 82, | |
| "25-34": 655, | |
| "35-44": 210, | |
| "45-54": 47, | |
| "55+": 2 | |
| }, | |
| "position": { | |
| "Developer": 485, |