Skip to content

Instantly share code, notes, and snippets.

View dr-dimitru's full-sized avatar
👨‍💻
get 💩 done

dr.dimitru dr-dimitru

👨‍💻
get 💩 done
View GitHub Profile
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
engine: wiredTiger
wiredTiger:
engineConfig:
cacheSizeGB: 0.3
systemLog:
destination: file
@dr-dimitru
dr-dimitru / client.conf
Created February 22, 2021 17:39
Proxmox host/client iface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.1.2
netmask 255.255.255.0
gateway 10.0.1.1
@dr-dimitru
dr-dimitru / accounts_client.js
Created March 9, 2021 11:50
Meteor Accounts Enhancements
// !!! THIS IS META CODE, NOT A REAL SUGGESTION TO A CODEBASE
// JUST VERY SIMPLIFIED FORM OF PROPOSAL
Meteor._user = new ReactiveVar(null);
Meteor._userId = new ReactiveVar(null);
Tracker.autorun(() => {
Meteor._user.set(Meteor.user() || null);
});
Tracker.autorun(() => {
Meteor._userId.set(Meteor.userId() || null);