I hereby claim:
- I am hughevans on github.
- I am hughevans (https://keybase.io/hughevans) on keybase.
- I have a public key whose fingerprint is 620D A6F2 1939 EC9A 4336 9744 FA28 4E7A 7F8F F301
To claim this, I am signing this object:
name: CDK snapshot tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: |
#!/bin/sh | |
export EXIFTOOL_VERSION=11.61 | |
export PERL_VERSION="5-30" | |
rm -rf layer | |
curl -sS https://shogo82148-lambda-perl-runtime-ap-southeast-2.s3.amazonaws.com/perl-${PERL_VERSION}-runtime.zip > perl.zip | |
mkdir layer | |
cd layer | |
unzip ../perl.zip |
I hereby claim:
To claim this, I am signing this object:
> 10.times { puts namify } | |
Apple MacBook S | |
Magic MacBook Air | |
Apple Phone | |
Air Phone | |
Air Pad Pro | |
Car Pod Pro | |
Car Mac | |
Phone Air | |
Watch SE |
group :red_green_refactor, halt_on_fail: true do | |
guard :rspec, cmd: './bin/rspec' do | |
watch(%r{^spec/.+_spec\.rb$}) | |
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } | |
watch('spec/spec_helper.rb') { "spec" } | |
# Rails example | |
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } | |
watch(%r{^app/(.*)(\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } | |
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/requests/#{m[1]}_spec.rb"] } |
module YourApp | |
class Application < Rails::Application | |
config.after_initialize do | |
Comfy::Cms::File.send(:include, ComfyCloudfront) | |
end | |
end | |
end | |
require 'comfy_cloudfront' |
22 × Anvers Adelaide Hills Brabo Cabernet Sauvignon 2013
12 × Wynns Coonawarra The Siding Cabernet Sauvignon 2012
12 × Wynns Coonawarra Shiraz 2012
12 × Gemtree McLaren Vale Uncut Shiraz 2012
11 × Metala Langhorne Creek White Label Shiraz Cabernet 2010
8 × Sandalford Margaret River Parmelia Cabernet Merlot 2010
5 × Leconfield Coonawarra Cabernet Sauvignon 2012
Array.prototype.toSentence = (oxfordComma) -> | |
firstWord = if typeof this[0] is 'string' then this[0].charAt(0).toUpperCase() + this[0].slice(1) else this[0] | |
conjunction = if oxfordComma then ', and' else ' and' | |
switch @length | |
when 0 then '' | |
when 1 then "#{firstWord}." | |
when 2 then "#{firstWord} and #{this[1]}." | |
else "#{firstWord}, #{@slice(1, -1).join(', ')}#{conjunction} #{this[@length - 1]}." |
// No FOUT | |
html.js { | |
&.wf-loading { | |
.all, .your, .text, #selectors { | |
opacity: 0; | |
} | |
&.no-opacity { | |
.all, .your, .text, #selectors { | |
visibility: hidden; |
web: bundle exec puma -p $PORT -C config/puma.rb |