Either of the two provided snipts address the same issue.
- the csharp file addresses the issue with a block of code you should call in your 'main' program-process.
- the xml
app.config
may alternatively be used for brevity.
#region User/License | |
// Copyright (c) 2005-2013 tfwroble | |
// | |
// Permission is hereby granted, free of charge, to any person | |
// obtaining a copy of this software and associated documentation | |
// files (the "Software"), to deal in the Software without | |
// restriction, including without limitation the rights to use, | |
// copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the | |
// Software is furnished to do so, subject to the following |
@ECHO OFF | |
SET LIN=MKLINK /J "%~dp1mingw32" "%~dp1%~n1" | |
ECHO %LIN% | |
%LIN% | |
PAUSE |
// | |
DICT <string,object> fparams = new DICT <string,object>(); | |
// | |
fparams.Add("Date", string.Format("MM/dd/yyyy",DateTime.Now)); | |
fparams.Add("Time", string.Format("hh:mm.ss tttt",DateTime.Now)); | |
fparams.Add("DateTime", string.Format("MM/dd/yyyy hh:mm.ss tttt",DateTime.Now)); | |
// | |
fparams.Add("DataName", DataName); | |
fparams.Add("dataname", DataName.ToLower()); | |
fparams.Add("DataNameC", dataName.Capitolize()); |
(function($){ | |
// TODO: adequate coding conventions | |
//¿useless! | |
$.fox = function() | |
{ | |
var | |
a = { fun: function(name,action,mthd) { $(name).unbind(action,mthd); $(name).bind(action,mthd); } }; | |
return false; |
using System; | |
namespace MSBuildVersioning | |
{ | |
/// <summary> | |
/// Provides Mercurial information for a particular file path, by executing and scraping | |
/// information from the hg.exe command-line program. | |
/// </summary> | |
public class GitInfoProvider : SourceControlInfoProvider | |
{ |
TOC
----using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
// Information about this assembly is defined by the following | |
// attributes. | |
// | |
// change them to the information which is associated with the assembly | |
// you compile. |
using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
// to be added to your AssemblyInfo.cs | |
// do not overwrite your assemblyinfo.cs file with this one! | |
[assembly: InternalsVisibleTo("[Your-AssemblyName],PublicKey=...")] | |
using System; | |
using System.Linq; | |
using System.Windows.Media; | |
using FntSize = FirstFloor.ModernUI.Presentation.FontSize; | |
namespace genericwav | |
{ | |
static class LocalMuiSettings | |
{ |