Its been a long time since I've needed to crack open an .htaccess file...
What is the simplest way to 404 prevent access to a specific file extension though out the entire site?
Hi,
I want to do this thing in C# (or any other .NET language), not sure how:
I have an image I captured from webcam and I want to find a specific simple object in it (let's say a red circle with a black square in it). The red circle can be a bit different from time to time (because of shadows) and the square might be also a bit brighter sometimes and even rotated a bit.
Please help me!
I have a list, that has a custom content type, the list also contains subfolders
How can I add an item to the list using web services, in a specific sub folder?
I'm creating a text editor for a domain specific language. I'm using the WPF RichTextBox as the basic control. I don't know how to gracefully include line numbering. Does anyone know of any examples?
There are situations that we like to ignore a specific exception type (commonly ObjectDisposedException). It can be achieved with those two methods:
try
{
// code that throws error here:
}
catch (SpecificException) { /*ignore this*/ }
catch (Exception ex)
{
// Handle exception, write to log...
}
or
try
{
// code that throws error here:
}
catch (Exception ex)
{
if (ex is SpecificException) { /*ignore this*/ }
else
{
// Handle exception, write to log...
}
}
What are the pros and cons of this two methods (regarding performance, readability, etc.)?
I have:
a service running under user account domainA\userA on hostA from domainA
SPNs created for the service running on hostA for user account domainA\userA
a client part of my application is trying to access resources (through remoting) from the service running on hostA
but this client part is running on hostB from domainB and under the user account domainB\userB
appropriate delegation settings are done for user account domainA\userA
trusted for delegation
SPNs set properly with no duplicates
domainA and domainB have two way trust
I get this error:
A secuity package specific error occured: Unspecified error (0x80004005)
Could you please see if there is any authentication setting I missed?
So when I see ccTouchesBegan (or touchesBegan for that fact of the matter) I see something like this usually:
- (void)ccTouchesBegan:(NSSet*)touches withEvent:(UIEvent*)event
{
UITouch* touch = [touches anyObject];
}
But, what I am not getting is how do you just detect if one object has been touched? For example how would I check if a specific CCSprite I declared has been touched?
Sorry if this is a newbish question but, I just don't understand and if you need more clarification just ask how I can clarify myself more.
Hi friends,
I'm new at Drupal.
my url is like
www.blabla.com/drupal/blog/
I have some blocks that must be disabled for blog part. So I go to related block configuration and make it as below:
but it doesnt work :( just to test, I wrote only * , and it worked well. but i doesnt work when I want to define specific page :(
When using a State server for session, are sessions still appDomain specific? So for example, I have two different IIS applications(virtual directories) on a web server, and they both point to one state server for session. The session guid from the cookie will be the same across requests from both applications, so will the same session be accessible across both of these applications? Thanks.
Hey everyone,
We work extensively in the .Net Compact Framework and Windows Mobile. I've seen plenty of questions come up regarding specifics to development of ASP.Net apps or other .Net based desktop apps but nothing CF specific.
Anyone else a mobile developer out there that can share some things to start doing, stop doing, and avoid doing when developing in the Compact Framework?
Hi,
I have an ASP.NET application. On some pages it requires a specific querystring to be called with the page, so data can be processed.
Where is the most appropriate place to check whether the required querystring is included in the URL, otherwise redirect to somewhere else?
I have only used one masterpage.
Thoughts and suggestions would be appreciated.
Thanks.
I have an application which runs another application (mine) using the WinAPI "ShellExecuteEx" with the verb "RunAs" so that the other application should start with "Administrator" credentials.
My OS is Windows XP. (Do not bother about other operating system, as I have specific code in place)
The only problem with this thing is that the "Current User" comes preselected. I want it to be the "Following User" with Administrator selected.
How to do this?
I have SharePoint state machine work flow(Visual Studio 2008) , in specific state i create task .
when user finish this task he can upload document as attachment for this task
then work flow goto another state
in second state i create new task for another user which will see the previous attachments of last task
and i try to see the properties of SPWorkflowTaskProperties to read attachment but i didn't find any thing
If am writing a local app that will only run using a specific browser, am i setting my self up by slightly ignoring W3C's standards? I ask this question because in this app i am thinking of using custom HTML tags, custom attributes, etc...
Thanks in advance guys.
hi
is there any php classes or functions, which will gives us all the days from specific duration? for example, if i want a list of dates from 25/03/2010 (25th march 2010) to 15/05/2010 (15th May 2010), it will give me:
25/03/2010
26/03/2010
26/03/2010
....
....
....
14/05/2010
15/05/2010
thanks a lot for any help!
I have a webview and I want to manually switch to another tab during a specific event. The event is arbitray, but I can't figure out hwo to switch teh tab. On my other views, I have the following code:
self.tabBarController.selectedViewController = [self.tabBarController.viewControllers objectAtIndex:2];
However, this does not work in my custom UIWebView class. Is there a simple solution to this?
Thanks
When I create a new chart object via:
ChartFX.WebForms.Chart theChart = new ChartFX.WebForms.Chart();
When I took a look immediately the row after creation via breakpoint in Visual Studio 2005 I noticed there are 3 rows in the newly created chart that have data. Is this a bug? or do I need to call a specific function? Shouldn't the data table for the chart be initialized to all 0's?
Hi,
I'm getting ready to release my first application the marketplace. It's being written for devices running Android 1.5 and above, however there aren't any specific folders for the three different screen densities (I think those came around in 1.6). Should I make these folders myself? Where should I put image resources for the different densities and what should I put in my Manifest??
Where can I find a list of common medical drugs? Researching and typing 150+ drug names would be quite inefficient.
In general, are there any sites which have a list of items for developers to use in applications? For example, you can download dictionaries in specific formats (e.g. XML) for use in word games.
Hi, i'm programming a simple OpenGL program on a multi-core computer that has a GPU. The GPU is a simple GeForce with PhysX, CUDA and OpenGL 2.1 support. When i run this program, is the host CPU that executes OpenGL specific commands or the ones are directly transferred
to the GPU ???
Please throw in the core concepts of what every .NET developer should know about? I am asking here about concepts specific to .NET and not web developer in general... Maybe concepts that are most likely to be asked in interview? As a general web developer, javascript and css are definitely a must. Share your ideas here guys
Is it possible to simulate a click on a webpage using javascript but without defining a specific element, but rather just specifying the document?
I would have liked to do something like this, and if the location happens to have a link, then this will be pressed:
function simulateClick(x, y)
{
var evt = window.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window,
x, y, x, y, 1, false, false, false, false, 0, null);
window.dispatchEvent(evt);
}
Hello,
I have a maven pom.xml file with multiple instances of a same goal defined (inside with different s).
I'm wondering how I can run a specific goal via maven command line. I've tried mvn --help, but I couldn't find an entry regarding this.
I happened upon this in an NHibernate class definition:
public class SQLiteConfiguration : PersistenceConfiguration<SQLiteConfiguration>
So this class inherits from a base class that is parameterized by... the derived class? My head just exploded.
Can someone explain what this means and how this pattern is useful?
(This is NOT an NHibernate-specific question, by the way.)