I have use psake a few times, and I wanted to see what I extract to be more productive. With the rate at which I spin off OSS and side projects, I need something that just works out of the box and is fast to set up. Borne of this need, I created Toji, and it is available as a NuGet package.
I must have my build set up with compiling, testing, packaging, and deployment. I have some xunit, nunit, nuget, msbuild helpers in the project to get projects up quickly. The lack of a xunit [...]
A problem was recent posed that I hadn’t thought to do using Parallel.For in C#. How do you parallelize a for loop variable increased by something other than i++? Typically, I would simply iterate over a enumerable collection and run against the data in parallel using Parallel.For and Parallel.ForEach.
It turns out that there is no support for this in the PFX API. Parallel.For does not support incrementing other than one and it does not support reverse iteration. Also, Enumerable is a static class – which means we can’t do extension methods on Enumerable. However, we can use a custom iterator to generate the sequence for us. By using a Func<int, int> allows us to use our familiar i+= syntax for the increment function. We can quickly create a very simple iterator that will help us out.
IntelliTect: To open up a file in another tab from the #PowerShell ISE Console, use:
psedit <filename> 1 day ago
IntelliTect: To test for the existence of a global variable in #PowerShell use
Test-Path variable:global:foo 1 day ago
IntelliTect: To upload an app to an #Office365 App Catalog use the following URL: https://<domain>.sharepoint.com/sites/AppCatalog. #SharePoint 32 days ago
IntelliTect: #Empowered #Leadership #IntelliTectValues (http://t.co/2YmE76FzuD)
1. Business is an ecosystem, not a battlefield.... http://t.co/BJF6smivR2 32 days ago
IntelliTect: #Leadership http://t.co/o6ZplTMvY4 32 days ago
Mark and his IntelliTect team performed a number of tasks for Brahma including an architectural review of our solution, setting up and configuring Team Foundation Server including continuous integration builds and providing guidance and training on development processes and unit testing.
Brahma Holding, La Jolla, CA
3024 S. Bannen Ct.
Spokane Valley, WA 99037