So here is the situation, In my work pc I have a Win7 64bit Prof. ed. in German. With the blessings of MSDN subscription we could download and install English version of VS2010(ultimate) and TFS and so fort. Also I installed (separately) .NET v4.0 just to make sure I could work in English, so did [...]
Archive for the ‘Tips and Tricks’ Category
Easily change alien language .NET messages to appear in english
Posted: September 21, 2011 in .NET, Tips and Tricks, VS2010Tags: MUI, VS2010. .NET language
Generate/force Bibliography entry (bbl) in LATEX
Posted: September 27, 2010 in LaTEX, Tips and Trickswhen you change/add bibliography in latex you might see that the update is some-times not reflected on the output. Reason: the bbl file is not updated. To force select BibTeX in MikTex and run Latex. Remember that it’s not LaTeX that generates the BBL, it’s BibTeX. 1. Run LaTeX to generate the AUX file. It [...]
If anyone tried to print euro sign in latex you already know there is no straight forward way to print euro [like the German umlaut's {\ss} =ß, \"u = ü, \"a =ä and so on...] To print € have to import a package in latex document. There are several so far.. among them eurosym and [...]
Latex footnote inside table
Posted: September 3, 2010 in LaTEX, Tips and TricksTags: footnote, LaTEX, table
It’s a bit wired if you try a footnote inside a table or float env. you will only see the foot note number but not the text. There are some ways to solve this issue. The quick way is given by this person Stefan Koch which makes the table itself look clean. “It is possible [...]
Write a cover letter in LaTEX
jQuery Check box operatios with CSS class Name
Posted: March 5, 2010 in javascript, jQuery, Tips and TricksTags: jQuery, jQuery checkbox, jQuery checkbox manipulation
Some jQuery Basics with checkbox: $(‘input:checkbox[name=FileCheck]:not(:checked)’, “.ValidFiles”) In the above case jQuery will return all(this case checkbox) element input of type checkbox with name FileCheck which are not checked AND has a css class name ValidFiles. $(‘input:checkbox[name=FileCheck]:checked’).each(function () { this.checked = false; }); In the above case it will look for all check boxes with [...]
Label Text Blinking Using JavaScript with MasterPage or Page via Page_Load
Posted: February 18, 2008 in javascript, Tips and TricksTags: Label Blink
<script type=”text/javascript”> <!– var g_blinkTime = 100; var g_blinkCounter = 0; function blinkElement(elementId) { if ( (g_blinkCounter % 2) == 0 ) { if ( document.getElementById ) { document.getElementById(elementId).style.visibility = ‘visible’; } // IE 4… else if ( document.all ) { document.all[elementId].style.visibility = ‘visible’; } // NS 4… else if ( document.layers ) { document.layers[elementId].visibility [...]
Fire a Client side event or DOM event manually
Posted: February 15, 2008 in javascript, Tips and TricksDid you ever Require a Client Event to fire Manualy form JavaScript or Client Code of a composite ASP.NET control. Did not get what I am saying? Ok let me go strait. You have a composite control Inherited from TextBox, You override the Render Method of the control, Inject some Image with table, tr, td [...]
Fire a Client Side Event or DOM Event Manualy from Javascript or composite control
Posted: February 15, 2008 in javascript, Tips and TricksTags: javascript, Tips and Tricks
Did you ever Require a Client Event to fire Manualy form JavaScript or Client Code of a composite ASP.NET control. Did not get what I am saying? Ok let me go strait. You have a composite control Inherited from TextBox, You override the Render Method of the control, Inject some Image with table, tr, td [...]
Copy data Of One table to another table with trigger.
Posted: February 14, 2008 in SQL, Tips and TricksTags: SQL, Tips and Tricks, trigger
If you set up a spare log table, you can write the trigger to insert to it if the main log table is empty, like so: CREATE TRIGGER LogRecords ON myTable FOR INSERT AS BEGIN SET NOCOUNT ON IF EXISTS(SELECT * FROM mainLog) INSERT INTO mainLog SELECT * FROM inserted ELSE INSERT [...]