I want to add a cookie so that I can exclude my interaction with my website from google analytics (I don't have access to put files on server as is third party application)
Is it possible to set a cookie with javascript by executing code in teh address bar of the browser?
Hi, I have a user with it's roles, it's an entitycollection. I have a ListBox that has all possible roles, and I have them like checkboxes, but I want to bind the IsChecked property of each one to check if the user has the role.
Something like IsChecked={Binding Roles.Contains}
but the prob is there are relations ships which are so huge that after normalizing they have like a 20 primary keys( composite keys) which are really foreign keys
but have to be declared as primary keys to identify the relationship uniquely. so please help? is it correct
and
i apologize to the expert community for not accepting answers, i was not aware that accepting is possible, the TICK MARK is that visible :-)
I want to use the connection string App.Config file. Also is it possible to use NHibernate connect to 2 databases (different connection strings) if so how?
Is there a technical limitation of what kind of programs I can write with assembler (NASM)?
For now I've only seem some program that do arithmetic operations, like adding two numbers.
Is it possible to write complex assembler programs, that provide a GUI, access the file system, plays sounds et cetera?
I know I wouldn't write such programs, but I'm curious, if there are technical limitations on what kind of programs I can write with assembler.
While, I'm reading gstreamer document I found this: "
Audioconvert converts raw audio buffers between various possible formats.
It supports integer to float conversion, width/depth conversion, signedness and endianness conversion and channel transformations."
I only understand
"depth" (bit number per sample)
"signedness and endianness" (for data representation)
And now, I'm looking for explanations of :
"integer to float conversion"
"width"
"channel transformations"
Thanks in advance
Is it possible to have Python save the .pyc files to a separate folder location that is in sys.path?
/code
foo.py
foo.pyc
bar.py
bar.pyc
To:
/code
foo.py
bar.py
/code_compiled
foo.pyc
bar.pyc
I would like this because I feel it'd be more organized. Thanks for any help you can give me.
Hi,
It's possible to know if a MySQL server is overloaded (with PHP), and if it's overloaded show a static page (something like Twitter's fail whale)? How can I do it?
Thanks!
I know this question is crazy - but my employers client is demanding that email verification be removed from the sign up process (they feel it is impeding sign up).
I wanted to garner feedback from the programming community at large as to their experience and opinions regarding sign up and email verification - and the possible consequences of removing this safeguard.
Using Ruby LDAP running on Linux, I can create a new Active Directory user account without a problem. Now I want to be rename a user account username. When I try to change the sAMAccountName, it doesn't work. Is it possible to change an AD user account using Ruby LDAP? If so, how?
hi guys,
i have an problem and error when include markerclusterer.js in my code..
when i run the program, the error below shown:
Microsoft JScript runtime error: 'GOverlay' is undefined
the error code is ClusterMarker_.prototype = new GOverlay();
it is happen on markerclusterer.js...
please help me if u know the solution...because it is important to me and i need the solution as fast as possible..
Is it possible to replace the following with a list comprehension?
res = []
for a, _, c in myList:
for i in c:
res.append((a, i))
For example:
# Input
myList = [("Foo", None, [1, 2, 3]), ("Bar", None, ["i", "j"])]
# Output
res = [("Foo", 1), ("Foo", 2), ("Foo", 3), ("Bar", "i"), ("Bar", "j")]
Is it possible to override Tomcat's embedded generator of JSESSIONID, to be able to create custom values of this cookie, based on user's login?
Why do I need this: I have a load balancer with "sticky sessions", configured to route requests with the same JSESSIONID to the same server, and I want to prevent situation, when same user can start two different sessions on different servers.
I wonder if it's possible to detect that the user has an external headset plugged into the iPhone's 3.5mm connector or the 30-pin connector. I want to output audio only to an external audio device, and keep silent if nothing is connected.
Ari.
Without using the private APIs, is it possible to programatically determine the MAC address of the access point that the iPhone is connected to?
I understand that this should be doable using the core BSD libraries, but we are new to this, so it would be great if someone can point us to some starter code.
Note: we're trying to determine the MAC address of the remote device - not the MAC address of the iPhone.
Ive got a project that has got an application.spark and a html.spark that contains all the masterpage markup. The views work fine, but I need to create an isolated page that has no relation at all with the masterpages. Is it possible or will I need to have another nested masterpage?
Thanks
I'm working with .NET (specifically Boo, but answers would work in C# too) and I want to know how I could create an editable box inside the command line, such that I could display a section of output in the top part of the command line, and have a one line box at the bottom for input, much like the program irssi (the IRC client) does.
I assume this is possible with .NET, how would I approach this?
If all that is used to do any and all database queries is MySQLi prepared statements with bound parameters in a web-app, is sql injection still possible?
Notes
I know that there are other forms of attack other than sql-injection, but my question is specific to sql-injection attacks on that particular web application only.
I want to write an insert query in Grails. I have tried all possible combinations but cant get the syntax correct. Can anybody please help?
class Person {
int age
int name
}
i tried the following:
Person.executeUpdate("insert into Person values (20,30)")
p.s.:Please do not mention using save()
How can I protect a ClickOnce deployed application with a password? Do I have to change the IIS settings of the web or is there a way to do it programmatically? I'm using Visual Studio 2005 (.NET 2.0).
If I have to use web credentials, are auto-updates of the application still possible?
Would be great if you could provide some sample code or detailed instructions for administering IIS.
Thank you!
Is it possible to run Jruby and native ruby on the same maschine ?
For example installing rake or gem under both it find's Matz Ruby extensions /usr/bin/gem or /usr/bin/rake
The MRI gems and jruby gems are mixed up.
Is there any experience in that constellation ?
Thanks erhard
I have an asp.net app that uses System.IO.Path.GetTempFileName() for temporary files. In the production IIS environment (W2K3), the temp folder (System.IO.Path.GetTempPath()) points to C:\Windows\Temp. But on my XP dev machine it's C:\documents and settings\machinename\ASPNET\temp.
Is it possible to change this folder without affecting other accounts on my machine?