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
<?xml version='1.0' encoding='UTF-8'?> | |
<gpx creator="Esri" version="1.0" xalan="http://xml.apache.org/xalan" xmlns="http://www.topografix.com/GPX/1/1" xsi="http://www.w3.org/2001/XMLSchema-instance"><wpt lat="60.3275172608" lon="-134.272101215"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.5452343323" lon="-134.416443469"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.5059909227" lon="-134.380400689"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.5351046022" lon="-134.492167512"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.4470025183" lon="-134.278019165"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.4715259816" lon="-134.328562126"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.4380733513" lon="-134.309640075"><ele>0</ele><time> </time><name> </name><desc> </desc></wpt><wpt lat="60.5258212849" lon="-134.428693475"><ele>0</ele><time> </time><name> </na |
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
' VBS Script to get the Windows(R) 7 Product Key from a PC's registry. | |
' | |
' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC. | |
' Now, when you double-click the local script file an alertbox pops up | |
' displaying the product key stored in the machine's Windows registry. | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId" | |
MsgBox ExtractKey(WshShell.RegRead(KeyPath)) |
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
''' Print Yukon NTS tile names as html table with links, arranged in same order as they appear in a map index. | |
2015-Aug-19, [email protected] | |
License: X/MIT | |
''' | |
nts_txt_ordered = '''117C 117D | |
117B 117A | |
116NO 116P | |
116JK 116I 106L 106K |
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
:: On-Demand Flash Autoupdate | |
:: Author: Karl Horky | |
:: Date: 22 June 2012 | |
:: Version: 0.2 | |
:: Homepage: http://www.karlhorky.com/2012/06/manually-run-autoupdate-for-adobe-flash.html | |
@echo off | |
pushd C:\Windows\System32\Macromed\Flash\ | |
if exist *ActiveX.exe ( | |
echo Updating Flash Player Plugin for Internet Explorer |
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
# -*- coding: utf-8 -*- | |
# --------------------------------------------------------------------------- | |
# Spatial Adjustment links to Features.py | |
# Created on: 2015-09-11 11:46:14.00000 | |
# (generated by ArcGIS/ModelBuilder) | |
# Usage: Spatial Adjustment links to Features <Spatial_Adjustment_link_table___txt_> <Spatial_Reference> <Out_Workspace> <displacement_lines> <identity_points> | |
# Description: | |
# --------------------------------------------------------------------------- | |
# Import arcpy module |
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
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2015-10-27T04:32:20.2209506</Date> | |
<Author>localhost\Matt</Author> | |
<Description>Workaround for the capture service halting on suspend/hibernate and resume (https://github.com/codebox/bitmeteros/issues/30). Fires on Startup (30s delay), Logon and Workstation Unlock.</Description> | |
</RegistrationInfo> | |
<Triggers> | |
<SessionStateChangeTrigger> | |
<Enabled>true</Enabled> |
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
@echo off | |
:: rev 0.1 2008.Mar.10, [email protected] | |
:: rev 0.2 2008.Sept.18 - updated to account for change in ftp source folders | |
:: rev 0.3 2014.Feb.06 - enable timestamp (only download if source newer) | |
echo. | |
echo. ----------------------------------------------------------------------- | |
echo. Going to download National Hydrographic Network Yukon, which could take | |
echo. awhile. This script can be aborted and rerun, it will resume | |
echo. where it left off. | |
echo. ----------------------------------------------------------------------- |
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
> pip install --upgrade https://github.com/sylvainpelissier/PyPDF2/archive/master.zip | |
Collecting https://github.com/sylvainpelissier/PyPDF2/archive/master.zip | |
C:\Python27\ArcGIS10.3\lib\site-packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. | |
InsecurePlatformWarning | |
C:\Python27\ArcGIS10.3\lib\site-packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. | |
InsecurePlatformWarning | |
Downloading https://github.com/sylvainpelissier/PyPDF2/archiv |
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
:: --{ Remove-Win10-nag.bat }-- | |
:: http://superuser.com/questions/955444/i-cancelled-microsoft-10-reservation-and-uninstalled-kb3035583-but-window-10-is | |
:: must be run from elevated command prompt (Run As Administrator) | |
for %%a in (3035583 3022345 3068708 3075249 3080149 2990214 3012973 2952664 2976978) do ( | |
wusa /uninstall /kb:%%a /norestart /quiet | |
) | |
echo Windows Registry Editor Version 5.00 >> "%temp%\disable-win10-upgrade.txt" | |
echo. >> "%temp%\disable-win10-upgrade.txt" | |
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade] >> "%temp%\disable-win10-upgrade.txt" |
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
# In ArcGIS Field Calculator, pre-logic script code box: | |
import numpy | |
def getMedian(shp): | |
aList=[] | |
part=shp.getPart(0) | |
n=len(part) | |
for i in xrange(n): | |
p=part.getObject(i) | |
z=p.Z | |
aList.append(z) |