Backup Mongodb On Ubuntu

Backup MongoDB on Ubuntu

https://sheharyar.me/blog/regular-mongo-backups-using-cron/

http://stackoverflow.com/questions/30558625/what-is-the-easiest-to-backup-a-mongodb-deployed-with-mup/30559938

http://www.codeproject.com/Tips/547759/Automating-backup-for-MongoDB-using-CRON-and-S-CMD

Install wput

sudo apt-get install wput 

Script mongodump -> tar > wput (ftp)

Create a file named:

mongo_backup.sh 

Content:

#!/bin/bash MONGO_DATABASE="appDBName"...
      
Read More

Meteorjs Bucket

Meteorjs Bucket

https://gentlenode.com/journal/meteor-22-the-best-meteor-packages-you-must-know-to-code-faster-than-ever/52

https://www.discovermeteor.com/blog/spacebars-secrets-exploring-meteor-new-templating-engine/

http://meteorcapture.com/spacebars/

Read More

Run Phonegap On Ubuntu

Install Phonegap

1. Install Git

sudo apt-get install git 

2. Install NodeJS

sudo apt-get install node 

bla bla

3. Install PhoneGap

sudo npm install -g phonegap 

4. Install...

Read More

How To Fix Local Git Repo

How to fix a local Git repo

  1. rename the folder "projects/my-project" to "projects/save-git"
  2. Go to the folder "projects/"
  3. Run git clone repo-of-my-project
  4. Remove all files from "projects/my-project" (except from the folder ".git")
  5. Copy all files of "projects/save-git" to "projects/my-project"...
Read More

Logging In With Google

Google Developpers Console

https://console.developers.google.com/

AUTHORIZED JAVASCRIPT ORIGINS http://app.idretis.com

AUTHORIZED REDIRECT URIS http://app.idretis.com/oauth2callback http://app.idretis.com/_oauth/google?close

Read More