Moving your db from meteor.com to your own replica set, with oplog
Step by step instruction to move your database from free meteor.com hosting to your own already deploy replica set, with oplog enabled. Run meteor mongo --url <your_app_domain> To get your...
View Articlenode.js mongo-watch login to remote server with authentication
If you want to use https://github.com/TorchlightSoftware/mongo-watch npm package, you might be surprised that the documentation doesn’t talk about connecting to remote servers. Read more for a short...
View ArticleQuick snippet for adding swap on Linux
Just quick copy & paste. Explanations below. sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile free -m echo "/swapfile none swap sw 0 0" >>...
View ArticleNFS with ssh keys authorization
My story with using ssh keys authorization and NFS. I’ve had a problem with setting up NFS server to work with dynamically started up digitalocean droplets. Before they started up I didn’t know their...
View ArticleTurning ultrawide LG 34UM95 into retina display
We all know that “retina” is just a marketing word that means that at a given distance the pixels density is so high that we can’t discern individual pixels. In human talk – it looks like real life...
View ArticleMeteor, read Oplog from secondaries
Short one today – if you want to make your Meteor application to read oplog from secondaries – which might be better way to go about querying oplog when your application gets huge is to simply append...
View Articlenpm install from forked branch with package.json
A little snippet for something I’ve been fighting with for a little bit today. I forked a mongo-watch package to include some tweaks I needed for my script, and I wanted an easy way to install that...
View ArticleTinder like cards implementation in Swift
Due to a high demand for a tinder-like cards implementation in swift I wrote one, based on a highly popular ObjectiveC one by cwRichardKim on github . Please check the Swift version out on github and...
View ArticleHow to get inside a running docker
Still learning about docker.. I was doing some silly things, like, running docker run -i -t /bin/bash on a docker to get inside and investigate.. I did not realize at first that this command actually...
View ArticleMeteor on Google Cloud Container Engine
Below you will find instruction for deploying your Meteor application into the Google Cloud Container Engine. You will need to clone the repository. lgandecki/meteor-gke is a fork of repository...
View Article