In your command-line run the following commands:
brew doctorbrew update
| # Source https://x.com/benigartenmann/status/1871117811072065877 | |
| class Account < GlobalRecord | |
| after_create_commit :create_shard | |
| private | |
| def create_shard | |
| yaml_config = YAML.load_file("config/database.yml", aliases: true) | |
| root_db_config = ActiveRecord::Base.connection_db_config.configuration_hash.deep_dup.freeze | |
| tenant_shard_config = root_db_config.merge( |
| package main | |
| import ( | |
| "crypto/sha256" | |
| "encoding/json" | |
| "fmt" | |
| "strconv" | |
| "strings" | |
| "time" | |
| ) |
| # encoding : utf-8 | |
| require 'openssl' | |
| require 'digest/sha1' | |
| require 'base64' | |
| module Aws | |
| extend self | |
| def signed_url(path, expire_date) | |
| digest = OpenSSL::Digest::Digest.new('sha1') | |
| can_string = "GET\n\n\n#{expire_date}\n/#{S3_BUCKET}/#{path}" |
In your command-line run the following commands:
brew doctorbrew update| # MySQL. Versions 4.1 and 5.0 are recommended. | |
| # | |
| # Install the MySQL driver: | |
| # gem install mysql2 | |
| # | |
| # And be sure to use new-style password hashing: | |
| # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| development: | |
| adapter: mysql2 | |
| encoding: utf8 |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |