Quantcast
Channel: Uncategorized – Michael Freidgeim's Blog
Browsing latest articles
Browse All 11 View Live

Is it possible to determine Visual Studio edition during c# compile time

To use MS Fakes shims, I had to conditionally exclude related tests  to allow easily bypass them on Community and Professional Editions of the Visual Studio. #if !FAKES_NOT_SUPPORTED [ TestMethod()]...

View Article


FromToRange generic class

Quite often you need to return from method 2 values that describe the range, e.g. From/To or Min/Max. You could use standard MS classes Pair or Tuple...

View Article


TestContext.WriteLine doesn’t accept curly brackets

In test class I was using TestContext.WriteLine trying to output JSON string, I’ve got System.FormatException : Input string was not in a correct format. at System.Text.StringBuilder....

View Article

Gmail arbitrary rejects emails with big number of recipients

I was sending information letter to the club subscribers(total 225 emails) using Gmail account. I keep them in 3 mailing lists: 2 with 95 emails and 3rd with remaining(GMail limit recipients to 100 per...

View Article

Using MSBuild Conditional Constructs to run one or other target

I was doing modification of MSBuild target https://github.com/MNF/OctoPack.Precompile/blob/master/Source/OctoPack.Precompile.targets to have different behavior depending on parameter OutDir was...

View Article


Suggestions to improve Pocket

I am using Pocket (previously named RIL -Read It Later) and sometimes wish to suggest some improvements for them. Unfortunately they don’t want to have a forum to have such suggestions public( They had...

View Article

FetchRemote function to work with git in Powershell

I have a useful method to create a remote git alias, if not exists,  and fetch data. I used it in Powershell scripts to operate with git remote branches: function FetchRemote( $remoteAlias,...

View Article

Request to Avaaz to stop distribute Hamas propaganda.

I’ve  posted  on  Avaaz site a petition Request  to stop distribute Hamas propaganda, but instead of address it, they just blocked it without any notification to me. Request to Avaaz to stop distribute...

View Article


How to support Palestinians.

If a person criticized Hamas for the deaths of Palestinians caused by more than 500 rockets that fell on Gaza’s territory since October 7, opposed Egypt’s refusal to allow Palestinians from Gaza into...

View Article


X (former Twitter) refused to remove propaganda of terrorism

I’ve reported naming of October 7 terrorist attack as “resistance operation” as a  support and propaganda of terrorism. Reply from X automated system was that  it didn’t find any problem with the post....

View Article
Browsing latest articles
Browse All 11 View Live