Westmoreland County and the Northern Neck of Virginia offer many things to do and see to go along with your visit to Stratford Hall. Plan on a day trip or make it a weekender! Stratford Hall is also part of several regional and state birding, biking, hiking and history trails. We offer the following links to help you plan your visit:
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
function shp2geojson() { | |
ogr2ogr -f GeoJSON -t_srs crs:84 "$1.geojson" "$1.shp" | |
} | |
for f in /*; | |
do | |
for var in *.shp; do shp2geojson ${var%\.*}; done | |
done; |
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
// original from: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/ | |
// original gist: https://gist.github.com/willpatera/ee41ae374d3c9839c2d6 | |
function doGet(e){ | |
return handleResponse(e); | |
} | |
// Enter sheet name where data is to be written below | |
var SHEET_NAME = "Sheet1"; |
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
<form id="test-form"> | |
<div> | |
<label>Field 1</label> | |
<input type="text" name="form_field_1" placeholder="Field 1"/> | |
</div> | |
<div> | |
<label>Field 2</label> | |
<input type="text" name="form_field_2" placeholder="Field 2"/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<?php | |
// This is PHP function to convert a user-supplied URL to just the domain name, | |
// which I use as the link text. | |
// Remember you still need to use htmlspecialchars() or similar to escape the | |
// result. | |
function url_to_domain($url) | |
{ |
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
// http://stackoverflow.com/a/18560314 | |
// if condition is for old IE | |
if (!Object.keys) { | |
Object.keys = function (obj) { | |
var arr = [], | |
key; | |
for (key in obj) { | |
if (obj.hasOwnProperty(key)) { | |
arr.push(key); | |
} |
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
<?php | |
/** | |
* checkEmail | |
* | |
* @param String $email | |
* @param Boolean $mxCheck (do not use, if you don't need it) | |
* | |
* @return Boolean | |
*/ |
- 1821 Estaline Valley Road
- Craigsville, Virginia 24430
- (540) 997-7000
- State Delegate
- Ronnie R. Campbell
- District:24
- Party:R