I'm using a PKCS#11 usb device to create a SSLContext.
The project is migrating from an IAIK jce implementation to sun's, iaik provide a tokenmanager to detect when the token is removed, inserted, could not find a way to do this with sun implementation.
Any ideas?
Hi,
I create custom CMS sites and then go ahead for the backend/admin side. Is there any tool out there to automatically create admin side of my sites, for example, based on table relationships or whatever customization we may put in place.
PHPMaker seems to claim something like what i ask for but i have not used it. Any tool out there to auto-create admin side or PHPMaker is up to the point?
Thanks
Given a string named line whose raw version has this value:
\rRAWSTRING
how can I detect if it has the escape character \r? What I've tried is:
if repr(line).startswith('\r'):
blah...
but it doesn't catch it. I also tried find, such as:
if repr(line).find('\r') != -1:
blah
doesn't work either. What am I missing?
thx!
Hi,
I have so many println("") in my codes .. I know it is messy ... I want to put comment for each of the println("");
how to do that in VIM ? I mean I want to do that on multiple files.
Also if possible, can it detect whether the lines has // already or not ... if the lines has been commented .. I don't want to add new //
Is there any way to detect the contents height/width in the WebBrowser control? I'd like to save the contents to an image but only at the size of the actual contents.
Thank you in advance.
I have a MySQL database from which a view is created. Is is possible to add an auto-incrementing id for each row in the view?
I tried
CREATE ALGORITHM=UNDEFINED DEFINER=`database_name`@`%` SQL SECURITY DEFINER VIEW `MyView` AS
set @i = 0;
select @i:=@i+1 as `id`
...
but that doesn't work in a View.
Sorry, my SQL is weak, any help is appreciated.
Am looking for any recommendation for libraries that will allow me to auto orient images. My project is in C#. I am looking for either open source or commercial libraries.
I want to use these libraries on either documents that are scanned or faxed as such my images will be lacking of EXIF data
Is there a way to detect just 2 distinct touches? I just want to track the touches for my two buttons, which is a sprite, but whenever I have another touch other than my first two touches, it affects my touch with my button. Is there a way to get rid of that third touch?
I wish you could help me with this problem.Thank You!
I've created a custom control that subclasses TreeView. Right now it's completely empty, doesn't override anything. However when I place an instance in the designer the 'Auto' value for the Width and Height fields is no longer available as it is with the default TreeView. What am I missing?
Hi,
I have to implement auto-logout functionality in one of my projects and i just cant figure out where to start looking for ideas but SO.
What i need is for the application to redirect the user to the login page if the user session has expired.
Please tell me as to what should be my approach to tackle this requirement.
Problem Statement:
If the user leaves the system for more than n minutes in any given log-in instance, the system should automatically log them off.
Coming from a Visual Studio background...
How do I tell Eclipse that it should auto save when ever I build rather than ask each time.
VS.NET has it under "Options", but I can't find it in Eclipse.
I use a Mac.
Hoe can I detect the main class of my application? The one, which is either given on the command line or loaded from the jar given at the command line?
If this is not possible, why not?
Hello,
I have an HTML textarea element. I want to prevent a user from entering any HTML tags in this area. How do I detect if a user has entered any HTML a textarea with JavaScript?
Thank you
I'm trying to write a code that can run on Android 1.5 and 2.0.1, but I have issues with the javascript engine used on Android 1.5.
alert(localStorage); just hang on v1.5 while on v2.0.1 it alerts correctly.
is there an unblocking way to do it or to detect the version of Android with javascript?
According to the Eclipse documentation TreeViewer.setAutoExpandLevel(3) means that top-level elements are expanded, and their children, but not grandchildren.
I used that in my code, but after setting the input the tree is not auto-expanded, neither on OS X nor on Linux. Expanding the tree manually (via mouse) works flawlessly. Am I missing anything?
Is there a third party library to detect the use of a Java 1.5 library when compiling with a 1.5 compiler with -source 1.4 and -target 1.4? I could use a 1.4 rt.jar in the bootclasspath however I hope there is a better way. To be used, for example, to fail the compile/build if a newer library is used.
How to detect an event coming from the Firefox history dropdown box?
I need to distinguish between the enter key simply pressed on input field or on item from his native history dropdown box.
The reason is that I would like to call custom submit button (not first one, which is default) on the enter key pressed on any input field. But right now, the enter key pressed on history dropdown box unfortunately call submit as well.
I have the following class
public class MyClass {
private int myAttr;
public void setAttr(int a) {
myAttr = a;
Thread.dumpStack();
}
}
That way I can detect any attempt to modify myAttr. Well, almost any. It does not work when someone modifies myAttr using Field.set() method. How can I trap Java reflection usage?
Is there a GetLastInputInfo() equivalent that can be used in Linux?
The intention is to detect the last input time (keyboard or mouse) of the user.
Am using python to script the program.
I'm working on some Javascript that makes use of Firefox 3.5's ability to perform cross-domain XMLHttpRequests… But I'd like to fail gracefully if they aren't supported.
Apart from actually making a cross-domain request, is there any way to detect a browser's support for them?