comments

What version control tool can generate this header

This is from a sql script. What tool can generate this? Thanks --USE [MY_TABLE] GO /****** Object: StoredProcedure [dbo].[adminIncExp] Script Date: 03/05/2010 09:14:12 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <...

I need a comments module that looks like Blippy or js-kit

I am trying to find code that I can adopt for a startup site. We cannot use a third party vendor. So if there is a free open source code out there would someone please direct me to it. ...

issue in firefox with commenting out html

I have an issue in firefox and not in IE, didn't think I'd hear myself say that one, where if I have an commented section in my html like so: <!--------------form---------------> <div id='form'> etc etc. </div> <!------------main content-----------------> The area in between the two comment tags is being completely struck out. What a...

How do I add the Disqus comment system to a Rails application in a similar fashion to Wordpress?

In Wordpress, the Disqus plugin allows you to choose to subscribe to a post via RSS or via email. Is there a pluign similar to the Wordpress plugin for Rails. Norman's Disqus plugin just uses the Disqus site to make it work. I was hoping to have things more stored locally. For an example of what I mean, take a look at this blog entry...

In Java what is the syntax for commenting out multiple lines?

In Java what is the syntax for commenting out multiple lines? I want to do something like: (comment) LINES I WANT COMMENTED LINES I WANT COMMENTED LINES I WANT COMMENTED (/comment) ...

Can I reference an overloaded method using C# documentation tags?

In this particular code sample I want to reference the second overloaded method (int n) from C# documentation tags: /// <summary> /// The method to pass an integer to is <see cref="DoSomething"> /// </summary> void DoSomething() { } void DoSomething(int n) { } void DoSomething(string str) { } But how? ...

PHP code comments parse speed

Does anyone have a solid benchmark about the speed of parsing PHP code comments? Meaning, will excessive comments increase the time to process a PHP page? ...

How to increase mysql table comments length?

Seems like max table comments length in mysql is only 60 characters. I'm developing an aplicacion in php symfony, which automatically generates sql ddl sentences, and in many cases those comments are far beyond 60 characters. Is there some way to increase that limit? thanks a lot ...

(php) regexto remove comments but ignore occurances within strings

Hi there, I am writing a comment-stripper and trying to accommodate for all needs here. I have the below stack of code which removes pretty much all comments, but it actually goes too far. A lot of time was spent trying and testing and researching the regex patterns to match, but I don't claim that they are the best at each. My problem...

$Id tag in comment headers

When I read source from open source projects I often find a comment line with "$Id" at the header of the file, f. ex.: // $Id: addappwindowa.c 30792 2009-03-07 22:40:04Z neil $ Is there an "offical" syntax for this lines? (What does "30792" means? ) Are there editors that auto-generate these "$Id"s? Are there any tools that use this ...

Why do /**/ comments work in stylesheets but // comments don't?

Is there a good reason for this? Lame question, but I just wondered if there was a reason why. ...

Java: How to parse XML comments using org.apache.xerces.parsers.SAXParser?

I managed to parse to comments from an XML file using javax.xml.parsers.SAXParser, but is there a way to parse comments in org.apache.xerces.parsers.SAXParser in Java? A simple example would be brilliant. thanks ...

PHP preg_replace html comments with empty space

Hi Guys, I have a bit of php code like this: $test = "<!--my comment goes here--> Hello World"; Now i want to strip the whole html comment from the string, i know i need to use preg_replace, but now sure on the regex to go in there. Can anybody help? Thanks ...

Open-source comment engines

I'm looking for a solid open-source commenting engine written in PHP. It needs to have workflow/moderation capabilities as well. I've checked into Disqus, and while I like the concept, the site owner's may develop their own login system at a later point, which would have to integrate with the comment system. Also, I'm not sure that th...

In Visual Studio, is there a way to word-wrap ONLY comments?

I've looked, but it doesn't look like you can apply specific formatting to just comments. ...

Wordpress, when using the "comment_text" action is it possible to get commenter information?

Is it possible to get information about the commenter with the comment_text action in wordpress? What I want to do is modify a comment someone makes based on who they are, like if they are user_a I might want to make their comments show up as green, if they are user_b I might want their comments to be bolded, or formatted differently. ...

Facebook Developer Toolkit - IFrame - Use Comment Box

Hi, I have used the facebook developer toolkit to create a simple facebook application with asp.net The application is using an IFrame. I would like to use the facebook comment box but the comment box is not created for some reason. ...

Strip out C Style Multi-line Comments

I have a C# string object that contains the code of a generic method, preceded by some standard C-Style multi-line comments. I figured I could use System.Text.RegularExpressions to remove the comment block, but I can seem to be able to get it to work. I tried: code = Regex.Replace(code,@"/\*.*?\*/",""); Can I be pointed in the right...

Most efficient way to fetch and output Content with 2-Level Comments?

I have some content with up to 2-levels of replies. I am wondering what the most efficient way to fetch and output the replies. I should note that I am planning on storing the comments with fields content_id and reply_to, where reply_to refers to which comment it is in reply to (if any). Any criticism on this design is welcome. In pseud...

Java Class comment

Hi, The developer guide in my company says class comments should go before Package statements, i.e it sould be the very first thing in a java file. I just find it a bit old. Isn't it normal practice to put class comments after import and above class declaration? Puzzled Sarah ...