^\s*\*\s@property\s{(\w+)}\s(\w+)(?:\s*-\s*)?([^\r\n]+)\s*$
- type name
- property name
- property description
/// $3\npublic $1 $2 { get; set; }
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/css/esri.css" /> | |
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3compact" type="text/javascript"></script> | |
<style> | |
html, body, #map, map.container { | |
height: 100%; |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using Dict = System.Collections.Generic.Dictionary<string, object>; | |
/* | |
Licensed under the MIT license (http://opensource.org/licenses/MIT) | |
Copyright (c) 2013 Washington State Department of Transportation |
/** Gets a query string parameter. | |
@returns {String|null} Returns the value of the query string parameter, or null if that parameter is not defined. | |
*/ | |
function getQueryStringParameter(/** {String} */ key) { | |
var keyRe, match, output = null; | |
if (document.location.search.length) { | |
keyRe = new RegExp(key + "=([^\\&]+)", "i"); | |
match = document.location.search.match(keyRe); | |
if (match) { | |
output = match[1]; |
// For use withhttp://proj4js.org/ | |
/** @typedef {(string|proj4.Proj)} Projection | |
* | |
*/ | |
/** @typedef {object} ThisProjectionInfo | |
* @property {?Projection} inPrj | |
* @property {?Projection} outPrj | |
*/ |
/// <summary> | |
/// Converts from a JavaScript Date value in milliseconds to a <see cref="DateTimeOffset"/>. | |
/// </summary> | |
/// <param name="milliseconds">Number of milliseconds since 1970-1-1T00:00:00</param> | |
/// <returns>Returns the <see cref="DateTimeOffset"/> equivalent of <paramref name="milliseconds"/>.</returns> | |
public static DateTimeOffset FromJSDateToDateTimeOffset(this double milliseconds) | |
{ | |
return new DateTimeOffset(1970, 1, 1, 0, 0, 0, TimeSpan.Zero).AddMilliseconds(milliseconds * 1000); | |
} |
// Setup Google Analytics, but not if user has specified that they don't want to be tracked. | |
(function (dnt, cookieDomain) { | |
var scriptTag, hostRe = new RegExp(cookieDomain.replace(".", "\\.") + "$"); | |
if (dnt !== "yes" && dnt !== "1") { | |
window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date; | |
ga('create', 'YOUR-ID-HERE', hostRe.test(location.host) ? cookieDomain : "auto"); | |
ga(function (tracker) { | |
tracker.set("appName", "Your app name here"); | |
tracker.send('pageview'); | |
}); |
<NotepadPlus> | |
<UserLang name="JSON" ext=".json" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments"></Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> |
Don't wait until the end of the week to refill the pill organizer.
Sun. | Mon. | Tue. | Wed. | Thu. | Fri. | Sat. |
---|---|---|---|---|---|---|
Take 💊 | 💊 | 💊 | 💊 | 💊 | 💊 | 💊 |
"""Extracts attachments from a file geodatabase. | |
""" | |
import os, re | |
from os.path import join, exists | |
from arcpy import da | |
def extract_attachments(gdb, attachment_dir="images"): | |
"""Extract attachments from a geodatabase to the filesystem. | |
""" | |
attach_table_name_re = re.compile(r"^\w+(?=__ATTACH$)", re.IGNORECASE) |