• Got a Tipila, google, windows live or facebook account ?
All Tips
0
votes
IIS sends an http 404 if user requested a file type that IIS does not have a mime type set. Do the following to serve vsix files. Add the following to system.webserver of root web.config <staticContent> <mimeMap fileExtension=".vsix" mimeType="application/vsix" /> </staticContent> Or go to mime types in IIS manager (in ...
1
votes
VSIX packages cannot be signed from SignTool.exe. Here's how to do it, Get the certificate - K software is cheap http://codesigning.ksoftware.net/ download the signing app from this blog post http://www.jeff.wilcox.name/2010/03/vsixcodesigning/ And Sign :)
1
votes
If your vs 2010 hangs when ankh is trying to upgrade your solution to 2.3 do this in vs2010 : Go to View-> Working Copy Explorer then select your solution file in the middle pain -> Then right click on the solution and select upgrade.
1
votes
Following will create the login tom with password 0101 if it does not exist or associate the use with an existing login with the same name USE mydatabase; GO EXEC sp_change_users_login 'Auto_Fix', 'tom', NULL, '0101'; GO more info http://msdn.microsoft.com/en-us/library/ms174378.aspx
1
votes
If you get the cannot start debugging of class library project error when trying to debug a VSIX project, do the following. Go to project -> properties -> debug - select start ext. program and enter C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe Then goto command line arguments and add /rootsuffix ...
1
votes
This one is the best watermark plugin that I found so far http://code.google.com/p/jquery-watermark/ This is how to use: Download the js file from the above link (Make sure have jquery too) Add the following css to the site css: .watermark {color: #999 !important;} Add following java script code to <head> Code: $(docum ...
1
votes
Here's how to backup all the db s on the server to a single .bak file using tsql in sql server. DECLARE @name VARCHAR(50) DECLARE @path VARCHAR(256) DECLARE @fileName VARCHAR(256) DECLARE @fileDate VARCHAR(20) SET @path = 'h:\Backup\' SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112) DECLARE db_cursor CURSOR FOR SE ...
1
votes
To set the text of a html text box (input type="text") using jquery, do this: $('#txtSearch').val("this is the text");
1
votes
This is how to do it with jQuery For versions before jquery 1.6 $('#chkAll').attr('checked', true); For versions after jquery 1.6 $('#chkAll').prop('checked', true); More info http://api.jquery.com/prop/
1
votes
Use the following code if ($('#chkMyTips').is(':checked'))
1
votes
Do the following to redirect a www url (ex. www.tipila.com) to its non-www version (ex. tipila.com) Method 1: Add following config entries to root web.config inside the system.webserver element <rewrite> <rules> <rule name="Imported Rule 1" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions lo ...
1
votes
Setting attribute checked="checked" does not work if the radio button is not shown. Use the following jquery script to set it. $('#chkAll').attr('checked', true);
0
votes
These are the settings for the html radio buttons <input type="radio" name="searchIn" value="all" checked="checked" id="chkAll" /> name=> Name of the group. Use the same name for all the buttons of the same group value=> Value which is submitted if checked. checked=> checked status. checked=checked to make it checked
0
votes
This is how to position one div next to another with jquery. Note that the parent of the element which is being positioned, should have postion:relative $('.down-arrow').click(function (e) { var pos = $('#container').position(); //next to this element var h = $('#container').height(); $('.to-position').css({ // this is ...
1
votes
Use the title html attribute <div title="advanced options"></div>
0
votes
This is how to close an html element when outside is clicked. .advanced-search-container is the div we need to hide $(document).click(function () { $('.advanced-search-container').slideUp(); }); $(".advanced-search-container").click(function (e) { e.stopPropagation(); //stop the click event from propagating });
1
votes
Correct name of the hand cursor is pointer. So use the following css cursor: pointer;
0
votes
use this to remove duplicates update ScrOutRespondentsCompleted set Partition = -888 where Id in( select max(id) from ScrOutRespondentsCompleted where partition = 1204 group by RespondentId having COUNT(*) > 1 ) and Partition = 1204
0
votes
Use this to fix the above error in SQL server ALTER DATABASE dbname SET EMERGENCY; GO ALTER DATABASE dbname SET SINGLE_USER; GO DBCC CHECKDB (dbname , REPAIR_ALLOW_DATA_LOSS) WITH NO_INFOMSGS; GO use dbname go DBCC CHECKDB ALTER DATABASE dbname SET MULTI_USER; GO Note DO NOT do this to a production db as it might cause ...
1
votes
If you are getting the following error when setting the preferred domin do this : Part of the process of setting a preferred domain is to verify that you own [www/ or non www version]. Please verify [your site]. Go to your webmaster tools dashboard and add the other version that is not currently in the web master tools ...
Login to Tipila