This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service do | |
run [opt_bin/"elasticsearch"] | |
working_dir var | |
log_path var/"log/elasticsearch.log" | |
error_log_path var/"log/elasticsearch.log" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
see https://github.com/brianmario/mysql2/issues/1250#issuecomment-1075672620 | |
brew update --preinstall | |
brew install [email protected] | |
export LDFLAGS="-L/usr/local/opt/[email protected]/lib" | |
export CPPFLAGS="-I/usr/local/opt/[email protected]/include" | |
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install mysql2 -v '0.5.2' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Controller } from "stimulus"; | |
export default class extends Controller { | |
static targets = ["notes", "unreadCount"]; | |
connect() { | |
this.getNewNotes(); | |
if (this.data.has("refreshInterval")) { | |
this.startRefreshing(); | |
} |