Monthly Archives: November 2017

Codility BinaryGap Solution C#

By | November 7, 2017

Codility BinaryGap Solution C# Find the longest sequence of zeros in binary representation of an integer. Solution: public int GetBinaryGap(int N) { string binaryValue = Convert.ToString(N, 2); int longestBinaryGap = 0; int binaryGapLenght = 0; for (int i = 1; i & lt; binaryValue.Length; i++) { if (binaryValue[i – 1] == ‘1’ && binaryValue[i] ==… Read More »

Fiddler Wildcard AutoResponse For URL parameters

By | November 6, 2017

Fiddler Wildcard AutoResponse For URL parameters Suppose you want to enable autoresponder for perticular URL like, https://dotnetpeoples.blogspot.in/Employee/Login?id=12345 but every time id changes when we re-fresh this page, so autoresponder not considering it, Just do below 2 steps it will work for you guys, Step 1:  Enable Automatic responses & unmatched request passthrough   Step 2: In Rule… Read More »

Css Line height Property

By | November 4, 2017

Css Line height Property What is line height in css? Css Line Height property means amount of space (vertical) in which text content gets written in HTML. Mozilla says: It sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that… Read More »

Kendo Editor – How to handle line-height

By | November 4, 2017

Kendo Editor – How to handle line-height We can do it by configuring the stylesheet property of the editor, and then configuring the tools that will apply the styles to the selected content. $(“#editor”).kendoEditor({ tools: [ { name: “formatting”, items: [ { text: “Error”, value: “.Error” }, { text: “OK”, value: “.OK” }, { text:… Read More »