#MongoDB - Setting up a Replica Set
cd \mongodbdir\
mkdir db1
mkdir db2
mkdir db3
###Primary mongod --dbpath ./db1 --port 30000 --replSet "demo"
#MongoDB - Setting up a Replica Set
cd \mongodbdir\
mkdir db1
mkdir db2
mkdir db3
###Primary mongod --dbpath ./db1 --port 30000 --replSet "demo"
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
# Authored by [email protected] as found in the following link: | |
# http://www.mail-archive.com/[email protected]/msg18928.html | |
import sys | |
from PyQt4 import QtCore | |
from PyQt4 import QtGui | |
from PyQt4.QtCore import QObject | |
from PyQt4.QtCore import QUrl | |
from PyQt4.QtCore import QSizeF |