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
private void Layer_InitializationFailed(object sender, EventArgs e) | |
{ | |
if (sender is ESRI.ArcGIS.Client.Local.ArcGISLocalDynamicMapServiceLayer) | |
{ | |
_log.ErrorFormat("Layer_InitializationFailed - FeatureLayer ID: {0}, URL: {1}", ((ESRI.ArcGIS.Client.FeatureLayer)sender).ID, ((ESRI.ArcGIS.Client.FeatureLayer)sender).Url); | |
} | |
else | |
{ | |
if (sender is ESRI.ArcGIS.Client.Local.ArcGISLocalFeatureLayer) | |
{ |
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
// Add reference to System.Configuration | |
using System.Configuration; | |
private void Application_Startup(object sender, StartupEventArgs e) | |
{ | |
log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo(System.Configuration.ConfigurationManager.AppSettings["log4NetConfigFile"])); | |
log4net.LogManager.GetLogger(typeof(App)).InfoFormat("Application_Startup()"); | |
} |
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
<add key="log4NetConfigFile" value="log4net.config"/> |
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
private log4net.ILog _log = log4net.LogManager.GetLogger(typeof(<classname>)); |
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
obj/ | |
bin/ | |
ClientBin/ | |
*.bak | |
logs/ | |
Error_Log/ | |
App_Data/ | |
*.suo | |
*.csproj.user |
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
<script language="JavaScript" src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type="text/javascript"></script> | |
<script language="JavaScript" src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type="text/javascript"></script> |
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
<!---PrintMapAction.do?img=no:--> | |
<!-- | |
TODO: | |
===== | |
Side by side operation with checkbox or argument | |
Formatting/placement of images | |
Loose hardcoding of image sizes | |
Test with larger number of layers | |
Get JavaScript added to server side code so added on fly. | |
--> |
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
Node cheat sheet | |
sudo add-apt-repository ppa:richarvey/nodejs | |
sudo apt-get update | |
sudo apt-get install nodejs | |
sudo npm install express -g | |
sudo npm install stylus -g | |
sudo npm install jade -g | |
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
Find: | |
Script Date: 03/14/2014 \d{2}:\d{2}:\d{2} | |
Replace: | |
<empty string> | |
Find: | |
USE \[\b(_\w+|[\w-[0-9_]]\w*)\b\] | |
Replace with: | |
USE [<DB NAME>] |
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
pscp -i "C:\Users\lhunt\Google Drive\Venari\keys\pcoc-leasing.ppk" C:\Users\lhunt\Downloads\shapefile.zip [email protected]:/home/ubuntu/downloads/ |
OlderNewer