tags

"cucumber: command not found" error on command line; "rake cucumber" works fine though

Just updated my cucumber gems on my system and have run into an issue with running my tagged cucumber features. The "cucumber" command no longer works on my command line. -bash: cucumber: command not found Initial thought was that my $PATH wasn't set up in my bash_login properly. All seems correct here though, i think: echo $PATH /op...

Django multiple many to many fields?

Hello everybody I am building a news app for my website. I want to use a sort of tag system. Each news article can have different and multiple tags. All tags are saved in a tag model, and i want to connect the tags to the newsarticle. Now is this possible with: tags = models.ForeignKey( TagsModel ) for one tag, but how i can do this wit...

Seeing release markers in svn log

Whenever we make a release of a project we'll create a tag to capture the snapshot. It will be very helpful to be able to see which revisions in the trunk history were used in certain releases. I know the TortoiseSVN revision graph shows this information, but I'm wondering if there's a way to see it in the command-line svn log? I'm com...

Are you familiar with <ins> tag in html?

I just found that google uses this tag for adsense, but seems it also works without this tag,why they prefer to use it? ...

Is it possible to sort a NSArray collection of UIView's based on their tag?

I've seen examples of something like [someArray sortUsingSelector:@selector(compare:)]; I'm looking for an example that stores a collection of UIViews and I'd like to sort them in ascending or descending order based on tags I assume programatically when a new UIView is created. If someone could provide a code example or instructions ...

What tag export formats are there?

I'm writing an importer for a CMS to import tags from various platforms/sources. I want to be able to import tags from WordPress, Moveable Type, Blogger; basically all of the big boys. Are there any generic, standard tag export formats? ...

Button with Tag

How do I get a button with the a specifyed tag id like to then cast it to a UIButton, and change the alpha ...

Javascript: Find and replace tag

I'm trying to find <body onload="function();"> and replace it with <body> on onClick event. Any suggestions how this could be done? Thank you. UPD. Sorry for an unclear question. Crozin answered my question, I was just trying to remove onload attribute. ...

Word characteristics tags

I want to do a riddle AI chatbot for my AI class. So i figgured the input to the chatbot would be : Something like : "It is blue, and it is up, but it is not the ceiling" Translation : <Object X> <blue> <up> <!ceiling> </Object X> (Answer : sky?) So Input is a set of characteristics (existing \ not existing in the ob...

How to provide metadata tags,keywords to Windows and fill properties page for a custom file format?

Hi, My application uses its own file format (compressed SQLite databases) to store user created data. 1) I would like to know how to provide keywords, tags to Windows so that Vista search function can include my file format when indexing. 2) I would like to provide a properties page like you see when you right click a Microsoft Word ...

Java libarary for HTML elements/tags

Anyone know a decent Java libarary for HTML elements? Ex if I want to create an img-element, I would go new Image(...) The object should support the normal HTML functions/attributes, such as setting CSS or disable. ...

HTML 5 Structure tags demo

Hello, i can't find demo of structure tags <header>, <footer>, <articles> ... http://brucelawson.co.uk/tests/html5-elements.html Here, something like this, but with highlighted of each elements Please, help ...

How to add JavaScript event to textarea without having direct access to it?

Hi! I'm wondering how to add onblur="hcb.watermark.blur(event)" onfocus="hcb.watermark.focus(event)" style="color: rgb(136, 136, 136); to the following textarea without having direct access to it: <textarea rows="4" id="HCB_textarea" name="content" class="commentbox hcb-shadow-r" onkeypress="hcb.delta(event)"/> Could some additiona...

Looking to write a Tag class

I'm looking to write a Tag class (a tag is a string with no spaces). My first thought is to inherit from String: class Tag < String def initialize(str) raise ArgumentError if str =~ /\s/ super end end Does this look correct? Are there any other methods I should redefine? ...

Optimisation <xsl:apply-templates/> for a set of tags.

How it is possible to reduce this record? <xsl:template match="BR"> <br/> </xsl:template> <xsl:template match="B"> <strong><xsl:apply-templates /></strong> </xsl:template> <xsl:template match="STRONG"> <strong><xsl:apply-templates /></strong> </xsl:template> <xsl:template match="I"> <em><xsl:apply-templates /></em> </...

How to use the iterator tag in Struts2?

I have class A { private String field1; private String field2; private B b; } class B { private String field3; } List<A> myList; How can I access the field3 using the myList? This would work for field1 and field2, but how about field3? <s:iterator value="myList"> <tr> <td><s:proper...

How to design data storage for partitioned tagging system?

How to design data storage for huge tagging system (like digg or delicious)? There is already discussion about it, but it is about centralized database. Since the data is supposed to grow, we'll need to partition the data into multiple shards soon or later. So, the question turns to be: How to design data storage for partitioned tagging...

TinyMCE converts &lt;xxx&gt; into <xxx></xxx> - how do I stop it?

I can successfully save the characters < and >. I do this with these options: entities : """ cleanup : false verify_html : false So far no problems. However, whenever I put anything between that text it gets converted into a tag: &lt;xxx&gt; converts to <xxx></xxx> How do I stop that?I am trying to enter sample HTML into TinyM...

html tags to css tool

I'm doing some web-dev and the designers slice and export from photoshop. The generated code is horrendous. The first thing i'm doing is taking everything out of the tags and putting them in css files. So i was wondering if there was a tool that can automate this? ...

tag generation from a text content

Hello, I am curious if there is an algorithm/method exists to generate keywords/tags from a given text, by using some weight calculations, occurrence ratio or other tools. Additionally, I will be grateful if you point any Python based solution / library for this. Thanks ...