Skip to content

Instantly share code, notes, and snippets.

tobi-tobsen /
Last active May 17, 2021
IronPython script which retrieves selected cells from an opened excel sheet and figures out the number of occurences for each of the letters used
import clr
# Not sure if the full qualified assembly name is needed - works for me if I omit it:
#clr.AddReferenceByName('Microsoft.Office.Interop.Excel, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c')
from Microsoft.Office.Interop import Excel
from System.Runtime.InteropServices import Marshal
from collections import Counter
# The following IronPython script finds out how many alphabet-stickers my future wife needs for the wedding place cards
tobi-tobsen / compiles_net35clientprofile.patch
Created Aug 30, 2013
A patch for netmq to compile under 3.5 client profile
View compiles_net35clientprofile.patch
diff --git a/src/NetMQ.Tests/NetMQ.Tests.csproj b/src/NetMQ.Tests/NetMQ.Tests.csproj
index 4e9d395..ab4b3dc 100644
--- a/src/NetMQ.Tests/NetMQ.Tests.csproj
+++ b/src/NetMQ.Tests/NetMQ.Tests.csproj
@@ -12,6 +12,8 @@
+ <TargetFrameworkProfile>
+ </TargetFrameworkProfile>
View App.config
<?xml version="1.0" encoding="utf-8" ?>
<!--<sectionGroup name="common">
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core"/>
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />