Skip to content

Instantly share code, notes, and snippets.

View karlbenedict's full-sized avatar

Karl Benedict karlbenedict

  • University of New Mexico
  • Albuquerque, NM. USA
View GitHub Profile
<html>
<head>
</head>
<body>
<p>My embedded powerpoint viewer from consumer OneDrive</p>
<iframe src="https://onedrive.live.com/embed?cid=B7071BEDF15411DF&amp;resid=B7071BEDF15411DF%21416&amp;authkey=AI2CcabKKPSdFfo&amp;em=2&amp;wdAr=1.7777777777777777" width="350px" height="221px" frameborder="0">This is an embedded <a target="_blank" href="https://office.com">Microsoft Office</a> presentation, powered by <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe>
<p>My embedded powerpoint viewer from OneDrive for Business</p>
<iframe src="https://unmm-my.sharepoint.com/personal/kbene_unm_edu/_layouts/15/Doc.aspx?sourcedoc={ffe5c919-fb71-4a8d-a716-475bc4089001}&amp;action=embedview&amp;wdAr=1.7777777777777777" width="350px" height="221px" frameborder="0">This is an embedded <a target="_blank" href="https://office.com">Microsoft Office</a> presentation, powered by <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe>
</body>
</html>

Keybase proof

I hereby claim:

  • I am karlbenedict on github.
  • I am kbene (https://keybase.io/kbene) on keybase.
  • I have a public key ASCz-zIiJT8LCblrH-M3DjzTlyRUDby2_V1mmaql_952lgo

To claim this, I am signing this object:

<div id="wait" style="visibility:hidden;font-family:sans-serif;background-color:rgba(255,255,255, 0.8);width:100%;height:100%;position:absolute;top:0px;left:0px;text-align:center;padding-top:100px">
<p>Loading content<br/>
<img src="http://www.nawrs.net/images/30.gif" />
@karlbenedict
karlbenedict / gist:8d9243f68cdf56b19c1a
Created May 1, 2014 17:32
OpenLayers - USGS National Atlas - Federal Lands WMS
// from USGS National Atlas: http://webservices.nationalatlas.gov/wms/boundaries?SERVICE=WMS&REQUEST=GetCapabilities
federallandsLayer = new OpenLayers.Layer.WMS(
"US Federal Lands",
"http://webservices.nationalatlas.gov/wms?",
{layers: "federallands", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: false, visibility: false, opacity: .5}
);
map.addLayer(federallandsLayer);
@karlbenedict
karlbenedict / gist:9411aac24a88cdbea803
Created May 1, 2014 17:29
OpenLayers - USGS National Atlas - Native American Lands WMS
// from USGS National Atlas: http://webservices.nationalatlas.gov/wms/boundaries?SERVICE=WMS&REQUEST=GetCapabilities
naLayer = new OpenLayers.Layer.WMS(
"Native American Lands",
"http://webservices.nationalatlas.gov/wms?",
{layers: "indlan", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: false, visibility: false, opacity: .5}
);
map.addLayer(indlanLayer);
@karlbenedict
karlbenedict / gist:94008770ee2d1a77eb0b
Last active August 29, 2015 14:00
OpenLayers - USGS National Atlas - Counties WMS
// from USGS National Atlas: http://webservices.nationalatlas.gov/wms/boundaries?SERVICE=WMS&REQUEST=GetCapabilities
countiesLayer = new OpenLayers.Layer.WMS(
"US Counties",
"http://webservices.nationalatlas.gov/wms?",
{layers: "counties", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: false, visibility: false, opacity: .8}
);
map.addLayer(countiesLayer);
@karlbenedict
karlbenedict / gist:b5e4c377dea4686c1975
Last active August 29, 2015 14:00
OpenLayers - USGS Global Countries Labels WMS
// from http://services.nationalmap.gov/ArcGIS/services/TNM_Blank_US/MapServer/WMSServer?request=GetCapabilities&service=WMS
globalLabelsLayer = new OpenLayers.Layer.WMS(
"Global Labels",
"http://services.nationalmap.gov/arcgis/services/TNM_Blank_US/MapServer/WmsServer?",
{layers: "12,19,26", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: false, singleTile: true, visibility: false}
);
map.addLayer(globalLabelsLayer)
@karlbenedict
karlbenedict / gist:3b39399e1625ada027fb
Created May 1, 2014 17:10
OpenLayers - USGS Global Countries and Oceans WMS Layer (Basemap)
// from http://services.nationalmap.gov/ArcGIS/services/TNM_Blank_US/MapServer/WMSServer?request=GetCapabilities&service=WMS
countriesLayer = new OpenLayers.Layer.WMS(
"Global Countries and Oceans",
"http://services.nationalmap.gov/arcgis/services/TNM_Blank_US/MapServer/WmsServer?",
{layers: "2,3,5,8,9,11,15,16,18,22,23,25", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: true}
);
map.addLayer(countriesLayer)
@karlbenedict
karlbenedict / gist:bbcaa28bd54746520380
Last active August 29, 2015 14:00
OpenLayers - USGS Topographic WMS (Basemap)
// from http://basemap.nationalmap.gov/ArcGIS/services/USGSImageryTopo/MapServer/WMSServer?request=GetCapabilities&service=WMS
usImagery = new OpenLayers.Layer.WMS(
"US Imagery Tile Service - USGS",
"http://basemap.nationalmap.gov/arcgis/services/USGSImageryTopo/MapServer/WmsServer?",
{layers: "0", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: true}
);
map.addLayer(usImagery)