I hereby claim:
- I am rubysolo on github.
- I am rubysolo (https://keybase.io/rubysolo) on keybase.
- I have a public key ASBBeCasDm6kVZomh3PnAdGQYeOJVOeqqINbvglD00so9Ao
To claim this, I am signing this object:
cy.document().then(doc => { | |
let $style = doc.createElement("style"); | |
$style.innerHTML = ".highlighted-element { background-color: yellow; }"; | |
doc.head.appendChild($style); | |
}); | |
cy.get('SOME-SELECTOR') | |
.each(($el, index) => { | |
cy.wrap($el).invoke('addClass', `highlighted-element`); | |
cy.pause(); |
// The MIT License | |
// Copyright (c) 2018 Daniel | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
envfile = ARGV.first | |
puts "debugging vars from #{envfile}..." | |
File.readlines(envfile).each do |line| | |
if line =~ /kmscrypt/ | |
var, _ = line.split("=") | |
out = %x(gruntkms decrypt --aws-region $AWS_REGION --ciphertext "#{line}") | |
if out.start_with?(var) | |
print "." |
I hereby claim:
To claim this, I am signing this object:
Phoenix esbuild with Tailwind+Fontawesome |
/** | |
* Wrapper around terragrunt to display output succinctly on Atlantis. | |
* | |
* Terragrunt is notoriously verbose, which can cause Atlantis to output | |
* hundreds of comments on single PRs, which can be annoying. | |
* | |
* This script will output just the final plan for resources to update on | |
* successful terragrunt runs, but will output all terragrunt output on | |
* errors. | |
*/ |
class Bad < ActiveRecord::Migration | |
def change | |
Post.update_all(active: true) # <-- resolves to Post defined in app/models/post.rb | |
end | |
end |
class Garden | |
DEFAULT_STUDENTS = %w( | |
Alice Bob Charlie David | |
Eve Fred Ginny Harriet | |
Ileana Joseph Kincaid Larry | |
) | |
def initialize(garden_order, students=DEFAULT_STUDENTS) | |
@garden_order = garden_order | |
@students = students.map { |student| student.downcase }.sort |