Installing mysql2 gem errors on Apple silicon M1, M2 or M3 Mac running macOS Sonoma.
Make sure mysql-client, openssl and zstd are installed on Mac via Homebrew.
Replace
mysql-clientwith whichever mysql package you are using
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "lldb", | |
| "request": "launch", | |
| "name": "Debug", | |
| "program": "${workspaceRoot}/target/debug/${workspaceRootFolderName}", | |
| "args": [], | |
| "cwd": "${workspaceRoot}", |
| # https://stackoverflow.com/a/14061796/2237879 | |
| # | |
| # This hack allows you to run make commands with any set of arguments. | |
| # | |
| # For example, these lines are the same: | |
| # > make g devise:install | |
| # > bundle exec rails generate devise:install | |
| # And these: | |
| # > make add-migration add_deleted_at_to_users deleted_at:datetime | |
| # > bundle exec rails g migration add_deleted_at_to_users deleted_at:datetime |
| #/bin/sh | |
| speed="0.7" | |
| mkdir "speed-${speed}x" | |
| for f in *.mp3 | |
| do ffmpeg -i "$f" -filter:a "atempo=${speed}" "./speed-${speed}x/$f" | |
| done |
| FROM php:7.1-fpm-alpine | |
| RUN apk add --update \ | |
| autoconf \ | |
| g++ \ | |
| libtool \ | |
| make \ | |
| && docker-php-ext-install mbstring \ | |
| && docker-php-ext-install mysqli \ |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| # | |
| # 数字 | |
| # | |
| # 全て数値(全角) | |
| /\A[0-9]+\z/ | |
| # 全て数値(半角) | |
| /\A[0-9]+\z/ |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |