Skip to content

Instantly share code, notes, and snippets.

blah238

Block or report user

Report or block blah238

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@blah238
blah238 / example.py
Last active Mar 30, 2017 — forked from schlamar/example.py
mplog: Python advanced multiprocessing logging.
View example.py
import logging
import multiprocessing
import time
import mplog
FORMAT = '%(asctime)s - %(processName)s - %(levelname)s - %(message)s'
logging.basicConfig(level=logging.DEBUG, format=FORMAT)
existing_logger = logging.getLogger('x')
@blah238
blah238 / 53054-intersect-union-are-failing-on-10-1.linq
Created Feb 28, 2013
LINQPad ITopologicalOperator.Intersect test
View 53054-intersect-union-are-failing-on-10-1.linq
<Query Kind="Program">
<Reference>C:\CSProjects\DnrGps_Wkt\bin\Release\DnrGps_Wkt.dll</Reference>
<GACReference>ESRI.ArcGIS.Framework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.Geometry, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.System, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.Version, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<Namespace>DnrGps_Wkt</Namespace>
<Namespace>ESRI.ArcGIS.esriSystem</Namespace>
<Namespace>ESRI.ArcGIS.Framework</Namespace>
<Namespace>ESRI.ArcGIS.Geometry</Namespace>
@blah238
blah238 / polygonToLineFW35.linq
Created Feb 11, 2013
LINQPad IPolygon2.QueryExteriorRingsEx crash test (ArcGIS 10.0 SP5)
View polygonToLineFW35.linq
<Query Kind="Program">
<GACReference>ESRI.ArcGIS.Geometry, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.System, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.Version, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<Namespace>ESRI.ArcGIS.esriSystem</Namespace>
<Namespace>ESRI.ArcGIS.Geometry</Namespace>
</Query>
void Main()
{
@blah238
blah238 / polygonToLine.linq
Created Feb 11, 2013
LINQPad IPolygon2.QueryExteriorRingsEx crash test (ArcGIS 10.1 SP1)
View polygonToLine.linq
<Query Kind="Program">
<GACReference>ESRI.ArcGIS.Geometry, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.System, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<GACReference>ESRI.ArcGIS.Version, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86</GACReference>
<Namespace>ESRI.ArcGIS.esriSystem</Namespace>
<Namespace>ESRI.ArcGIS.Geometry</Namespace>
</Query>
void Main()
{
@blah238
blah238 / querypoints.linq
Last active Dec 12, 2015
LINQPad IGeometryBridge.QueryPoints() example
View querypoints.linq
<Query Kind="Program">
<Reference>&lt;ProgramFilesX86&gt;\ArcGIS\DeveloperKit10.1\DotNet\ESRI.ArcGIS.Geometry.dll</Reference>
<Reference>&lt;ProgramFilesX86&gt;\ArcGIS\DeveloperKit10.1\DotNet\ESRI.ArcGIS.System.dll</Reference>
<Reference>&lt;ProgramFilesX86&gt;\ArcGIS\DeveloperKit10.1\DotNet\ESRI.ArcGIS.Version.dll</Reference>
<Namespace>ESRI.ArcGIS.Geometry</Namespace>
<Namespace>ESRI.ArcGIS.esriSystem</Namespace>
</Query>
void Main()
{
You can’t perform that action at this time.