Meteor | MongoDB Driver | Earliest Compatible MongoDB | MongoDB with all features | Oldest supported MongoDB |
---|---|---|---|---|
3.0-beta.7 | 4.17.2 | 7.0 | 6.0 | 3.6 |
2.15 | 4.17.2 | 7.0 | 6.0 | 3.6 |
2.14 | 4.17.2 | 7.0 | 6.0 | 3.6 |
2.13.3 | 4.16.0 | 7.0 | 6.0 | 3.6 |
2.12 | 4.16.0 | 7.0 | 6.0 | 3.6 |
2.11 | 4.14.0 | 7.0 | 6.0 | 3.6 |
2.10 | 4.12.1 | 7.0 | 6.0 |
This file contains 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
# frozen_string_literal: true | |
require "rails/generators/active_record/migration/migration_generator" | |
class Rails::MigrationGenerator < ActiveRecord::Generators::MigrationGenerator | |
class_option :plugin_name, | |
type: :string, | |
banner: "plugin_name", | |
desc: "The plugin name to generate the migration into." |
This file contains 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
package async | |
// This snippet is an update on what we see in | |
// https://hackernoon.com/asyncawait-in-golang-an-introductory-guide-ol1e34sg | |
// Also this one follows this assumptions from this article: https://appliedgo.net/futures/ | |
// Assumption #1: It is ok that the spawned goroutine blocks after having calculated the result. | |
// Assumption #2: The reader reads the result only once. | |
// Assumption #3: The spawned goroutine provides a result within a reasonable time. |
This file contains 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
{ | |
"json.schemaDownload.enable": true, | |
"workbench.colorTheme": "Night Wolf (black)", | |
"workbench.iconTheme": "symbols", | |
"files.autoSave": "afterDelay", | |
"editor.fontSize": 14, | |
"editor.fontFamily": "'Jetbrains Mono', 'FiraCode-Retina', 'Fira Code', Monocraft , Menlo, Monaco, 'Courier New', monospace", | |
"editor.tabSize": 2, | |
"editor.cursorBlinking": "phase", |
This file contains 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 { Meteor } from "meteor/meteor"; | |
const setProxySettings = ( | |
{ | |
call, | |
filter, | |
}: { | |
call: ({ path, args }: { path: unknown; args: unknown[] }) => any; | |
filter: (path: string[]) => unknown; | |
} = { |
This file contains 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
const setProxySettings = ( | |
{ | |
call, | |
filter, | |
}: { | |
call: ({ path, args }: { path: unknown; args: unknown[] }) => any; | |
filter: (path: string[]) => unknown; | |
} = { | |
call: ({ path, args }) => { | |
return { |
This file contains 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
accounts-2fa logging | |
accounts-base logic-solver | |
accounts-facebook meetup-config-ui | |
accounts-github meetup-oauth | |
accounts-google meteor | |
accounts-meetup meteor-base | |
accounts-meteor-developer meteor-developer-config-ui | |
accounts-oauth meteor-developer-oauth | |
accounts-password meteor-platform | |
accounts-passwordless meteor-tool |
This file contains 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
#!/bin/bash | |
# Set environment variables | |
NODE_VERSION="14.21.4" | |
NODE_URL="https://static.meteor.com/dev-bundle-node-os/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" | |
DIR_NODE="/usr/local" | |
# Download and install Node.js using wget | |
wget -qO- "$NODE_URL" | tar -xz -C "$DIR_NODE"/ && mv "$DIR_NODE"/node-v${NODE_VERSION}-linux-x64 "$DIR_NODE"/v$NODE_VERSION |
This file contains 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
/** | |
* | |
* @param {string} name | |
* @param {(assert: typeof assert) => void} callback | |
*/ | |
function assement(name, callback) { | |
let counter = 0, | |
failed = 0, | |
errorList = []; |
This file contains 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
// given a string, list the possible cenarios for each character, given that if the word has a | |
// ? it should be either "E" or "U" | |
// example: "???" -> ["EEE", "EEU", "EUE", "EUU", "UEE", "UEU", "UUE", "UUU"] | |
// example: "??U" -> ["EEU", "EUU", "UEU", "UUU"] | |
// example "fo?" -> ["foE", "foU"] | |
/** | |
* | |
* @param {string} str | |
* @returns {string[]} |
NewerOlder