2024-11-21

Typesense - Admin API Key

 {

  "description": "Admin key",

  "actions": [

    "*

  ],

  "collections": [

    "*"

  ]

}

Typesense - API Key to search only but everywhere

 {

  "description": "Search-only API key",

  "actions": [

    "documents:search"

  ],

  "collections": [

    "*"

  ]

}


Docker - Determine the version of your mongodb container

docker exec container-name-here mongod --version


npm - Update your system to the latest npm version

npm install -g npm@latest

2024-10-16

2024-08-07

Meteor - Blaze asynchronous helper handling

 {{#let data = (helper_name 'value1' 'value2')}}

    {{#if @pending 'data'}}

        Loading message here... 

    {{/if}}

    {{#if @rejected 'data'}}

        Error message here... 

    {{/if}}

    {{#if @resolved 'data'}}

        Your data-dependent content here...

    {{/if}}

{{/let}}