Tags » Config

Sensible global shortcut key definitions for iTerm2

Despite being a Mac-only product, the terminal replacement iTerm2 defaults to using very un-Mac-like shortcut keys. Fortunately, this is easily remedied.

Earlier today I updated my… 321 more words


About Time

This may be my last entry…

Back to work today in more ways than one. To celebrate I wrote an ‘About’ page. Why not pop on over there and take a look? 38 more words


PIC Configuration Word Bits

The device configuration bits allow user to customize the device to the needs of the application. When the device powers up, the state of these bits determines the modes that device uses. 183 more words

Reconfiguring AutoSSH

I start autossh using a shell script. In this script there are variables for the host IP address and the port. The first time I ran the script everything worked as expected. 71 more words

Using variables (constants) in Apache config.

Sometimes, it is quite useful to use variables in configuration files to avoid duplication, allowing for easy changes.
Apache however, is not so willing participant to defining variables or constants in the config files, but there is a fairly easy way around it. 165 more words


ASP.NET WebAPI route config sample with Action name

public static void Register(HttpConfiguration config)
        name: "DefaultApi",
        routeTemplate: "api/{controller}/{action}/{id}",
        defaults: new { id = RouteParameter.Optional }
    config.Formatters.JsonFormatter.SerializerSettings.ContractResolver = 
                             new CamelCasePropertyNamesContractResolver();

AppSettings values Usage through Static Class - C#

AppSettings stores strings or other values. It is found in a section of Web.config in an ASP.NET website project. Keeping constants in non-code files allows changes to be made easier. 122 more words