Hi everyone,
i'm trying to use Nexus + m2eclipse/maven-3 professionnally, and i've got a huge 3rd party library that needs a lot of dependencies.
Is there any ways to ease my pain by uploading to Nexus this third party library with all its dependencies linked, so that anyone who would need it would just have to add the maven-dependency-tag only for this huge library ?
Do i need to create the pom myself ?
thank you for your help.
I have map.resources :posts and I want to be able to serve post bodies in markdown format. So I set up my respond_to block:
respond_to do |format|
format.markdown {
render :text => @post.body.to_s
}
end
But when I try to access /posts/1234.markdown, I get this error:
NameError (uninitialized constant Mime::MARKDOWN):
app/controllers/posts_controller.rb:96:in `show'
app/controllers/posts_controller.rb:79:in `show'
How do I add markdown as an acceptable format? Where can I see the list of acceptable formats?
So I have a script which returns a price for a product. However the price may or may not include trailing zeros so sometimes I might have:
258.22
and other times I might have
258.2
In the later case I need to add the trailing zero with jQuery. How would I go about doing this?
Hi,
I`m trying to add $ text $ markup to RedCloth, but
http://github.com/jgarber/redcloth/blob/124b72fe841b364df940932e576502851b51a682/spec/extension_spec.rb
doensn`t work.
Any ideas?
How do I randomly add buttons to a Tkinter GUI? I need it to be able to create a button, then put it anywhere on the window, is this possible? I am using Python 2.6 on Windows.
Hi.
Is it possible to add BindSttribute to parameter in action filter?
Each of my view models implements IViewModel { string Prefix { get; } } interface and i would like to set BindAttribute(Prefix = Model.Prefix) for Action parameter automatically.
I have developed a web application with fields Keyword,Latitude and Longitude.
I want to add one more field called Radius to the web application..
How should i proceed.
Waiting for the reply,
Thanks in advance
I am using VS 2010 Express.This error appear "Error HRESULT E_FAIL has been returned from a call to a COM compenent" When i try to Add ADO.NET Entity Data Model. VS 2008 PRO is installed on my pc too but i don't think that it is caused by VS 2008 .I tried to reinstall VS 2010 Express but still same. How can i fix it ?
Hi,
I could intercept ContentObserver changes at any time. In these time, I'd like to add a dynamic listview row with or without opening my application but i don't know how to implement it. Please share me some hints. Thank you.
i want to save/open a file in txt format other then CSV in SSRS 2005. So any one who knows how to add file extension in url that can overirde default extension in SSRS 2005..
The tip. The errors are "E349: No identifier unders cursor", "E433: No tags file" and "E426: tag not found: public". I feel them unrelated or I cannot understand their message. I have the code in "~/.vimrc" and pressed "F1", "F9" and "ESC". A related tip but more advanced. so how can I add Java import statements automatically in Vim?
hi.
Visual Studio 2008 service pack 1 comes with Visual Basic Powerpack and has DataRepeatr control.
i want to know that how I can add data in this control. i have in memory data. the examples i found on net are about binding DataSet to DataRepeater by fetching data from database. i want to bind in memory data. how to do this.
I'm trying to add a IsImage property that I wrote myself to the HttpPostedFile class, so that if a user is uploading a file, I can do something like this:
FileUpload1.PostedFile.IsImage
How can I do that in C#?
Hello,
sorry for my bad title (and noob question), but how can I add two numbers like 7 and 6 and the result should be 76. Is there a operation symbol in objective-c?
Thanks and sorry for my bad English.
When using stored procedures I am able to add default values to parameters, for example:
@name varchar(50) = NULL
Is is possible to do something similar when using a parameterized query in .NET.
Thanks
When implementing an interface in eclipse, it has a really nice feature that lets you "add unimplemented methods", and it will generate the method stubs for the interface methods.
However, it does not bring along the method documentation from the interface methods, and I was wondering if there was a way to get eclipse to do that.
My table is like this
A X Y
1 2 3
1 4 3
2 9 1
2 7 1
What I want is to sum X column with Group By A but add Y only once. The values in column Y are always same for a specific A.
When I run this:
SELECT SUM(X) FROM TABLE GROUP BY A
It gives me: 12, 19. But I need 9, 18.
Thanks.
I suck at regular expression and just can't seem to figure this out.
'/^[A-Za-z0-9](?:.[A-Za-z0-9]+)*$/'
As it's right now it allows dots anytime after the first char and I like to add _ so that it allows both.
Thanks
How would I go about dynamically adding commas as a user is entering numbers? Is there a good number formatter that would help? I have to add these numbers later so I eventually have to remove the commas down the line. But the screen needs to show the commas for better readability.
I want to add -Xlint:deprecated to the java compiler while building android app.
I've seen the compilerarg tag inside javac tags, but the generated build.xml for the standard project doesn't have such a tag.
Any hint?
Hi!
I have a gcc project and would like to automatically add defines for build date and revision number (from git) to my sources. What's the best way to do this?
My goal is simple to be able to do something like this on startup:
printf("Test app build on %s, revision %d", BUILD_DATE, REVISION)
For building I'm using make with a simple Makefile.inc, not autoconf ot anything like this.
Thanks,
Corin