DavidAmyot Github contribution chart
DavidAmyot Github Stats
DavidAmyot Most Used Languages

Activity

01 Nov 2022

Issue Comment

DavidAmyot

Install elasticsearch with Homebrew on OSX Ventura

Elasticsearch Version

7.17.4

Installed Plugins

No response

Java Version

bundled

OS Version

Mac OS X Ventura

Problem Description

I'm trying to install Elasticsearch using this guide.

When I start Elasticsearch with the command brew services start elasticsearch-full I see this window alert:

https://i.imgur.com/JRHt2xm.png

and in the log file I see this message:

/opt/homebrew/Cellar/elasticsearch-full/7.17.4/libexec/bin/elasticsearch-env: line 83: 10827 Killed: 9               "$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.java_version_checker.JavaVersionChecker 

Elasticsearch is not running.

Steps to Reproduce

Run these commands:

brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
brew services start elasticsearch-full 

Logs (if relevant)

No response

Forked On 01 Nov 2022 at 07:38:14

DavidAmyot

+1

Commented On 01 Nov 2022 at 07:38:14

DavidAmyot

cleanup website files

Pushed On 26 Sep 2022 at 05:18:22

DavidAmyot

google is not defined?

Hey, I keep getting a reference error for google in the withGoogleMap at line 101.

Uncaught ReferenceError: google is not defined - withGoogleMap.js:101

Does anyone know how to remedy this error?

Forked On 21 Sep 2022 at 05:49:21

DavidAmyot

Our app still has classes and I found the easiest way was to create a wrapper component that uses the useJsApiLoader hook.

withGoogleMap.js

import React from "react";
import { useJsApiLoader } from "@react-google-maps/api";

export const withGoogleMap = (Component) => {
  const ComponentWithGoogleMapProp = (props) => {
    const { isLoaded, loadError } = useJsApiLoader({
      googleMapsApiKey: process.env.GOOGLE_MAPS_KEY,
    });

    return <Component {...props} googleMap={{ isLoaded, loadError }} />;
  };

  return ComponentWithGoogleMapProp;
}; 

SomeComponent.js

import { withGoogleMap } from "@utils/withGoogleMap";

class SomeComponent extends PureComponent {
  // ...

  render() {
    const { isLoaded, loadError } = this.props.googleMap;  

    return (
      {!loadError ? (
          isLoaded ? (
             <GoogleMap {...mapProps}>{this.renderMapMarkers()}</GoogleMap>
          ) : (
            <MapLoadingSpinner />
          )
        ) : (
          <MapErrorView />
        )}
      }
    )
  }


export default withGoogleMap(SomeComponent); 

Commented On 21 Sep 2022 at 05:49:21

DavidAmyot

fix mobile landscape navbar bug

Pushed On 10 Sep 2022 at 11:11:50

DavidAmyot

Merge pull request #30 from DavidAmyot/29-fix-mobile-landscape-navbar

fix mobile landscape navbar bug

Pushed On 10 Sep 2022 at 11:11:50

DavidAmyot

fix profile image responsive sizing

Pushed On 10 Sep 2022 at 11:11:50

DavidAmyot

Merge pull request #32 from DavidAmyot/31-fix-header-profile-image-sizing

fix profile image responsive sizing

Pushed On 10 Sep 2022 at 11:11:50

DavidAmyot

fix profile image responsive sizing

Created On 10 Sep 2022 at 11:11:08

DavidAmyot

fix profile image responsive sizing

Pushed On 10 Sep 2022 at 11:11:08

DavidAmyot

Merge pull request #32 from DavidAmyot/31-fix-header-profile-image-sizing

fix profile image responsive sizing

Pushed On 10 Sep 2022 at 11:11:08

DavidAmyot

fix profile image responsive sizing

Created On 10 Sep 2022 at 11:10:51

DavidAmyot

fix mobile landscape navbar bug

Pushed On 10 Sep 2022 at 11:10:19

DavidAmyot

Merge pull request #30 from DavidAmyot/29-fix-mobile-landscape-navbar

fix mobile landscape navbar bug

Pushed On 10 Sep 2022 at 11:10:19

DavidAmyot

fix profile image responsive sizing

Pushed On 10 Sep 2022 at 11:10:19
Create Branch
DavidAmyot In DavidAmyot/website-frontend Create Branch31-fix-header-profile-image-sizing

DavidAmyot

Personal website project.

On 09 Sep 2022 at 02:26:23

DavidAmyot

fix mobile landscape navbar bug

Pushed On 09 Sep 2022 at 02:21:43

DavidAmyot

Merge pull request #30 from DavidAmyot/29-fix-mobile-landscape-navbar

fix mobile landscape navbar bug

Pushed On 09 Sep 2022 at 02:21:43

DavidAmyot

fix mobile landscape navbar bug

Created On 09 Sep 2022 at 02:21:42

DavidAmyot

fix mobile landscape navbar bug

Created On 09 Sep 2022 at 02:19:35

DavidAmyot

fix mobile landscape navbar bug

Pushed On 09 Sep 2022 at 02:18:13
Create Branch
DavidAmyot In DavidAmyot/website-frontend Create Branch29-fix-mobile-landscape-navbar

DavidAmyot

Personal website project.

On 09 Sep 2022 at 01:57:19

DavidAmyot

convert app to TypeScript

Pushed On 09 Sep 2022 at 01:45:04

DavidAmyot

Merge pull request #27 from DavidAmyot/feature/26-add-typescript

Convert app to TypeScript

Pushed On 09 Sep 2022 at 01:45:04

DavidAmyot

add mobile navbar and change its overall design

Pushed On 09 Sep 2022 at 01:45:04

DavidAmyot

Merge pull request #28 from DavidAmyot/feature/18-add-navbar-toggle-for-mobile

Add mobile navbar and change its overall design

Pushed On 09 Sep 2022 at 01:45:04
Create Branch

DavidAmyot

Personal website project.

On 09 Sep 2022 at 01:28:05

DavidAmyot

add mobile navbar and change its overall design

Pushed On 08 Sep 2022 at 12:59:06

DavidAmyot

Merge pull request #28 from DavidAmyot/feature/18-add-navbar-toggle-for-mobile

Add mobile navbar and change its overall design

Pushed On 08 Sep 2022 at 12:59:06

DavidAmyot

Add mobile navbar and change its overall design

Created On 08 Sep 2022 at 12:59:06

DavidAmyot

Add mobile navbar and change its overall design

Created On 08 Sep 2022 at 12:57:26

DavidAmyot

add mobile navbar and change its overall design

Pushed On 08 Sep 2022 at 12:56:13