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
In this tutorial I'll show you how to create a Github webhook that will post updates from your Github account to a channel in Discord. The steps are simple so follow along!
First you need to create a webhook in a text channel. We're assuming you have both Manage Channel and Manage Webhooks permissions!
The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.
It's as simple as downloading and installing the latest client:
| #!/bin/bash | |
| # | |
| # convert-video.sh | |
| # | |
| # Copyright (c) 2013-2014 Don Melton | |
| # | |
| about() { | |
| cat <<EOF | |
| $program 2.0 of December 3, 2014 |
| Capybara.register_driver :chrome do |app| | |
| Capybara::Selenium::Driver.new(app, | |
| browser: :chrome, | |
| desired_capabilities: { | |
| "chromeOptions" => { | |
| "args" => %w{ window-size=1024,768 } | |
| } | |
| } | |
| ) | |
| end |
Your Class:
class YourClass < ActiveRecord::Base
attr_accessor :some_date
columns_hash["some_date"] = ActiveRecord::ConnectionAdapters::Column.new("some_date", nil, "date")
end
Your View:
<%= form_for :your_class do |f| %>
| sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
| # or... | |
| sudo killall coreaudiod |
| task :ask_production_confirmation do | |
| set(:confirmed) do | |
| puts <<-WARN | |
| ======================================================================== | |
| WARNING: You're about to perform actions on production server(s) | |
| Please confirm that all your intentions are kind and friendly | |
| ======================================================================== |
| # Directly copied from eycap-0.5.2 (thanks!) | |
| # | |
| # With these tasks you can: | |
| # - dump your production database and save it in shared_path/db_backups | |
| # - dump your production into your local database (clone_to_local) | |
| # | |
| # Tested and fixed by fjguzman | |
| Capistrano::Configuration.instance(:must_exist).load do | |
| namespace :db do |