• Got a Tipila, google, windows live or facebook account ?
All Tips
1
votes
Change the values of all occurrences of maxmemory in build.xml <mxmlc file="${src-cp}/CP_main.mxml" output="${bin-dir}/CP/CP_main.swf" show-unused-type-selector-warnings="false" static-link-runtime-shared-libraries="true" fork="true" maxmemory="1024m"> This will solve the java heap error that appears when building flex ...
0
votes
Use this code to get the encrypted text of the forms authentication link. FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(userName, false, 60); or FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, username, DateTime.Now, DateTime.Now.AddMinutes(30), isPersistent, userData, FormsAuthen ...
0
votes
Use this link for more info on ASP.NET forms authentication http://support.microsoft.com/kb/910443
1
votes
This is the correct (and the only working) way to use custom error pages in ASP.NET MVC. This sends the correct http status code along with the error page and nothing else worked for me. Add following to turn off custom errors (in system.web) of web.config <customErrors mode="Off" /> Then add the following to the syste ...
0
votes
We need to send the correct http error code to the client and keep the url in the browser same as the requested one. But the customErrors config setting did not do this so use this method instead. Add following to turn off custom errors (in system.web) of web.config <customErrors mode="Off" /> Then add the following to ...
0
votes
Remove white-space: pre-wrap; from #Tip-Display style and "pre" style in tipdisplay.htm
1
votes
If this happens in a WCF REST service, disable windows authentication. In IIS -> Authentication Leave only anonymous and forms authentication only
3
votes
Here's how to create CSS3 buttons with gradients which are cross browser compatible. Just like the ones in gmail and you tube. Note - Rounded corners does not work with gradients in IE. So rounded corners are not used for IE. .button { color: #666; border: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: ...
1
votes
Here's how to do a union query with an order by clause SELECT * FROM (SELECT TOP 1 StartDate FROM dbo.ExportStatus WHERE PubSurveyVersion = @PublicationId ORDER BY StartDate DESC) t1 UNION SELECT * FROM (SELECT TOP 1 QueuedTime FROM dbo.ExportQueue WHERE PubSrvId = @PublicationId ORDER BY QueuedTime DESC) t2
1
votes
Here are the changes done to pagedown (wmd) in Tipila to support syntax coloring with google code prettify. Markdown.Converter.js => function _DoCodeBlocks codeblock = "<pre class='prettyprint'><code>" + codeblock + "\n</code></pre>"; function => _DoCodeSpans return m1 + "<code class='prettyprint'>" + c + "</code>"; Ma ...
1
votes
Here's how to get the number of days between 2 dates in sql server DATEDIFF(day,startdate,enddate) or DATEDIFF(d,startdate,enddate) or DATEDIFF(dd,startdate,enddate)
1
votes
use the following to get the machine name in c# System.Environment.MachineName
1
votes
Add '' (empty single quotes)as the dafault value in SSMS properties window alter table employee add columname varchar(50) default ''
1
votes
Enter the following command in SSMS sp_configure 'show advanced options', 1; GO RECONFIGURE; GO sp_configure 'clr enabled', 1; GO RECONFIGURE; GO
Login to Tipila