want to route all underscored urls to the dashed equivalent.
what would be the codeigniter route regex.
url
/controller-name/method-name-which-is-long/
would speak to
/controller_name/method_name_which_is_long/
see: http://codeigniter.com/forums/viewreply/696690/ which gave me the idea to ask :)
Hi all,
I've recently downloaded and installed WebSphere Application Server 7.0 on Windows 2003.
I wanted to do a jstat (JDK 1.6) to probe the JVM but I kept getting " not found" message.
Any idea why this is happening?
Nicholas
Is it possible to use the Biztalk adapter pack whithout a Biztalk installation (biztalk license is available)? I want to use the Biztalk Adapter for SAP to do RFC calls within a .NET Application (as a replacement of the SAP Connector for .NET, which is unfrotunately no longer maintened by SAP and I don't want to use third party products). Makes this idea sense or not ? This questions can be also seen in conjunction of my question concerning connecting SAP and Microsoft (http://stackoverflow.com/questions/2198168/microsoft-and-sap)
I have created .ashx which implemented IRequiresSessionState, so I can create session variables in that ashx, it worked in IE, but doesn't work in Firefox.
When access this session variable from other pages it's NULL.
any idea? thx.
OK I'm completely stumped here:
I have installed (and reinstalled) ASP.NET MVC2 installed several times and I still can't see the ASP.NET MVC2 project templates shown in Visual Web Developer 2008 Express.
I had checked the default project directory templates and had verified that those templates are installed, for example these templates files are found C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress\ProjectTemplates\CSharp\Web\1033:
EmptyMvcWebApplicationProjectTemplatev2.0.cs.zip
MvcWebApplicationProjectTemplatev2.0.cs.zip
Any idea of tracking what's the problem and fix it?
I am writing a program that will be executing on the cloud. The program will generate an output that should be written on to a file and the file should be saved on the blob container.
I don't have a idea of how to do that
Will this code
FileStream fs = new FileStream(file, FileMode.Create);
StreamWriter sw = new StreamWriter(fs);
generate a file named "file" on the cloud...
I have a report which I generate RTF format off that. It displays fine on the jsp page or in the ireports preview but when it generates the RFT format, it gives me the "Invalid text height" error.
I have no idea which field is causing this error, is there a way in ireports to drill down exactly which field is causing it?
<div id="videos">
<div id="video">
<embedcode>....</embedcode>
</div>
</div>
I need to grab the video embed code, and not just the text inside a XMl tag. Any idea how can I grab the snippet of XML using XmlSlurper?
I need the whole line: <embedcode>....</embedcode>
here is my folder
index.php
smartyhere
-Smarty.class.php
admin
-index.php
-users.php
in index.php - $smarty-display('index.tpl');
in admin/index.php - $smarty-display('adminindex.tpl');
got error Smarty error: unable to read resource: "adminindex.tpl"
any idea ?
thx
a article written in Very tough language then any beginner can't read it easily. how to read these article. we also know that Google translate and some other tool to translate. but he not work well. any good idea or suggestion to struggle this problem.
Hi,
I'd like to make an autosuggest app that connects to a .NET web service for the iPhone. Any tips on how to do it?
Alternatively, would it be a good idea to cache a list of the most frequently used results on the iPhone and access the service if no results are available?
Thanks,
Teja
Any idea why hpricot might segfault on this page?
trial_url = 'http://www.controlled-trials.com/ISRCTN56071145/'
doc = Hpricot(open(trial_url))
produces:
/Users/ap257/.gem/ruby/1.8/gems/hpricot-0.8.2/lib/hpricot/parse.rb:33: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
Abort trap
Please could anyone advise on how I could get around this, or whether it's a bug in hpricot that I should report somewhere?
Thanks!
hey guys,
i am trying to convert a date from yyyy-mm-dd to dd-mm-yyyy
however i dont know how the date function requires a timestamp and i cant get a timestamp form this string...
anyone an idea?
thanks
Matthy
Subject says it all, probably a good idea to keep details basic to protect the guilty.
FWIW, here's a question about what to do if you find a security hole, and another with some useful answers if a company doesn't (seem to) respond.
I have a report in Reporting Services 2005, and I want to hide or show a single table column based upon a report parameter. Does anyone have any idea how to do that?
Thanks!
Exception in thread "Thread-2"
java.lang.NumberFormatException: For
input string: "3"
int test = Integer.parseInt(result[0]);
This is the error I keep getting when I'm trying to convert "3" to an integer. Well I'm receiving this "3" through a RS-232 port, so maybe this is what is causing the error.
If anybody has any idea what could be causing this it would be appreciated.
I have played/worked with many different programming languages and Dylan is still one of my favorites.
My question is why did Dylan fail when Objective-C, Ruby and even Scheme have had more success?
Was Dylans performance that much worse than Objective-C that Apple went with it or was purely for social/political reasons.
Hopefully someone from apple will see this question :)
BTW if you have no idea what Dylan is please google Dylan Progrmaming Language.
http://wilwaldon.com/ie7sucks/
If you view this page in anything but IE7 you will see that the spotlight area text is displayed in a column on the right of the image.
For some reason it's not showing as a column and I have no idea why.
Any help would be greatly appreciated and I'd owe you my first born.
Thank you in advance.
There are so many IOC choices, that I don't know where to begin. I've looked at Spring.NET, Unity, Ninject, Windsor, and StructureMap so far, and I have no idea what makes one better than the other. So, what is your favorite IOC, and what feature(s) makes you use it over any other?
Hi Guys,
I thought this was fixed in 4.0
I have this method
public IQueryable<T> All(Expression<Func<T,object>> sort)
{
return EntityContext.CreateQuery<T>(EntityName).AsQueryable<T>().OrderBy(sort);
}
this throws the following exception
Unable to cast the type 'System.Int32' to type 'System.Object'. LINQ to Entities only supports casting Entity Data Model primitive types.
Source is System.Data.Entity
any idea how to fix this or if theres any workaround
Hello!
Many apps already in App Store has ability to print from iphone without installing any software on computer. Like for example Air-Sharing.
Do anyone have any idea how they're doing it, how they're able to detect from iphone all printers shared in the network and print with them directly from iphone ??
Any suggestions would be appreciated.
thanks
Damian
Parser: The query contains the XXXXXName parameter, which is not declared. (msmgdsrv)
I have no idea why I keep getting this error. It occurs when I change the MDX in the query designer and trying OKing out of the query designer.
The strange thing is that the parameter DOES exist, I can see it in the parameters section of the dataset dialog. I am creating it before I do anything else with the query.
By default, Membership API uses a separate username field to login users. I would like to use the email address for users to login. Is this a good idea?
How would I modify the Login, Register a user, Forgot password control to support this?