This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row" id="box-search"> | |
<div class="thumbnail text-center"> | |
<img src="img/cafe.jpg" alt="" class="img-responsive"> | |
<div class="caption"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab, quisquam?</p> | |
</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing with Internet Explorer / NAT Port Forwarding | |
It is possible to connect to the rails server inside the linux virtual machine from the host computer. | |
This allows testing the development site with Internet Explorer. | |
Note: This assumes the CentOS vm is running in NAT networking mode. | |
1) Find out what ip address the vm is using. Open a terminal in the vm and run /sbin/ifconfig | |
For this example the eth0 inet addr is 192.168.179.128. | |
2) Open System > Administration > Security Level and Firewall. (Enter the root password if necessary.) | |
3) On the "Firewall Options" tab, open the "Other ports" section and add ports 3000 and 8080. | |
4) Click ok and confirm the changes. | |
2) On the windows host, open C:\ProgramData\VMware\vmnetnat.conf with a text editor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var assert = require('assert') | |
console.log('\n==========='); | |
console.log(' mongoose version: %s', mongoose.version); | |
console.log('========\n\n'); | |
var dbname = 'testing_geojsonPoint'; |
NewerOlder