How to install mongoDB on Manjaro 21 Ornara
- Enable AUR
- Make sure system is up to date
sudo pacman -Syu
- To install, use the following command:
pamac build mongodb-bin
pamac build mongodb-tools-bin
pamac build mongodb-compass
import Dexie from 'dexie'; | |
import { EJSON } from 'meteor/ejson'; | |
import type { Mongo } from 'meteor/mongo'; | |
import type { Meteor } from 'meteor/meteor'; | |
import { Tracker } from 'meteor/tracker'; | |
import { throttle } from 'underscore'; | |
import { PendingCounter } from './PendingCounter'; | |
interface LocalCollectionInternal { | |
queries: Record<any, any>; |
How to install mongoDB on Manjaro 21 Ornara
sudo pacman -Syu
pamac build mongodb-bin
pamac build mongodb-tools-bin
pamac build mongodb-compass
#!/bin/bash | |
# This script cleans all cache for Microsoft Teams on Linux | |
# Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions. | |
# Tested Teams via snap package. | |
# Tested Teams via flatpak package. | |
# | |
# How to use in terminal: | |
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak ) | |
# or |
ARG RUBY_VERSION=2.6 | |
FROM ruby:$RUBY_VERSION | |
ARG DEBIAN_FRONTEND=noninteractive | |
ARG NODE_VERSION=11 | |
RUN curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list |
import { useTracker } from 'meteor/react-meteor-data' | |
// Hook, basic use, everything in one component | |
const MyPage = (pageId) => { | |
const { user, isLoggedIn, page } = useTracker(() => { | |
// The publication must also be secure | |
const subscription = Meteor.subscribe('page', pageId) | |
const page = Pages.findOne({ _id: pageId }) | |
return { | |
page, |
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B) | |
set -g prefix C-space | |
unbind-key C-b | |
bind-key C-space send-prefix | |
# Set new panes to open in current directory | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" |
sudo pacman -Rsc -n nodejs | |
sudo pacman -Sy nodejs | |
sudo pacman -Sy npm |
# Backup DB | |
docker run \ | |
--rm \ | |
--link running_mongo:mongo \ | |
-v /data/mongo/backup:/backup \ | |
mongo \ | |
bash -c ‘mongodump --out /backup --host $MONGO_PORT_27017_TCP_ADDR’ | |
# Download the dump | |
scp -r USER@REMOTE:/data/mongo/backup ./backup | |
# one or the other, NOT both | |
[url "https://github"] | |
insteadOf = git://github | |
# or | |
[url "[email protected]:"] | |
insteadOf = git://github |
#It's not directly mentioned in the documentation on how to do this, so here you go. This command will tunnel everything including DNS: | |
sshuttle --dns -vr [email protected] 0/0 --ssh-cmd 'ssh -i /your/key/path.pem' |