For SQL notifications we followed the steps described in http://dimarzionist.wordpre... it didn't work for our database. The instructions missed a step to ensure that database options are set for SqlDependency NotificationI've created a function to Follow recommendation to always check the notification source, info and type, it returned SqlNotificationEventArgs, Type : Subscribe, Source : Statement, Info : Options //TODO: pass SQL string ......
We are using RazorEngine to generate emails based on .cshtml templates. Below are a few links that I used when develop ithttps://antaris.github.io... http://www.blozinek.cz/2014... ......
I prefer to open pages in Web View, because Article View often doesn't show text (in particular source code) properly.However option "Open Best View" usually opens Article View and I needed to change it manually.Pocket support provided me with solution To force the app to open all the articles in web view in your iPad you can follow these steps:Tap the Profile optionTap Settings, in the top right cornerUnder the headline Offline Downloading, disable “Download Best View”, “Always Fetch Article”Enable ......
I needed to insert new line after existing one in multiple similar xml files.In Visual Studio open "replace in files" dialog and tick "use regular expression"In "find" escape "/" as "\/" <param name="ExistingKey" value="False" \/>In "Replace" repeat original string, then add \n and add a new string <param name="ExistingKey" value="False" />\n <param name="NewKey" value="new value" />Related links:http://stackoverflow.... ......
Recently I've submitted a few suggestions to iTunes support forum. But I was informed, that for suggestions I have to use http://www.apple.com/feedba... form. I feel slightly uncomfortable, that I can't check later, what I submitted. So I proposed to Apple to create Feedback Forum. It will be good to have a forum for feedback similar to what you have for support. 1.It will allow me as a customer to check what I suggested and edit/append new considerations. 2.It will allow othe customers ......
I've created an extension method for string public static string EnsureEndsWith(this string str,string sEndValue,bool ignoreCase=true) { if (!str.EndsWith(sEndValue, ignoreCase, CultureInfo.InvariantCulture)) { str = str + sEndValue; } return str; }By some reason content of the post is not shown ......
I've created a helper method for ASP.Net web forms to move position to particular control /// <summary> /// /// </summary> /// <param name="page"></param> /// <param name="clientId"></par... /// <param name="alignToTop"></p... public static void ScrollToControl( Page page, string clientId, bool alignToTop) { //NOTE: if there are more than one call on the page, first one will take preference //If we want that last will take preference, change key from ......
I noticed that I often do the same sequence of git commands.UPDATE: dox suggested simpler alternative to use aliasesrun notepad ~/.gitconfigand add[alias]spa = !git stash && git pull && git stash applyThen executegit spaWith a help of an answer http://stackoverflow.com/a/... created .bashrc with commandnotepad ~/.bashrcand added the followingStashPullApply() {git stash git pull git stash apply}Now I can use just the name in git bash StashPullApply ......
I've recently did some work with PowerShell ISE and missed a few features,that I wish to have in the ISE.1.It will be good to Stop debugger(Shift-F5) icon on toolbar2.In the popup----------------------... PowerShell ISE------------------------... cannot edit any script files in Windows PowerShell ISE while the debugger is running. To edit a script, stop the debugger.------------------... ---------------------------it will be good to add button to stop debugger.When stopped at ......