Grep GUI on a Windows machine with AstroGrep
I had to find some string inside one of the files, and I couldn’t remember in which file it was, classic 🙂 In linux, simple grep command would…
I had to find some string inside one of the files, and I couldn’t remember in which file it was, classic 🙂 In linux, simple grep command would…
A simple example of how to make a custom YES/NO dialog with DialogResult in WPF. Freely (as in beer) available code is on Github: https://github.com/Hitman666/CustomYesNoDialogWPF. The breakdown is that you…
TL;DR You can download from Github the demo application (zipped exe) or the whole source code project (Visual Studio project solution), or continue reading to see how it…
So, if you have this in the code behind: if (System.Windows.Forms.Screen.AllScreens.Length >= Config.ScreenNumber) { System.Drawing.Rectangle screenBounds = System.Windows.Forms.Screen.AllScreens[Config.ScreenNumber – 1].Bounds; this.Left = screenBounds.Left; this.Top = screenBounds.Top; } And…
Taken from: http://msdn.microsoft.com/en-us/library/ff650316.aspx public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton Instance { get { if (instance == null) { instance =…
Add reference to System.Configuration : and include it using the using statement: using System.Configuration; Edit App.config so that you add your settings in the appSettings node in an add element with key and value parameters.…
Heroku is a cloud platform as a service supporting several programming languages which lets app developers spend their time on their application code, not managing servers, deployment, ongoing…
Since this is in the “quick tips” category I won’t go into what Sublime Text is, or why using JSHint is recommended, and that for it’s installation you…