tags

Making a tag into the new trunk in Subversion

We have a situation where we need to take a tag of our project and make it the new trunk. We have taken the existing trunk and made it into a separate branch. My question is this - once we made a branch of the trunk, can we just delete the trunk and then copy the tag in question into the trunk? Is there a safer way of doing it? Any ...

cvs2svn conversion at directory level

Hi, I have access to a repository that IT has created for me. http://oursvn_server/mysvn_repo I have access to the CVS files which can be accessed via /proj/cvs/ I want to convert all files/directories from /proj/cvs/* to http://oursvn_server/mysvn_repo/* I can't do this at /proj/cvs/ level and I want to bring the directories in /pr...

Twitter Trending Topics: Combine different spellings

Hello! Twitter's Trending Topics often consist of more than just one word. But for composed terms there are often different ways of spelling, e.g.: "Half Blood Prince" / "Half-Blood Prince" To find all updates mentioning a Trending Topic, you need all the ways of spelling. Twitter does this: You have the topic name on the left and ...

Does "git fetch --tags" include "git fetch"?

A nice and simple question - is the function of "git fetch" a strict sub-set of "git fetch --tags"? I.e. if I run "git fetch --tags", is there ever a reason to immediately run "git fetch" straight afterward? What about "git pull" and "git pull --tags"? Same situation? ...

Good css examples for tags

I am implementing tags and am having trouble making them look good. Is there a good reference or example for css I can use to make my tags look nice? ...

finding the posts related by tags with one specific post in mysql

I have this tables: Posts (post_is, title and text), Tags (tag_id, tag), Post_tag_nn (id, tag_id, post_id). I want for a specific post having for example 4 tags all the posts with those tags, then all the posts with any three of those tags, then all posts with any two of those tags and so on. How can i build a SQL query for this purpose ...

how to remove only tags appended using append() in jquery.

Hi, I have a div which pops out on mouse over and i am inserting some content using html(). And i want to some part of code to be remain without manipulation. <div id="pop_div" ><span>X</span></div> $("#team_div > ul img").bind('mouseenter',function(){ $("#pop_div").html('<img src="' + img + '"/>' + content ); }); and onclick i...

What's the actual name of <% %> tags?

Possibly a redundant and useless question, but my colleagues and I refer to <% %> as server tags, but is there an actual name for them? one i've seen used is calling them Alcohol tags. Edited based on answers We're referring to them in ASP.NET, but I would've thought they'd use the same name across all languages if they did the same j...

jquery - Activate and deactivate hyperlink

suggest me some sample codes to activate and deactivate a hyperlink on clicking it. i tried some of these, but no result 1) $("a#click").onclick = function() { return false; } 2) $("a#click").attr ('href', '#'); 3) $(#document).ready(function(){ $("#disabled a").click(function () { $(this).fadeTo("fast", .5).removeAttr(...

Implementing a fast and relevant search for my site (C# ASP.net)

My site has a database of widgets, each widget has a name and description. I want to implement a fast and relevant search system on my site, how do I do this? As a side note, I also implemented tags on those widget. Here is how I implemented (Tell me what you think): Table widgets: has unique id plus other info for a widget Table tag_w...

Reading Microsoft tags

Hi, You guys are probably aware of Microsoft Tags. We have a barcode gun in our office and I would like to read these tags using C#. Any idea how I can go about doing this? Thanks ...

How to extract the text between <a></a>

I must use jQuery for first time.... <a class="Tag Resource" href="http://localhost/" resource="http://localres/" property="prop">test</a> I've tried to extract the text using var = $('a').find('Tag Resource').text(); and var = $('a').find('Tag Resource').html(); but it doesn't work. I need "test" as plain text. Can someone tell me...

Jquery and formating a textarea for tagging ??

I am looking for a way to use a textarea and get the values separated by commas, and place them into the array. Really I am looking for how to auto format the textarea so when the user types something in it either forces or something a comma break. I want to use autocomplete, but I have no data to check it with since this will be a new...

Preferable Tag Cloud Visualization Formats

Out of curiosity, I would love to know what tag clouds formats best serve the purpose of discovery of more and more (relevant)content? I am aware of 3 formats, but don't know which one is the best. 1) delicious one - color shading 2) The standard one with font size variations - 3) The one on this site - numbers showing importance/us...

implementing select and deselect (toggle) on a SELECT TAG

The current HTML SELECT tag works great for me except for one thing. Is it possible to implement toggling on the current item. If I have a current selection, I'd like to click it again and "de-select" it. It doesn't work that way now, it simply keeps the current selection "selected". It seems that I need to know the "previous" sele...

PHP - folksonomy tag checking regex

I'm trying to create a regex for checking values of submitted tags for a free form folksonomy system. Here is what I have now. if (!preg_match('/([^-\\a-zA-Z0-9._@\'])+/',$proposedtag)) { //true, good return true; } else { //false, bad characters return false; } I want to allow: hyphen, backslash, forward slash, a-z, ...

PHP search for <link> tag and prepend

Hi! I'm using this code to prepend the url variabel inside the src tag for images. Now i would want an regex code that makes it possible to search for tags and add the url variabel inside the link tags href attribute. This code i have for the images, it might give u hints. function imgprepend_proxy($matches2) { $url = (substr($_GET[...

Should I use the <p /> tag in markup?

I have always used either <br /> or a <div/> tag when something more advanced is necessary. Is use of the <p/> tag still encouraged? ...

How to choose inner xml tag when serializing a list<string> ?

Hi, I think I already did that once upon a time, but I can't get it to work... I've got a class that contains a variable List<string> InputList; When serialized, it's obviously like: <InputList> <string>foo</string> <string>bar</string> </InputList> And, call me a control freak, but I want: <InputList> <Input>foo</In...

Where to get descriptions of (X)HTML tags & CSS properties from? (for parsing application)

Hi, I need the definition of XHTML tags with their properties... last time I asked here you told me to use DTD, so I did wrote a small script using XML_DTD (PEAR extension) that parses it for me ... However its not enough. It doesn't contain any tag descriptions (as it is for validators ;) ) ... now I need to have short descriptions of ...